Add DumpMempool and LoadMempool

This commit is contained in:
Pieter Wuille
2016-10-30 23:53:38 -07:00
parent ced7c949e8
commit 3f78562df5
3 changed files with 122 additions and 0 deletions

View File

@@ -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