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

Populate the candidate set by calling TryAddBlockIndexCandidate on all valid block indices&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513ab5188), requires&lowbar;capability(0x7f9502c981f8), requires&lowbar;capability(0x7f9525449f28), requires&lowbar;capability(0x7f9517400208)&rsqb;&rsqb;
void
PopulateBlockIndexCandidates();
----


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