aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-10-30 23:53:38 -0700
committerPieter Wuille <[email protected]>2016-10-31 00:10:36 -0700
commit3f78562df5e86a2a0a21812047fc3a7db8cee988 (patch)
tree44ef06335547c3314542061669a18ebe7bef29c4 /src/init.cpp
parentAdd AcceptToMemoryPoolWithTime function (diff)
downloaddiscoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.tar.xz
discoin-3f78562df5e86a2a0a21812047fc3a7db8cee988.zip
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 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