[#ChainstateManager-nLastPreciousChainwork]
= xref:ChainstateManager.adoc[ChainstateManager]::nLastPreciousChainwork
:relfileprefix: ../
:mrdocs:

chainwork for the last block that preciousblock has been applied to&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:arith_uint256.adoc[arith&lowbar;uint256] nLastPreciousChainwork = 0;
----


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