Look up a block index entry by hash.
Synopsis
Declared in <node/blockstorage.h>
[[requires_capability(0x7fbc8f17af88), requires_capability(0x7fbca3f044b8), requires_capability(0x7fbcace16708), requires_capability(0x7fbca6c58378), requires_capability(0x7fbcad35fb18), requires_capability(0x7fbc9fba18d8)]]
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