mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
doc: fix CChainState::ActivateBestChain doc
This commit is contained in:
parent
f18a9065e9
commit
f5809d5b13
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue