diff options
| author | Pieter Wuille <[email protected]> | 2016-10-30 23:53:38 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-10-31 00:10:36 -0700 |
| commit | 3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch) | |
| tree | 44ef06335547c3314542061669a18ebe7bef29c4 /src/init.cpp | |
| parent | Add AcceptToMemoryPoolWithTime function (diff) | |
| download | discoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.tar.xz discoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.zip | |
Add DumpMempool and LoadMempool
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 84b0108ea..efaf821f4 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -207,6 +207,7 @@ void Shutdown() StopTorControl(); UnregisterNodeSignals(GetNodeSignals()); + DumpMempool(); if (fFeeEstimatesInitialized) { @@ -659,6 +660,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles) LogPrintf("Stopping after block import\n"); StartShutdown(); } + + LoadMempool(); } /** Sanity checks |