This is a fork of aimed at eliminating the tangle and complexity of its structure and make it more amenable to reuse as a part of another application, as well as easier reuse of its parts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Loki Verloren 81e17ea78c behavior separated 6 months ago
manager behavior separated 6 months ago
nsif moved out inv 6 months ago
progress block progress logger separated 6 months ago migrated 7 months ago
doc.go netsync: Change name of blockManager to syncManager. 2 years ago
log.go split netsync 6 months ago


Build Status ISC License GoDoc


This package implements a concurrency safe block syncing protocol. The SyncManager communicates with connected peers to perform an initial block download, keep the chain and unconfirmed transaction pool in sync, and announce new blocks connected to the chain. Currently the sync manager selects a single sync peer that it downloads all blocks from until it is up to date with the longest chain the sync peer is aware of.

Installation and Updating

$ go get -u


Package netsync is licensed under the copyfree ISC License.