github.com/vipernet-xyz/tendermint-core@v0.32.0/proto/privval/msgs.proto (about) 1 syntax = "proto3"; 2 package tendermint.proto.privval; 3 4 option go_package = "github.com/tendermint/tendermint/proto/privval"; 5 6 import "third_party/proto/gogoproto/gogo.proto"; 7 import "proto/crypto/keys/types.proto"; 8 import "proto/types/types.proto"; 9 10 message RemoteSignerError { 11 int32 code = 1; 12 string description = 2; 13 } 14 15 // PubKeyRequest requests the consensus public key from the remote signer. 16 message PubKeyRequest {} 17 18 // PubKeyResponse is a response message containing the public key. 19 message PubKeyResponse { 20 tendermint.proto.crypto.keys.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; 21 RemoteSignerError error = 2; 22 } 23 24 // SignVoteRequest is a request to sign a vote 25 message SignVoteRequest { 26 tendermint.proto.types.Vote vote = 1 [(gogoproto.nullable) = false]; 27 } 28 29 // SignedVoteResponse is a response containing a signed vote or an error 30 message SignVoteResponse { 31 tendermint.proto.types.Vote vote = 1 [(gogoproto.nullable) = false]; 32 RemoteSignerError error = 2; 33 } 34 35 // SignProposalRequest is a request to sign a proposal 36 message SignProposalRequest { 37 tendermint.proto.types.Proposal proposal = 1 [(gogoproto.nullable) = false]; 38 } 39 40 // SignedProposalResponse is response containing a signed proposal or an error 41 message SignedProposalResponse { 42 tendermint.proto.types.Proposal proposal = 1 [(gogoproto.nullable) = false]; 43 RemoteSignerError error = 2; 44 } 45 46 // PingRequest is a request to confirm that the connection is alive. 47 message PingRequest {} 48 49 // PingResponse is a response to confirm that the connection is alive. 50 message PingResponse {}