mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
14 lines
592 B
Go
14 lines
592 B
Go
// Copyright (c) 2017 The btcsuite developers
|
|
// Use of this source code is governed by an ISC
|
|
// license that can be found in the LICENSE file.
|
|
|
|
/*
|
|
Package netsync 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.
|
|
*/
|
|
package netsync
|