Files
tendermint/internal/p2p
William Banfield 3f1404257d p2p: set empty timeouts to small values. (manual backport of #8847) (#8868)
These timeouts default to 'do not time out' if they are not set. This times up resources, potentially indefinitely. If node on the other side of the the handshake is up but unresponsive, the[ handshake call](edec79448a/internal/p2p/router.go (L720)) will _never_ return.

This change wires up the values from the config file so that they are actually used.
2022-06-24 10:52:07 -04:00
..
2022-02-11 15:12:25 -05:00
2021-10-15 12:31:33 -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