Files
tendermint/p2p
Anton Kaliaev 161e100a24 close return channel when we're done
Benchmark results:

```
BenchmarkSwitchBroadcast-2         30000             71275 ns/op
--- BENCH: BenchmarkSwitchBroadcast-2
        switch_test.go:339: success: 1, failure: 0
        switch_test.go:339: success: 100, failure: 0
        switch_test.go:339: success: 10000, failure: 0
        switch_test.go:339: success: 30000, failure: 0
```
2018-02-09 21:32:29 +04:00
..
2018-02-09 21:32:29 +04:00
2017-11-27 22:39:11 +00:00
2017-04-21 18:07:52 -04:00
2018-01-21 00:34:41 -05:00
2017-11-27 22:39:12 +00:00
2018-01-21 00:34:41 -05:00
2018-01-21 00:34:41 -05:00
2018-01-21 00:34:41 -05:00
2018-01-21 00:34:41 -05:00
2018-01-24 14:27:37 -05:00
2018-01-21 00:34:41 -05:00
2018-02-09 21:32:29 +04:00
2018-01-21 00:34:41 -05:00
2017-04-21 18:07:52 -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