package
10.1.5+incompatible
Repository: https://github.com/coderbradlee/go-ethereum.git
Documentation: pkg.go.dev

# 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.

# Constants

Quickly download the headers, full sync only at the chain head.
Synchronise the entire blockchain history from full blocks.
Download only the headers and terminate afterwards.

# Variables

Amount of blocks to be fetched per retrieval request.
Amount of block bodies to be fetched per retrieval request.
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.