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

Load the block tree and coins database from disk, initializing state if we&apos;re running with &hyphen;reindex

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1bc17bd8), requires&lowbar;capability(0x7f2e146b5f28), requires&lowbar;capability(0x7f2e298fb2f8), requires&lowbar;capability(0x7f2e360b8a58)&rsqb;&rsqb;
bool
LoadBlockIndex();
----

== Return Value

true if the block index was loaded successfully&period;


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