Chainstate::InvalidBlockFound

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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1ba85750), requires_capability(0x7f2e145653a0), requires_capability(0x7f2e373be550), requires_capability(0x7f2e36e351a0)]]
void
InvalidBlockFound(
    CBlockIndex* pindex,
    BlockValidationState const& state);

Parameters

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