Record that a block was found to be invalid and update fork-warning state.
Declared in <validation.h>
[[requires_capability(0x7fbc8fb673c0), requires_capability(0x7fbc96bffa30), requires_capability(0x7fbcaf5d6e40), requires_capability(0x7fbc9e0dd610)]]
void
InvalidBlockFound(
CBlockIndex* pindex,
BlockValidationState const& state);
| Name | Description |
|---|---|
| pindex | Block index entry of the invalid block. |
| state | Validation state describing why the block is invalid. |