[#Chainstate-InvalidChainFound]
= xref:Chainstate.adoc[Chainstate]::InvalidChainFound
:relfileprefix: ../
:mrdocs:

Record that an invalid chain was found and update the best&hyphen;invalid tracking&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513ab5d68), requires&lowbar;capability(0x7f9502c98dd8), requires&lowbar;capability(0x7f952544ab08), requires&lowbar;capability(0x7f9517400de8)&rsqb;&rsqb;
void
InvalidChainFound(xref:CBlockIndex.adoc[CBlockIndex]* pindexNew);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindexNew*
| Block index entry of the tip of the invalid chain&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
