Chainstate::InvalidBlockFound

Record that a block was found to be invalid and update fork-warning state.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fbc8fb673c0), requires_capability(0x7fbc96bffa30), requires_capability(0x7fbcaf5d6e40), requires_capability(0x7fbc9e0dd610)]]
void
InvalidBlockFound(
    CBlockIndex* pindex,
    BlockValidationState const& state);

Parameters

NameDescription
pindexBlock index entry of the invalid block.
stateValidation state describing why the block is invalid.