tendermint/p2p/pex
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
..
addrbook.go p2p: addrBook.Save() on DialPeersAsync 2018-01-23 22:25:39 -05:00
addrbook_test.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
file.go config: fix addrbook path to go in config 2018-01-23 22:21:17 -05:00
known_address.go config: fix addrbook path to go in config 2018-01-23 22:21:17 -05:00
params.go p2p: use sub dirs 2018-01-20 21:35:37 -05:00
pex_reactor.go p2p: tmconn->conn and types->p2p 2018-01-21 00:34:41 -05:00
pex_reactor_test.go rewrite broadcastTxRoutine to use channels 2018-02-05 16:36:26 +04:00