[#node-BlockManager-LookupBlockIndex-05] = xref:node.adoc[node]::xref:node/BlockManager.adoc[BlockManager]::LookupBlockIndex :relfileprefix: ../../ :mrdocs: Look up a block index entry by hash. == Synopses Declared in `<node/blockstorage.h>` Look up a block index entry by hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7ff37af16a18), requires_capability(0x7ff376b839f8), requires_capability(0x7ff37ded15e8), requires_capability(0x7ff36c616808), requires_capability(0x7ff37c49a668), requires_capability(0x7ff39283d068)]] xref:CBlockIndex.adoc[CBlockIndex]* xref:node/BlockManager/LookupBlockIndex-02.adoc[LookupBlockIndex](xref:uint256.adoc[uint256] const& hash); ---- [.small]#xref:node/BlockManager/LookupBlockIndex-02.adoc[_» more..._]# Look up a block index entry by hash. [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* xref:node/BlockManager/LookupBlockIndex-06.adoc[LookupBlockIndex](xref:uint256.adoc[uint256] const& hash) const; ---- [.small]#xref:node/BlockManager/LookupBlockIndex-06.adoc[_» more..._]# == 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]#