Look up a block index entry by hash.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7ff37af16a18), requires_capability(0x7ff376b839f8), requires_capability(0x7ff37ded15e8), requires_capability(0x7ff36c616808), requires_capability(0x7ff37c49a668), requires_capability(0x7ff39283d068)]]
CBlockIndex*
LookupBlockIndex(uint256 const& hash);
Return Value
The block index entry, or nullptr if the hash is unknown.
Parameters
Name |
Description |
hash |
The block hash to look up. |
Created with MrDocs