tendermint/types/priv_validator
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
..
upgrade_pv types/priv_validator 2018-02-09 16:38:23 -05:00
json.go Use builtin panic 2018-03-06 19:56:31 +01:00
priv_validator_test.go types.SignBytes -> o.SignBytes 2018-03-02 01:50:17 -05:00
sign_info.go types.SignBytes -> o.SignBytes 2018-03-02 01:50:17 -05:00
socket.go privVal: Improve SocketClient network code (#1315) 2018-03-16 16:32:17 +04:00
socket_tcp.go privVal: Improve SocketClient network code (#1315) 2018-03-16 16:32:17 +04:00
socket_tcp_test.go privVal: Improve SocketClient network code (#1315) 2018-03-16 16:32:17 +04:00
socket_test.go privVal: Improve SocketClient network code (#1315) 2018-03-16 16:32:17 +04:00
unencrypted.go types.SignBytes -> o.SignBytes 2018-03-02 01:50:17 -05:00
upgrade.go types/priv_validator: fixes for latest p2p and cmn 2018-02-09 17:24:30 -05:00