aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-10-30 23:53:38 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2016-10-31 00:10:36 -0700
commit3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch)
tree44ef06335547c3314542061669a18ebe7bef29c4 /src/init.cpp
parentced7c949e8648b727c05adccdc2a977f129ca2cd (diff)
Add DumpMempool and LoadMempool
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
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