Block Model
An introduction and overview of the VeChainThor blockchain block model.
// block.go
type Block struct {
header *Header
txs tx.Transactions
}
type Header struct {
body headerBody
}
type headerBody struct {
ParentID thor.Bytes32
Timestamp uint64
GasLimit uint64
Beneficiary thor.Address
GasUsed uint64
BaseFee *big.Int
TotalScore uint64
TxsRoot thor.Bytes32
StateRoot thor.Bytes32
ReceiptsRoot thor.Bytes32
Signature []byte
Alpha []byte
COM bool
}
type Transactions []*Transaction
Last updated
Was this helpful?