doc.go raw

   1  /*Package netsync implements a concurrency safe block syncing protocol.
   2  
   3  The SyncManager communicates with connected peers to perform an initial block download, keep the chain and unconfirmed
   4  transaction pool in sync, and announce new blocks connected to the chain. Currently the sync manager selects a single
   5  sync peer that it downloads all blocks from until it is up to date with the longest chain the sync peer is aware of.
   6  */
   7  package netsync
   8