Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { ParentHash common.Hash `json:"parentHash" gencodec:"required"` Hash common.Hash `json:"hash" gencodec:"required"` Number *big.Int `json:"number" gencodec:"required"` Time uint64 `json:"timestamp" gencodec:"required"` Root common.Hash `json:"stateRoot" gencodec:"required"` ReceiptHash common.Hash `json:"receiptsRoot" gencodec:"required"` Bloom types.Bloom `json:"logsBloom" gencodec:"required"` GasUsed uint64 `json:"gasUsed" gencodec:"required"` }
Header represents a block header in Mive.
func CopyHeader ¶
CopyHeader creates a deep copy of a block header.
type Tx ¶
type Tx struct { Gas uint64 // gas limit To *common.Address `rlp:"nil"` // nil means contract creation Value *big.Int // wei amount Data []byte // contract invocation input data AccessList types.AccessList // EIP-2930 access list }
Tx represents a Mive transaction.
Click to show internal directories.
Click to hide internal directories.