Look up a block index entry by hash.
Synopses
Declared in <node/blockstorage.h>
Look up a block index entry by hash.
[[requires_capability(0x7f95130c91f8), requires_capability(0x7f950163c4e8), requires_capability(0x7f95241d94d8), requires_capability(0x7f951f3307d8), requires_capability(0x7f950b9c2798), requires_capability(0x7f95175c4ee8)]]
CBlockIndex*
LookupBlockIndex(uint256 const& hash);
Look up a block index entry by hash.
[[requires_capability(0x7f95130c9298), requires_capability(0x7f950163c588), requires_capability(0x7f95241d9578), requires_capability(0x7f951f330878), requires_capability(0x7f950b9c2838), requires_capability(0x7f95175c4f88)]]
CBlockIndex const*
LookupBlockIndex(uint256 const& hash) const;
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