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