Mark a block as precious and reorganize.
Declared in <validation.h>
[[requires_capability(0x7ff37b9023a0), locks_excluded(0x7ff37b902478), requires_capability(0x7ff375c48fb0), locks_excluded(0x7ff375c49088), requires_capability(0x7ff37e053e20), locks_excluded(0x7ff37e053ef8), requires_capability(0x7ff375934d80), locks_excluded(0x7ff375934e58)]]
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. |