package
5.6.3-darwinv2-rc0+incompatible
Repository: https://github.com/scroll-tech/go-ethereum.git
Documentation: pkg.go.dev

# Functions

New creates a new downloader to fetch hashes and blocks from remote peers.
NewPublicDownloaderAPI create a new PublicDownloaderAPI.

# Constants

Quickly download the headers, full sync only at the chain.
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

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