Versions in this module Expand all Collapse all v1 v1.8.3 Jan 28, 2022 Changes in this version + const GasLimitMax + var TestFlagNoCheckPixieHeaderSig bool + func GetCanonicalHeight(native *native.NativeService, chainID uint64) (height uint64, err error) + func ParseValidators(validatorsBytes []byte) ([]ecommon.Address, error) + func SealHash(header *eth.Header, chainID *big.Int) (hash ecommon.Hash) + func VerifyGaslimit(parentGasLimit, headerGasLimit uint64) error + type Context struct + ChainID uint64 + ExtraInfo ExtraInfo + type ExtraInfo struct + ChainID *big.Int + Period uint64 + type GenesisHeader struct + Header eth.Header + PrevValidators []HeightAndValidators + type Handler struct + func NewPixieHandler() *Handler + func (h *Handler) SyncBlockHeader(native *native.NativeService) error + func (h *Handler) SyncCrossChainMsg(native *native.NativeService) error + func (h *Handler) SyncGenesisHeader(native *native.NativeService) (err error) + type HeaderWithChainID struct + ChainID uint64 + Header *HeaderWithDifficultySum + type HeaderWithDifficultySum struct + DifficultySum *big.Int + EpochParentHash *ecommon.Hash + Header *eth.Header + func GetCanonicalHeader(native *native.NativeService, chainID uint64, height uint64) (headerWithSum *HeaderWithDifficultySum, err error) + type HeightAndValidators struct + Hash *ecommon.Hash + Height *big.Int + Validators []ecommon.Address