Versions in this module Expand all Collapse all v0 v0.0.1 Jan 13, 2023 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, time uint64) ID + func NewIDWithChain(chain Blockchain) ID