f60713bca8
Ref: #2563 I added IPC as an unencrypted alternative to SocketPV. Besides I fixed the following aspects of SocketPV: Added locking since we are operating on a single socket The connection deadline is extended every time a successful packet exchange happens; otherwise the connection would always die permanently x seconds after the connection was established. Added a ping/heartbeat mechanism to keep the connection alive; native TCP keepalives do not work in this use-case * Extend the SecureConn socket to extend its deadline * Add locking & ping/heartbeat packets to SocketPV * Implement IPC PV and abstract socket signing * Refactored IPC and SocketPV * Implement @melekes comments * Fixes to rebase |
||
---|---|---|
.. | ||
ipc.go | ||
ipc_server.go | ||
ipc_test.go | ||
priv_validator.go | ||
priv_validator_test.go | ||
remote_signer.go | ||
tcp.go | ||
tcp_server.go | ||
tcp_socket.go | ||
tcp_socket_test.go | ||
tcp_test.go | ||
wire.go |