Mark a block as invalid.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fb95fa38628), locks_excluded(0x7fb95fa386f8), requires_capability(0x7fb96ac5f588), locks_excluded(0x7fb96ac5f658), requires_capability(0x7fb96e9d5da8), locks_excluded(0x7fb96e9d5e78), requires_capability(0x7fb98748b418), locks_excluded(0x7fb98748b4e8)]]
bool
InvalidateBlock(
BlockValidationState& state,
CBlockIndex* pindex);
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 invalid. |
Created with MrDocs