mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-25 23:42:36 +00:00
16 lines
653 B
Markdown
16 lines
653 B
Markdown
netsync
|
|
=======
|
|
|
|
[](https://choosealicense.com/licenses/isc/)
|
|
[](http://godoc.org/github.com/kaspanet/kaspad/netsync)
|
|
|
|
## 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 DAG. The sync manager selects a single
|
|
sync peer that it downloads all blocks from until it is up to date with the
|
|
the peer's selected tip.
|
|
|