Look up a block index entry by hash.
Declared in <node/blockstorage.h>
Look up a block index entry by hash.
CBlockIndex*
LookupBlockIndex(uint256 const& hash);
» more...
Look up a block index entry by hash.
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. |