Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callbacks ¶
type Callbacks struct { LowestBlockToDecide func() (idx.Epoch, idx.Block) MaxEpochToDecide func() idx.Epoch IsProcessed func(epoch idx.Epoch, lastBlock idx.Block, id hash.Event) bool RequestChunk func(peer string, r bvstream.Request) error Suspend func(peer string) bool PeerBlock func(peer string) idx.Block }
type Config ¶
type Leecher ¶
type Leecher struct { *basestreamleecher.BaseLeecher // contains filtered or unexported fields }
Leecher is responsible for requesting BVs based on lexicographic BVs streams
func (*Leecher) ForceSyncing ¶
func (d *Leecher) ForceSyncing()
Click to show internal directories.
Click to hide internal directories.