Mark a block as precious and reorganize.
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);
May not be called in a validationinterface callback.
true unless a system error occurred.
| Name | Description |
|---|---|
| state | Validation state updated with the reason for any failure. |
| pindex | Block index entry of the block to mark as precious. |