Files
tendermint/p2p
Anton Kaliaev 11b68f1934 rewrite broadcastTxRoutine to use channels
https://play.golang.org/p/gN21yO9IRs3

```
func waitWithCancel(f func() *clist.CElement, ctx context.Context) *clist.CElement {
	el := make(chan *clist.CElement, 1)
	select {
	case el <- f():
```
will just run f() blockingly, so this doesn't change much in terms of behavior.
2018-02-05 16:36:26 +04:00
..
2018-02-03 03:39:14 -05: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-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