mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge 12aa2ac988 into merged_master (Bitcoin PR #15323)
This commit is contained in:
commit
cf22dd0930
8 changed files with 49 additions and 27 deletions
|
|
@ -247,8 +247,8 @@ void Shutdown(InitInterfaces& interfaces)
|
|||
g_txindex.reset();
|
||||
DestroyAllBlockFilterIndexes();
|
||||
|
||||
if (g_is_mempool_loaded && gArgs.GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
|
||||
DumpMempool();
|
||||
if (::mempool.IsLoaded() && gArgs.GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
|
||||
DumpMempool(::mempool);
|
||||
}
|
||||
|
||||
if (fFeeEstimatesInitialized)
|
||||
|
|
@ -783,9 +783,9 @@ static void ThreadImport(std::vector<fs::path> vImportFiles)
|
|||
}
|
||||
} // End scope of CImportingNow
|
||||
if (gArgs.GetArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)) {
|
||||
LoadMempool();
|
||||
LoadMempool(::mempool);
|
||||
}
|
||||
g_is_mempool_loaded = !ShutdownRequested();
|
||||
::mempool.SetIsLoaded(!ShutdownRequested());
|
||||
}
|
||||
|
||||
/** Sanity checks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue