Mark a block as precious and reorganize.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb663c0), locks_excluded(0x7fbc8fb66498), requires_capability(0x7fbc96bfea30), locks_excluded(0x7fbc96bfeb08), requires_capability(0x7fbcaf5d5e40), locks_excluded(0x7fbcaf5d5f18), requires_capability(0x7fbc9e0dc610), locks_excluded(0x7fbc9e0dc6e8)]]
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. |