Files
tendermint/p2p
Anton Kaliaev c0e8fb5085 p2p: (seed mode) limit the number of attempts to connect to a peer (#3573)
* use dialPeer function in a seed mode

Fixes #3532

by storing a number of attempts we've tried to connect in-memory and
removing the address from addrbook when number of attempts > 16
2019-04-17 16:44:26 +04:00
..
2019-04-01 19:59:57 -04:00
2019-01-22 13:23:18 -05:00
2019-04-03 11:22:52 +02:00
2018-07-01 22:36:49 -04:00
2018-07-01 22:36:49 -04:00
2019-04-01 19:59:57 -04:00
2019-04-01 19:59:57 -04:00
2019-01-11 17:41:02 -05:00
2019-04-12 13:25:14 +02:00
2019-01-28 16:13:17 +04:00

p2p

The p2p package provides an abstraction around peer-to-peer communication.

Docs:

  • Connection for details on how connections and multiplexing work
  • Peer for details on peer ID, handshakes, and peer exchange
  • Node for details about different types of nodes and how they should work
  • Pex for details on peer discovery and exchange
  • Config for details on some config option