[#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(0x7f2e1b099248), requires_capability(0x7f2e26d1a9a8), requires_capability(0x7f2e375e0a88), requires_capability(0x7f2e33367e48), requires_capability(0x7f2e3542ee38), requires_capability(0x7f2e28a73998)]] 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]#