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

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fd753c9cc80), requires_capability(0x7fd74db5e750), requires_capability(0x7fd74ab60770), requires_capability(0x7fd73ea7b630)]]
void
InvalidBlockFound(
    CBlockIndex* pindex,
    BlockValidationState const& state);

Parameters

Name

Description

pindex

Block index entry of the invalid block.

state

Validation state describing why the block is invalid.

Created with MrDocs