[#Chainstate-InvalidBlockFound] = xref:Chainstate.adoc[Chainstate]::InvalidBlockFound :relfileprefix: ../ :mrdocs: Record that a block was found to be invalid and update fork‐warning state. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f9513ab5ae0), requires_capability(0x7f9502c98b50), requires_capability(0x7f952544a880), requires_capability(0x7f9517400b60)]] void InvalidBlockFound( xref:CBlockIndex.adoc[CBlockIndex]* pindex, xref:BlockValidationState.adoc[BlockValidationState] const& state); ---- == Parameters [cols="1,4"] |=== | Name| Description | *pindex* | Block index entry of the invalid block. | *state* | Validation state describing why the block is invalid. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#