package
0.5.3-beta.0
Repository: https://github.com/cpchain/chain.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
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.
Amount of blocks 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.
Amount of node state values to allow fetching per request.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Max size of blocks queue.
No description provided by the author

# Structs

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
Synchronizer is responsible for syncing local chain to latest block.
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.
Syncer will do all sync related works.
SyncPeer represents a remote peer that i can sync with.

# Type aliases

No description provided by the author
SyncMode : Full, Fast.