Versions in this module Expand all Collapse all v1 v1.0.2 Jan 31, 2023 Changes in this version + var ErrWrongSelectorLen = errors.New("wrong event selector length") + var ErrWrongType = errors.New("wrong request type") + type Callbacks struct + Iterate func(locator []byte, f func(key []byte, bvs rlp.RawValue) bool) + type Config basestreamseeder.Config + func DefaultConfig(scale cachescale.Func) Config + type Peer struct + ID string + Misbehaviour func(error) + SendChunk func(bvstream.Response) error + type Seeder struct + func New(cfg Config, callbacks Callbacks) *Seeder + func (s *Seeder) NotifyRequestReceived(peer Peer, r bvstream.Request) (err error, peerErr error)