mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Add DumpMempool and LoadMempool
This commit is contained in:
parent
ced7c949e8
commit
3f78562df5
3 changed files with 122 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue