Skip to content

Commit f5809d5

Browse files
committed
doc: fix CChainState::ActivateBestChain doc
1 parent f18a906 commit f5809d5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/validation.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,13 @@ class CChainState {
678678
* we avoid holding cs_main for an extended period of time; the length of this
679679
* call may be quite long during reindexing or a substantial reorg.
680680
*
681+
* May not be called with cs_main held. May not be called in a
682+
* validationinterface callback.
683+
*
681684
* @returns true unless a system error occurred
682685
*/
683-
bool ActivateBestChain(CValidationState& state,
686+
bool ActivateBestChain(
687+
CValidationState& state,
684688
const CChainParams& chainparams,
685689
std::shared_ptr<const CBlock> pblock) LOCKS_EXCLUDED(cs_main);
686690

0 commit comments

Comments
 (0)