Block data sent with blockConnected, blockDisconnected notifications.
Synopsis
Declared in <kernel/chain.h>
struct BlockInfo;
Member Functions
Name |
Description |
|
Constructs a BlockInfo referring to the given block hash. |
Data Members
Name |
Description |
Maximum block time in the chain up to and including this block. |
|
Pointer to the block contents, or null when not loaded. |
|
Byte offset of the block data within its block file. |
|
Index of the block file on disk that stores this block. |
|
Hash of this block. |
|
Height of this block in the active chain. |
|
Hash of the previous block, or null for the genesis block. |
|
Pointer to the block undo data, or null when not loaded. |
Non-Member Functions
Name |
Description |
Builds block metadata from a block index entry. |
Created with MrDocs