[#node-BlockManager-LoadBlockIndexDB]
= xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::LoadBlockIndexDB
:relfileprefix: ../../
:mrdocs:

Load the block index from the database into memory&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b098e48), requires&lowbar;capability(0x7f2e26d1a5a8), requires&lowbar;capability(0x7f2e375e0688), requires&lowbar;capability(0x7f2e33367a48), requires&lowbar;capability(0x7f2e3542ea38), requires&lowbar;capability(0x7f2e28a73598)&rsqb;&rsqb;
bool
LoadBlockIndexDB(std::optional&lt;uint256&gt; const& snapshot&lowbar;blockhash);
----

== Return Value

True on success, false if the index could not be loaded&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *snapshot&lowbar;blockhash*
| Base block hash of an assumeutxo snapshot, if one is loaded&period;
|===


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