diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2019-03-29 14:09:00 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2019-09-17 09:45:38 -0400 |
commit | f5809d5b135c7f9de5217d3cda76638fe7eed58a (patch) | |
tree | c2712ff20096a3bf923532bc30e6d42e6cb6d64b /src | |
parent | f18a9065e91163b0238fc005d693b0d961116855 (diff) |
doc: fix CChainState::ActivateBestChain doc
Diffstat (limited to 'src')
-rw-r--r-- | src/validation.h | 6 |
1 files changed, 5 insertions, 1 deletions
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<const CBlock> pblock) LOCKS_EXCLUDED(cs_main); |