From f5809d5b135c7f9de5217d3cda76638fe7eed58a Mon Sep 17 00:00:00 2001 From: James O'Beirne Date: Fri, 29 Mar 2019 14:09:00 -0400 Subject: doc: fix CChainState::ActivateBestChain doc --- src/validation.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/validation.h') diff --git a/src/validation.h b/src/validation.h index 06252b6bc8..e3ef051115 100644 --- a/src/validation.h +++ b/src/validation.h @@ -678,9 +678,13 @@ public: * we avoid holding cs_main for an extended period of time; the length of this * call may be quite long during reindexing or a substantial reorg. * + * May not be called with cs_main held. May not be called in a + * validationinterface callback. + * * @returns true unless a system error occurred */ - bool ActivateBestChain(CValidationState& state, + bool ActivateBestChain( + CValidationState& state, const CChainParams& chainparams, std::shared_ptr pblock) LOCKS_EXCLUDED(cs_main); -- cgit v1.2.3