[#node-BlockManager-LookupBlockIndex-06] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::LookupBlockIndex :relfileprefix: ../../ :mrdocs: Look up a block index entry by hash. == Synopsis Declared in `<node/blockstorage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37af16ab8), requires_capability(0x7ff376b83a98), requires_capability(0x7ff37ded1688), requires_capability(0x7ff36c6168a8), requires_capability(0x7ff37c49a708), requires_capability(0x7ff39283d108)]] 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. == Parameters [cols="1,4"] |=== | Name| Description | *hash* | The block hash to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#