Commit Graph

9 Commits

Author SHA1 Message Date
Jae Kwon 901b456151 P2P now works with Amino 2018-03-26 06:40:02 +02:00
Jae Kwon 6c345f9fa2 First stab: p2p/conn 2018-03-21 02:27:10 +01:00
Alexander Simmerl 9b9022f8df privVal: Improve SocketClient network code (#1315)
Follow-up to feedback from #1286, this change simplifies the connection
handling in the SocketClient and makes the communication via TCP more
robust. It introduces the tcpTimeoutListener to encapsulate accept and
i/o timeout handling as well as connection keep-alive, this type could
likely be upgraded to handle more fine-grained tuning of the tcp stack
(linger, nodelay, etc.) according to the properties we desire. The same
methods should be applied to the RemoteSigner which will be overhauled
when the priv_val_server is fleshed out.

* require private key
* simplify connect logic
* break out conn upgrades to tcpTimeoutListener
* extend test coverage and simplify component setup
2018-03-16 16:32:17 +04:00
Anton Kaliaev e39187a063
add go-amino as source for go-wire 2018-03-14 21:42:17 +04:00
Ethan Buchman 929f326dd2 update dep 2018-03-02 10:59:10 -05:00
Ethan Buchman 59872bf335 update dep for new go-wire API 2018-03-02 02:28:53 -05:00
Anton Kaliaev c41cbf2a07
add missing golang.org/x/net/netutil package 2018-02-28 23:44:18 +04:00
Anton Kaliaev 0821384ac6
update abci version 2018-02-27 18:34:32 +04:00
Zaki Manian 6270ecef8c Switch to dep from glide for dependency management (#1243)
* Switch to dep from glide for dependency management

* Update CI dockerfile to use dep instead of glide

* Wrong file extension

* Run 'dep ensure' after copying code

* Install glide to handle abci dependencies in testing

* Use `dep ensure -vendor-only` to setup vendor directory before installing source code on ci
2018-02-27 15:59:50 +04:00