Versions in this module Expand all Collapse all v1 v1.0.2 Aug 17, 2023 Changes in this version + type BlockFetcher struct + func NewBlockFetcher(light bool, getHeader HeaderRetrievalFn, getBlock blockRetrievalFn, ...) *BlockFetcher + func (f *BlockFetcher) Enqueue(peer string, block *types.Block) error + func (f *BlockFetcher) FilterBodies(peer string, transactions [][]*types.Transaction, uncles [][]*types.Header, ...) ([][]*types.Transaction, [][]*types.Header) + func (f *BlockFetcher) FilterHeaders(peer string, headers []*types.Header, time time.Time) []*types.Header + func (f *BlockFetcher) Notify(peer string, hash common.Hash, number uint64, time time.Time, ...) error + func (f *BlockFetcher) Start() + func (f *BlockFetcher) Stop() + type HeaderRetrievalFn func(common.Hash) *types.Header