Trivial: s/SetBestChain/ChainStateFlushed in comments after #13106

This commit is contained in:
Russell Yanofsky committed 2018-05-02 10:02:48 -04:00
1 parent 598db389c3
commit 21f5680553
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ public:
// Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081). // Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081).
1516903077, // * UNIX timestamp of last known number of transactions 1516903077, // * UNIX timestamp of last known number of transactions
295363220, // * total number of transactions between genesis and that timestamp 295363220, // * total number of transactions between genesis and that timestamp
// (the tx=... number in the SetBestChain debug.log lines) // (the tx=... number in the ChainStateFlushed debug.log lines)
3.5 // * estimated number of transactions per second after that timestamp 3.5 // * estimated number of transactions per second after that timestamp
}; };
+1 -1
View File
@@ -242,7 +242,7 @@ void Shutdown()
fFeeEstimatesInitialized = false; fFeeEstimatesInitialized = false;
} }
// FlushStateToDisk generates a SetBestChain callback, which we should avoid missing // FlushStateToDisk generates a ChainStateFlushed callback, which we should avoid missing
if (pcoinsTip != nullptr) { if (pcoinsTip != nullptr) {
FlushStateToDisk(); FlushStateToDisk();
} }