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

The set of all CBlockIndex entries that have as much work as our current tip or more, and transaction data needed to be validated (with BLOCK&lowbar;VALID&lowbar;TRANSACTIONS for each block and its parents back to the genesis block or an assumeutxo snapshot block)&period; Entries may be failed, though, and pruning nodes may be missing the data for the block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::set&lt;CBlockIndex*, node::CBlockIndexWorkComparator&gt; setBlockIndexCandidates;
----


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