diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-30 23:53:38 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-10-31 00:10:36 -0700 |
commit | 3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch) | |
tree | 44ef06335547c3314542061669a18ebe7bef29c4 /src/init.cpp | |
parent | ced7c949e8648b727c05adccdc2a977f129ca2cd (diff) |
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 84b0108ea8..efaf821f4f 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 |