Versions in this module Expand all Collapse all v1 v1.8.13 Apr 15, 2022 v1.8.12 Apr 15, 2022 Changes in this version + type Fetcher struct + func New(getBlock blockRetrievalFn, verifyHeader headerVerifierFn, ...) *Fetcher + func (f *Fetcher) Enqueue(peer string, block *types.Block) error + func (f *Fetcher) FilterBodies(peer string, transactions [][]*types.Transaction, uncles [][]*types.Header, ...) ([][]*types.Transaction, [][]*types.Header) + func (f *Fetcher) FilterHeaders(peer string, headers []*types.Header, time time.Time) []*types.Header + func (f *Fetcher) Notify(peer string, hash common.Hash, number uint64, time time.Time, ...) error + func (f *Fetcher) Start() + func (f *Fetcher) Stop()