# Functions

New creates a new downloader to fetch hashes and blocks from remote peers.
NewDownloaderAPI create a new DownloaderAPI.

# Constants

Synchronise the entire blockchain history from full blocks.
Download only the headers and terminate afterwards.
Download the chain and the state via compact snapshots.

# Variables

No description provided by the author
Amount of blocks 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.

# Structs

No description provided by the author
No description provided by the author
DownloaderAPI provides an API which gives information about the current synchronisation status.
No description provided by the author
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 snap) 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.