Look up a block index entry by hash.
Declared in <node/blockstorage.h>
Look up a block index entry by hash.
[[requires_capability(0x7fd7532b0638), requires_capability(0x7fd74e9c7588), requires_capability(0x7fd75a26b2d8), requires_capability(0x7fd74f16e758), requires_capability(0x7fd74a00ddf8), requires_capability(0x7fd753265708)]]
CBlockIndex*
LookupBlockIndex(uint256 const& hash);
» more...
Look up a block index entry by hash.
[[requires_capability(0x7fd7532b06d8), requires_capability(0x7fd74e9c7628), requires_capability(0x7fd75a26b378), requires_capability(0x7fd74f16e7f8), requires_capability(0x7fd74a00de98), requires_capability(0x7fd7532657a8)]]
CBlockIndex const*
LookupBlockIndex(uint256 const& hash) const;
» more...
The block index entry, or nullptr if the hash is unknown.
| Name | Description |
|---|---|
| hash | The block hash to look up. |