# Functions
DialTCPFn dials the given tcp addr, using the given timeoutReadWrite and privKey for the authenticated encryption handshake.
DialUnixFn dials the given unix socket.
GenFilePV generates a new validator with randomly generated private key and sets the filePaths, but does not call Save().
IsConnTimeout returns a boolean indicating whether the error is known to report that a connection timeout occurred.
LoadFilePV loads a FilePV from the filePaths.
LoadFilePVEmptyState loads a FilePV from the given keyFilePath, with an empty LastSignState.
LoadOldFilePV loads an OldFilePV from the filePath.
LoadOrGenFilePV loads a FilePV from the given filePaths or else generates a new one and saves it to the filePaths.
NewSignerRemote returns an instance of SignerRemote.
NewSignerServiceEndpoint returns a SignerServiceEndpoint that will dial using the given dialer and respond to any signature requests over the connection using the given privVal.
NewSignerValidatorEndpoint returns an instance of SignerValidatorEndpoint.
NewTCPListener returns a listener that accepts authenticated encrypted connections using the given secretConnKey and the default timeout values.
NewUnixListener returns a listener that accepts unencrypted connections using the default timeout values.
No description provided by the author
SignerServiceEndpointConnRetries sets the amount of attempted retries to connect.
SignerServiceEndpointTimeoutReadWrite sets the read and write timeout for connections from external signing processes.
SignerValidatorEndpointSetHeartbeat sets the period on which to check the liveness of the connected Signer connections.
TCPListenerTimeoutAccept sets the timeout for the listener.
TCPListenerTimeoutReadWrite sets the read and write timeout for connections from external signing processes.
UnixListenerTimeoutAccept sets the timeout for the listener.
UnixListenerTimeoutReadWrite sets the read and write timeout for connections from external signing processes.
# Structs
FilePV implements PrivValidator using data persisted to disk to prevent double signing.
FilePVKey stores the immutable part of PrivValidator.
FilePVLastSignState stores the mutable part of PrivValidator.
OldFilePV is the old version of the FilePV, pre v0.28.0.
PingRequest is a PrivValidatorSocket message to keep the connection alive.
PingRequest is a PrivValidatorSocket response to keep the connection alive.
PubKeyRequest requests the consensus public key from the remote signer.
PubKeyResponse is a PrivValidatorSocket message containing the public key.
RemoteSignerError allows (remote) validators to include meaningful error descriptions in their reply.
SignedProposalResponse is a PrivValidatorSocket message containing a proposal response.
SignedVoteResponse is a PrivValidatorSocket message containing a signed vote along with a potenial error message.
SignerRemote implements PrivValidator.
SignerServiceEndpoint dials using its dialer and responds to any signature requests using its privVal.
SocketVal implements PrivValidator.
SignProposalRequest is a PrivValidatorSocket message containing a Proposal.
SignVoteRequest is a PrivValidatorSocket message containing a vote.
# Interfaces
RemoteSignerMsg is sent between SignerServiceEndpoint and the SignerServiceEndpoint client.
# Type aliases
SignerServiceEndpointOption sets an optional parameter on the SignerServiceEndpoint.
SignerValidatorEndpointOption sets an optional parameter on the SocketVal.
SocketDialer dials a remote address and returns a net.Conn or an error.
TCPListenerOption sets an optional parameter on the tcpListener.
No description provided by the author