package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Functions

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

# Constants

Deprecated: use ethconfig.FullSync.
Deprecated: use ethconfig.SnapSync.

# Variables

Number of blocks to be fetched per retrieval request.
Number of block headers to be fetched per retrieval request.
Number of transaction receipts to allow fetching per request.

# Structs

DownloaderAPI provides an API which gives information about the current synchronisation status.
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.
Peer encapsulates the methods required to synchronise with a remote full peer.

# Type aliases

SyncMode defines the sync method of the downloader.