Anton Kaliaev
11b68f1934
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. |
7 years ago | |
---|---|---|
.. | ||
pool.go | StopPeerForError in blockchain and consensus | 7 years ago |
pool_test.go | Formatting and documentation | 7 years ago |
reactor.go | StopPeerForError in blockchain and consensus | 7 years ago |
reactor_test.go | rewrite broadcastTxRoutine to use channels | 7 years ago |
store.go | update for sdk2 libs. need to fix kv test | 7 years ago |
store_test.go | update for sdk2 libs. need to fix kv test | 7 years ago |