We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f18a906 commit f5809d5Copy full SHA for f5809d5
src/validation.h
@@ -678,9 +678,13 @@ class CChainState {
678
* we avoid holding cs_main for an extended period of time; the length of this
679
* call may be quite long during reindexing or a substantial reorg.
680
*
681
+ * May not be called with cs_main held. May not be called in a
682
+ * validationinterface callback.
683
+ *
684
* @returns true unless a system error occurred
685
*/
- bool ActivateBestChain(CValidationState& state,
686
+ bool ActivateBestChain(
687
+ CValidationState& state,
688
const CChainParams& chainparams,
689
std::shared_ptr<const CBlock> pblock) LOCKS_EXCLUDED(cs_main);
690
0 commit comments