Skip to content

Commit

Permalink
Trivial: s/SetBestChain/ChainStateFlushed in comments after bitcoin#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanofsky committed May 2, 2018
1 parent 598db38 commit 21f5680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chainparams.cpp
Expand Up @@ -173,7 +173,7 @@ class CMainParams : public CChainParams {
// Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081).
1516903077, // * UNIX timestamp of last known number of transactions
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
};

Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Expand Up @@ -242,7 +242,7 @@ void Shutdown()
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();
}
Expand Down

0 comments on commit 21f5680

Please sign in to comment.