Look up a block index entry by hash.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7fd7532b0638), requires_capability(0x7fd74e9c7588), requires_capability(0x7fd75a26b2d8), requires_capability(0x7fd74f16e758), requires_capability(0x7fd74a00ddf8), requires_capability(0x7fd753265708)]]
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