Mark a block as invalid.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7fd753c9be68), locks_excluded(0x7fd753c9bf38), requires_capability(0x7fd74db5d938), locks_excluded(0x7fd74db5da08), requires_capability(0x7fd74ab5f958), locks_excluded(0x7fd74ab5fa28), requires_capability(0x7fd73ea7a818), locks_excluded(0x7fd73ea7a8e8)]]
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