Author | SHA1 | Message | Date |
---|---|---|---|
Liamsi | d2c05bc5b9 |
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit
|
6 years ago |
Liamsi | 96a3502126 | delete everything | 6 years ago |
Alexander Simmerl |
bf370d36c2
|
Extract priv_validator into first class package
This is a maintenance change to move the private validator package out of the types and to a top-level location. There is no good reason to keep it under the types and it will more clearly coommunicate where additions related to the privval belong. It leaves the interface and the mock in types for now as it would introduce circular dependency between privval and types, this should be resolved eventually. * mv priv_validator to privval pkg * use consistent `privval` as import Follow-up to #1255 |
7 years ago |
Jae Kwon | 34974e3932 | Make types use Amino; Refactor PrivValidator* to FilePV/SocketPV | 7 years ago |
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 |
7 years ago |