Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 13-May-2020 | - | ||||
README.md | H A D | 13-May-2020 | 944 | 26 | 18 | |
blocklogger.go | H A D | 13-May-2020 | 2.3 KiB | 81 | 52 | |
doc.go | H A D | 13-May-2020 | 592 | 14 | 1 | |
interface.go | H A D | 13-May-2020 | 1.2 KiB | 42 | 25 | |
log.go | H A D | 13-May-2020 | 788 | 26 | 9 | |
manager.go | H A D | 13-May-2020 | 51.1 KiB | 1,600 | 961 |
README.md
1netsync 2======= 3 4[![Build Status](http://img.shields.io/travis/btcsuite/btcd.svg)](https://travis-ci.org/btcsuite/btcd) 5[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) 6[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/btcsuite/btcd/netsync) 7 8## Overview 9 10This package implements a concurrency safe block syncing protocol. The 11SyncManager communicates with connected peers to perform an initial block 12download, keep the chain and unconfirmed transaction pool in sync, and announce 13new blocks connected to the chain. Currently the sync manager selects a single 14sync peer that it downloads all blocks from until it is up to date with the 15longest chain the sync peer is aware of. 16 17## Installation and Updating 18 19```bash 20$ go get -u github.com/btcsuite/btcd/netsync 21``` 22 23## License 24 25Package netsync is licensed under the [copyfree](http://copyfree.org) ISC License. 26