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

Look up a block index entry by hash&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1b099248), requires&lowbar;capability(0x7f2e26d1a9a8), requires&lowbar;capability(0x7f2e375e0a88), requires&lowbar;capability(0x7f2e33367e48), requires&lowbar;capability(0x7f2e3542ee38), requires&lowbar;capability(0x7f2e28a73998)&rsqb;&rsqb;
xref:CBlockIndex.adoc[CBlockIndex] const*
LookupBlockIndex(xref:uint256.adoc[uint256] const& hash) const;
----

== Return Value

The block index entry, or nullptr if the hash is unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hash*
| The block hash to look up&period;
|===


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