[#Chainstate-m_target_blockhash]
= xref:Chainstate.adoc[Chainstate]::m&lowbar;target&lowbar;blockhash
:relfileprefix: ../
:mrdocs:

Target block for this chainstate&period; If this is not set, chainstate will target the most&hyphen;work, valid block&period; If this is set, ChainstateManager considers this a &quot;historical&quot; chainstate since it will only contain old blocks up to the target block, not newer blocks&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;guarded&lowbar;by(0x7f2e1ba83988), guarded&lowbar;by(0x7f2e145635d8), guarded&lowbar;by(0x7f2e373bc788), guarded&lowbar;by(0x7f2e36e333d8)&rsqb;&rsqb;
std::optional&lt;uint256&gt; m&lowbar;target&lowbar;blockhash;
----


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