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

Find the candidate block index entry with the most work&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513ab5b88), requires&lowbar;capability(0x7f9502c98bf8), requires&lowbar;capability(0x7f952544a928), requires&lowbar;capability(0x7f9517400c08)&rsqb;&rsqb;
xref:CBlockIndex.adoc[CBlockIndex]*
FindMostWorkChain();
----

== Return Value

The most&hyphen;work candidate block index entry, or nullptr if none qualifies&period;


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