Create a new block index entry for a given block hash
Declared in <node/blockstorage.h>
[[requires_capability(0x7f2e1b099068), requires_capability(0x7f2e26d1a7c8), requires_capability(0x7f2e375e08a8), requires_capability(0x7f2e33367c68), requires_capability(0x7f2e3542ec58), requires_capability(0x7f2e28a737b8)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);
The new or existing block index entry for hash.
| Name | Description |
|---|---|
| hash | The block hash to insert. |