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

Best header we&apos;ve seen so far for which the block is not known to be invalid (used, among others, for getheaders queries&apos; starting points)&period; In case of multiple best headers with the same work, it could point to any because CBlockIndexWorkComparator tiebreaker rules are not applied&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;guarded&lowbar;by(0x7f2e1bc16cb8), guarded&lowbar;by(0x7f2e146b5008), guarded&lowbar;by(0x7f2e298fa3d8), guarded&lowbar;by(0x7f2e360b7b38)&rsqb;&rsqb;
xref:CBlockIndex.adoc[CBlockIndex]* m&lowbar;best&lowbar;header = &lcub;nullptr&rcub;;
----


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