Create a new block index entry for a given block hash
Declared in <node/blockstorage.h>
[[requires_capability(0x7fd7532b04f8), requires_capability(0x7fd74e9c7448), requires_capability(0x7fd75a26b198), requires_capability(0x7fd74f16e618), requires_capability(0x7fd74a00dcb8), requires_capability(0x7fd7532655c8)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);
The new or existing block index entry for hash.
| Name | Description |
|---|---|
| hash | The block hash to insert. |