Look up a block index entry by hash.
Declared in <node/blockstorage.h>
[[requires_capability(0x7f95130c91f8), requires_capability(0x7f950163c4e8), requires_capability(0x7f95241d94d8), requires_capability(0x7f951f3307d8), requires_capability(0x7f950b9c2798), requires_capability(0x7f95175c4ee8)]]
CBlockIndex*
LookupBlockIndex(uint256 const& hash);
The block index entry, or nullptr if the hash is unknown.
| Name | Description |
|---|---|
| hash | The block hash to look up. |