Mark a block as invalid.
Declared in <validation.h>
bool
InvalidateBlock(
BlockValidationState& state,
CBlockIndex* pindex);
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 invalid. |