dcrd/connmgr
Dave Collins 7ea2a2c5d3
connmgr: Prepare v1.1.0.
This updates the mining module dependencies and serves as a base for
connmgr/v1.1.0.

The updated direct dependencies in this commit are as follows:

- github.com/decred/dcrd/chaincfg@v1.5.2

The full list of updated direct dependencies since the previous
connmgr/v1.0.2 release are as follows:

- github.com/decred/dcrd/chaincfg@v1.5.2
2019-08-09 15:01:19 -05:00
..
connmanager_test.go connmgr: Add cancellation of pending requests 2019-05-24 08:30:24 -03:00
connmanager.go connmgr: Check for canceled connection before connect 2019-05-24 08:30:24 -03:00
doc.go connmgr: Refactor connection management into pkg 2017-03-21 19:42:19 -05:00
dynamicbanscore_test.go travis: add ineffassign linter 2017-12-01 09:14:04 -05:00
dynamicbanscore.go connmgr: unexport the DynamicBanScore mutex. 2017-03-21 19:43:02 -05:00
go.mod connmgr: Prepare v1.1.0. 2019-08-09 15:01:19 -05:00
go.sum connmgr: Prepare v1.1.0. 2019-08-09 15:01:19 -05:00
log.go multi: deprecate DisableLog 2019-03-18 11:16:35 -05:00
README.md multi: Use https links where available. 2019-06-18 14:20:06 -05:00
seed.go chaincfg: Introduce new type DNSSeed 2018-01-17 23:02:21 +00:00
tor.go travis: add ineffassign linter 2017-12-01 09:14:04 -05:00

connmgr

Build Status ISC License GoDoc

Package connmgr implements a generic Decred network connection manager.

Overview

This package handles all the general connection concerns such as maintaining a set number of outbound connections, sourcing peers, banning, limiting max connections, tor lookup, etc.

The package provides a generic connection manager which is able to accept connection requests from a source or a set of given addresses, dial them and notify the caller on connections. The main intended use is to initialize a pool of active connections and maintain them to remain connected to the P2P network.

In addition the connection manager provides the following utilities:

  • Notifications on connections or disconnections
  • Handle failures and retry new addresses from the source
  • Connect only to specified addresses
  • Permanent connections with increasing backoff retry timers
  • Disconnect or Remove an established connection

Installation and Updating

$ go get -u github.com/decred/dcrd/connmgr

License

Package connmgr is licensed under the copyfree ISC License.