mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Refactor: CTxMempool class to its own txmempool.{cpp,h}
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user