Block data sent with blockConnected, blockDisconnected notifications.
Declared in <kernel/chain.h>
struct BlockInfo;
| Name | Description |
|---|---|
BlockInfo [constructor] | Constructs a BlockInfo referring to the given block hash. |
| Name | Description |
|---|---|
chain_time_max | Maximum block time in the chain up to and including this block. |
data | Pointer to the block contents, or null when not loaded. |
data_pos | Byte offset of the block data within its block file. |
file_number | Index of the block file on disk that stores this block. |
hash | Hash of this block. |
height | Height of this block in the active chain. |
prev_hash | Hash of the previous block, or null for the genesis block. |
undo_data | Pointer to the block undo data, or null when not loaded. |
| Name | Description |
|---|---|
::kernel::MakeBlockInfo | Builds block metadata from a block index entry. |