mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Refactor: CTxMempool class to its own txmempool.{cpp,h}
This commit is contained in:
parent
39b4f0d7dd
commit
319b11607f
11 changed files with 319 additions and 248 deletions
|
|
@ -106,7 +106,7 @@ void Shutdown()
|
|||
if (!lockShutdown) return;
|
||||
|
||||
RenameThread("bitcoin-shutoff");
|
||||
nTransactionsUpdated++;
|
||||
mempool.AddTransactionsUpdated(1);
|
||||
StopRPCThreads();
|
||||
ShutdownRPCMining();
|
||||
if (pwalletMain)
|
||||
|
|
@ -478,7 +478,7 @@ bool AppInit2(boost::thread_group& threadGroup)
|
|||
InitWarning(_("Warning: Deprecated argument -debugnet ignored, use -debug=net"));
|
||||
|
||||
fBenchmark = GetBoolArg("-benchmark", false);
|
||||
mempool.fChecks = GetBoolArg("-checkmempool", RegTest());
|
||||
mempool.setSanityCheck(GetBoolArg("-checkmempool", RegTest()));
|
||||
Checkpoints::fEnabled = GetBoolArg("-checkpoints", true);
|
||||
|
||||
// -par=0 means autodetect, but nScriptCheckThreads==0 means no concurrency
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue