Chainstate::InvalidBlockFound

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

Synopsis

Declared in <validation.h>

void
InvalidBlockFound(
    CBlockIndex* pindex,
    BlockValidationState const& state);

Parameters

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