Documentation
¶
Overview ¶
Package extheader provides Lux-specific header extensions This wrapper allows us to add Lux-specific fields while maintaining compatibility with upstream ethereum types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
*ethTypes.Header // pointer-embed → no data copy
ExtDataHash common.Hash `json:"extDataHash" gencodec:"required"`
ExtDataGasUsed *big.Int `json:"extDataGasUsed" rlp:"optional"`
BlockGasCost *big.Int `json:"blockGasCost" rlp:"optional"`
}
Header carries canonical header + Lux extras.
Click to show internal directories.
Click to hide internal directories.