# Functions
New creates a new downloader to fetch hashes and blocks from remote peers.
NewFakePeer creates a new mock downloader peer with the given data sources.
NewPublicDownloaderAPI create a new PublicDownloaderAPI.
# Variables
Amount of blocks to be fetched per retrieval request.
Amount of block bodies to be fetched per retrieval request.
Maximum chain reorganisation.
Amount of hashes to be fetched per retrieval request.
Amount of block headers to be fetched per retrieval request.
Amount of transaction receipts to allow fetching per request.
Number of header fetches to need for a skeleton assembly.
Amount of node state values to allow fetching per request.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
FakePeer is a mock downloader peer that operates on a local database instance instead of being an actual live node.
PublicDownloaderAPI provides an API which gives information about the current synchronisation status.
No description provided by the author
SyncingResult provides information about the current synchronisation status for this node.
SyncStatusSubscription represents a syncing subscription.
# Interfaces
BlockChain encapsulates functions required to sync a (full or fast) blockchain.
LightChain encapsulates functions required to synchronise a light chain.
LightPeer encapsulates the methods required to synchronise with a remote light peer.
Peer encapsulates the methods required to synchronise with a remote full peer.
# Type aliases
SyncMode represents the synchronisation mode of the downloader.