Create a new block index entry for a given block hash
Declared in <node/blockstorage.h>
[[requires_capability(0x7f95130c90b8), requires_capability(0x7f950163c3a8), requires_capability(0x7f95241d9398), requires_capability(0x7f951f330698), requires_capability(0x7f950b9c2658), requires_capability(0x7f95175c4da8)]]
CBlockIndex*
InsertBlockIndex(uint256 const& hash);
The new or existing block index entry for hash.
| Name | Description |
|---|---|
| hash | The block hash to insert. |