Mark a block as invalid.
Synopsis
Declared in <validation.h>
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