package
0.19.0-rc4
Repository: https://github.com/eeonevision/tendermint.git
Documentation: pkg.go.dev

# Functions

GenFilePV generates a new validator with randomly generated private key and sets the filePath, but does not call Save().
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.
NewRemoteSigner returns an instance of RemoteSigner.
NewSocketPV returns an instance of SocketPV.
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.
SocketPVAcceptDeadline sets the deadline for the SocketPV listener.
SocketPVConnDeadline sets the read and write deadline for connections from external signing processes.
SocketPVConnWait sets the timeout duration before connection of external signing processes are considered to be unsuccessful.
SocketPVHeartbeat sets the period on which to check the liveness of the connected Signer connections.

# Variables

Socket errors.
Socket errors.
Socket errors.

# Structs

FilePV implements PrivValidator using data persisted to disk to prevent double signing.
PubKeyMsg is a PrivValidatorSocket message containing the public key.
RemoteSigner implements PrivValidator by dialing to a socket.
SignHeartbeatMsg is a PrivValidatorSocket message containing a Heartbeat.
SignProposalMsg is a PrivValidatorSocket message containing a Proposal.
SignVoteMsg is a PrivValidatorSocket message containing a vote.
SocketPV implements PrivValidator, it uses a socket to request signatures from an external process.

# Interfaces

SocketPVMsg is sent between RemoteSigner and SocketPV.

# Type aliases

RemoteSignerOption sets an optional parameter on the RemoteSigner.
SocketPVOption sets an optional parameter on the SocketPV.