Versions in this module Expand all Collapse all v1 v1.0.0 Mar 14, 2022 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 common.Hash) Filter + type ID struct + Hash [4]byte + Next uint64 + func NewID(config *params.ChainConfig, genesis common.Hash, head uint64) ID + func NewIDWithChain(chain Blockchain) ID