mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 14:14:00 +01:00
Add DumpMempool and LoadMempool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user