Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + var ErrLocalIncompatibleOrStale = errors.New("local incompatible or needs update") + var ErrRemoteStale = errors.New("remote needs update") + type Blockchain interface + Config func() *params.ChainConfig + CurrentHeader func() *types.Header + Genesis func() *types.Block + type Filter func(id ID) error + func NewFilter(chain Blockchain) Filter + func NewStaticFilter(config *params.ChainConfig, genesis *types.Block) Filter + type ID struct + Hash [4]byte + Next uint64 + func NewID(config *params.ChainConfig, genesis *types.Block, head, time uint64) ID + func NewIDWithChain(chain Blockchain) ID