Look up a block index entry by hash.
Declared in <node/blockstorage.h>
<node/blockstorage.h>
CBlockIndex* LookupBlockIndex(uint256 const& hash);
The block index entry, or nullptr if the hash is unknown.