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

21f5680 Trivial: s/SetBestChain/ChainStateFlushed in comments after #13106 (Russell Yanofsky)

Pull request description:

Tree-SHA512: 373896dd73c3ba202739433b22320a4b7ea6dc80ef84547b4ed72c7ae0d6746b109c8b1879359c43374d1816fe384cc31b24b87879ddefe993887140c2f0df9c
This commit is contained in:
Wladimir J. van der Laan 2018-05-03 12:38:00 +02:00 committed by UdjinM6
parent 56bd5aea1b
commit 732697586f
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9
2 changed files with 3 additions and 3 deletions

View File

@ -523,7 +523,7 @@ public:
chainTxData = ChainTxData{
1617874573, // * UNIX timestamp of last known number of transactions (Block 1450962)
34709765, // * 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)
0.3 // * estimated number of transactions per second after that timestamp
};
}
@ -703,7 +703,7 @@ public:
chainTxData = ChainTxData{
1617874832, // * UNIX timestamp of last known number of transactions (Block 477483)
4926985, // * 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)
0.01 // * estimated number of transactions per second after that timestamp
};

View File

@ -312,7 +312,7 @@ void PrepareShutdown()
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) {
FlushStateToDisk();
}