Block Model
An introduction and overview of the VeChainThor blockchain block model.
VeChainThor defines a block in Golang as:
ParentID
- the ID of the parent block.Timestamp
- the block timeGasLimit
- the maximum amount of gas that all transactions inside the block are allowed to consumeBeneficiary
- the address assigned by the block generator to receive reward (in VTHO)GasUsed
- the actual amount of gas used within the blockTxsRoot
- root hash of the transaction in the payloadStateRoot
- root hash for the global state after applying changes in this blockReceiptsRoot
- hash of the transaction receipts trieSignature
- signature of block builder
The block ID (thor.Bytes32
) can be computed as:
Last updated