# Functions
GenFilePV generates a new validator with randomly generated private key and sets the filePath, but does not call Save().
IPCRemoteSignerConnDeadline sets the read and write deadline for connections from external signing processes.
IPCRemoteSignerConnRetries sets the amount of attempted retries to connect.
IPCValConnTimeout sets the read and write timeout for connections from external signing processes.
IPCValHeartbeat sets the period on which to check the liveness of the connected Signer connections.
LoadFilePV loads a FilePV from the filePath.
LoadOrGenFilePV loads a FilePV from the given filePath or else generates a new one and saves it to the filePath.
NewIPCRemoteSigner returns an instance of IPCRemoteSigner.
NewIPCVal returns an instance of IPCVal.
NewRemoteSigner returns an instance of RemoteSigner.
NewRemoteSignerClient returns an instance of RemoteSignerClient.
NewTCPVal returns an instance of TCPVal.
No description provided by the author
RemoteSignerConnDeadline sets the read and write deadline for connections from external signing processes.
RemoteSignerConnRetries sets the amount of attempted retries to connect.
TCPValAcceptDeadline sets the deadline for the TCPVal listener.
TCPValConnTimeout sets the read and write timeout for connections from external signing processes.
TCPValHeartbeat sets the period on which to check the liveness of the connected Signer connections.
# Structs
FilePV implements PrivValidator using data persisted to disk to prevent double signing.
IPCRemoteSigner is a RPC implementation of PrivValidator that listens on a unix socket.
IPCVal implements PrivValidator, it uses a unix socket to request signatures from an external process.
PingRequest is a PrivValidatorSocket message to keep the connection alive.
No description provided by the author
PubKeyMsg is a PrivValidatorSocket message containing the public key.
RemoteSigner implements PrivValidator by dialing to a socket.
RemoteSignerClient implements PrivValidator, it uses a socket to request signatures from an external process.
RemoteSignerError allows (remote) validators to include meaningful error descriptions in their reply.
No description provided by the author
SignedVoteResponse is a PrivValidatorSocket message containing a signed vote along with a potenial error message.
SignProposalRequest is a PrivValidatorSocket message containing a Proposal.
SignVoteRequest is a PrivValidatorSocket message containing a vote.
TCPVal implements PrivValidator, it uses a socket to request signatures from an external process.
# Interfaces
RemoteSignerMsg is sent between RemoteSigner and the RemoteSigner client.
# Type aliases
IPCRemoteSignerOption sets an optional parameter on the IPCRemoteSigner.
IPCValOption sets an optional parameter on the SocketPV.
RemoteSignerOption sets an optional parameter on the RemoteSigner.
TCPValOption sets an optional parameter on the SocketPV.