Mark a block as precious and reorganize.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fd753c9bc80), locks_excluded(0x7fd753c9bd58), requires_capability(0x7fd74db5d750), locks_excluded(0x7fd74db5d828), requires_capability(0x7fd74ab5f770), locks_excluded(0x7fd74ab5f848), requires_capability(0x7fd73ea7a630), locks_excluded(0x7fd73ea7a708)]]
bool
PreciousBlock(
BlockValidationState& state,
CBlockIndex* pindex);
Description
May not be called in a validationinterface callback.
Return Value
true unless a system error occurred.
Parameters
Name |
Description |
state |
Validation state updated with the reason for any failure. |
pindex |
Block index entry of the block to mark as precious. |
Created with MrDocs