# Functions
NewBlockSyncer returns a new block syncer instance.
NewSlidingWindow returns a SlidingWindow instance.
WithNeighbors is the option to set the neighbors callback.
WithUnicastOutBound is the option to set the unicast callback.
# Variables
ErrInvalidRange indicates invalid range.
WindowSize defines the bufferSize of window.
# Structs
Config represents the config to setup blocksync.
SlidingWindow implements a sliding window.
# Interfaces
BlockSync defines the interface of blocksyncer.
# Type aliases
No description provided by the author
Option is the option to override the blocksync config.
No description provided by the author