Files
tendermint/p2p
Anton Kaliaev 439a06ad53 p2p: TestTransportMultiplexAcceptNonBlocking and TestTransportMultiplexConnFilterTimeout (#4868)
* p2p: log error in transport tests

* p2p: exit from fast peer only when handshake is done

TestTransportMultiplexAcceptNonBlocking

fixes panic: write to a closed channel

* p2p: increase timeout in TestTransportMultiplexConnFilterTimeout

Fixes https://github.com/tendermint/tendermint/issues/4854#issuecomment-630739200

* p2p: yield control to another goroutine manually

* increase timeout in TestTransportMultiplexAcceptNonBlocking
2020-05-25 19:01:34 +04:00
..
2020-04-29 10:47:00 +02:00
2019-12-05 10:12:08 +01:00
2020-02-21 19:21:39 +01:00
2019-04-03 11:22:52 +02:00
2019-12-17 13:02:45 +01:00
2020-05-18 10:20:06 +00:00
2020-04-29 10:47:00 +02:00
2020-02-07 12:53:28 +01: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