Versions in this module Expand all Collapse all v1 v1.0.2 Dec 20, 2016 Changes in this version + type Fetcher struct + func New(getBlock blockRetrievalFn, validateBlock blockValidatorFn, ...) *Fetcher + func (f *Fetcher) Enqueue(peer string, block *types.Block) error + func (f *Fetcher) FilterBodies(transactions [][]*types.Transaction, uncles [][]*types.Header, time time.Time) ([][]*types.Transaction, [][]*types.Header) + func (f *Fetcher) FilterHeaders(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()