[#ChainstateManager-m_best_invalid]
= xref:ChainstateManager.adoc[ChainstateManager]::m&lowbar;best&lowbar;invalid
:relfileprefix: ../
:mrdocs:

Best known invalid block, tracked to detect a longer invalid chain than the valid one&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;guarded&lowbar;by(0x7f2e1bc169b8), guarded&lowbar;by(0x7f2e146b4d08), guarded&lowbar;by(0x7f2e298fa0d8), guarded&lowbar;by(0x7f2e360b7838)&rsqb;&rsqb;
xref:CBlockIndex.adoc[CBlockIndex]* m&lowbar;best&lowbar;invalid = &lcub;nullptr&rcub;;
----


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