ipld-eth-server/vendor/github.com/btcsuite/btcd/netsync
Matt K 293dd2e848 Add vendor dir (#16) (#4)
* Add vendor dir so builds dont require dep

* Pin specific version go-eth version
2018-01-29 13:44:18 -06:00
..
blocklogger.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
doc.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
interface.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
log.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
manager.go Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00
README.md Add vendor dir (#16) (#4) 2018-01-29 13:44:18 -06:00

netsync

Build Status ISC License GoDoc

Overview

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 github.com/btcsuite/btcd/netsync

License

Package netsync is licensed under the copyfree ISC License.