Documentation ¶
Index ¶
- Variables
- func RegisterPrivValidatorAPIServer(s *grpc.Server, srv PrivValidatorAPIServer)
- type AuthSigMessage
- func (*AuthSigMessage) Descriptor() ([]byte, []int)
- func (m *AuthSigMessage) GetPubKey() crypto.PublicKey
- func (m *AuthSigMessage) GetSig() []byte
- func (m *AuthSigMessage) Marshal() (dAtA []byte, err error)
- func (m *AuthSigMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthSigMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthSigMessage) ProtoMessage()
- func (m *AuthSigMessage) Reset()
- func (m *AuthSigMessage) Size() (n int)
- func (m *AuthSigMessage) String() string
- func (m *AuthSigMessage) Unmarshal(dAtA []byte) error
- func (m *AuthSigMessage) XXX_DiscardUnknown()
- func (m *AuthSigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthSigMessage) XXX_Merge(src proto.Message)
- func (m *AuthSigMessage) XXX_Size() int
- func (m *AuthSigMessage) XXX_Unmarshal(b []byte) error
- type Errors
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetPingRequest() *PingRequest
- func (m *Message) GetPingResponse() *PingResponse
- func (m *Message) GetProTxHashRequest() *ProTxHashRequest
- func (m *Message) GetProTxHashResponse() *ProTxHashResponse
- func (m *Message) GetPubKeyRequest() *PubKeyRequest
- func (m *Message) GetPubKeyResponse() *PubKeyResponse
- func (m *Message) GetSignProposalRequest() *SignProposalRequest
- func (m *Message) GetSignVoteRequest() *SignVoteRequest
- func (m *Message) GetSignedProposalResponse() *SignedProposalResponse
- func (m *Message) GetSignedVoteResponse() *SignedVoteResponse
- func (m *Message) GetSum() isMessage_Sum
- func (m *Message) GetThresholdPubKeyRequest() *ThresholdPubKeyRequest
- func (m *Message) GetThresholdPubKeyResponse() *ThresholdPubKeyResponse
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofWrappers() []interface{}
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_PingRequest
- type Message_PingResponse
- type Message_ProTxHashRequest
- type Message_ProTxHashResponse
- type Message_PubKeyRequest
- type Message_PubKeyResponse
- type Message_SignProposalRequest
- type Message_SignVoteRequest
- type Message_SignedProposalResponse
- type Message_SignedVoteResponse
- type Message_ThresholdPubKeyRequest
- type Message_ThresholdPubKeyResponse
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) Marshal() (dAtA []byte, err error)
- func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) Size() (n int)
- func (m *PingRequest) String() string
- func (m *PingRequest) Unmarshal(dAtA []byte) error
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PingResponse
- func (*PingResponse) Descriptor() ([]byte, []int)
- func (m *PingResponse) Marshal() (dAtA []byte, err error)
- func (m *PingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingResponse) ProtoMessage()
- func (m *PingResponse) Reset()
- func (m *PingResponse) Size() (n int)
- func (m *PingResponse) String() string
- func (m *PingResponse) Unmarshal(dAtA []byte) error
- func (m *PingResponse) XXX_DiscardUnknown()
- func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingResponse) XXX_Merge(src proto.Message)
- func (m *PingResponse) XXX_Size() int
- func (m *PingResponse) XXX_Unmarshal(b []byte) error
- type PrivValidatorAPIClient
- type PrivValidatorAPIServer
- type ProTxHashRequest
- func (*ProTxHashRequest) Descriptor() ([]byte, []int)
- func (m *ProTxHashRequest) GetChainId() string
- func (m *ProTxHashRequest) Marshal() (dAtA []byte, err error)
- func (m *ProTxHashRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ProTxHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProTxHashRequest) ProtoMessage()
- func (m *ProTxHashRequest) Reset()
- func (m *ProTxHashRequest) Size() (n int)
- func (m *ProTxHashRequest) String() string
- func (m *ProTxHashRequest) Unmarshal(dAtA []byte) error
- func (m *ProTxHashRequest) XXX_DiscardUnknown()
- func (m *ProTxHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProTxHashRequest) XXX_Merge(src proto.Message)
- func (m *ProTxHashRequest) XXX_Size() int
- func (m *ProTxHashRequest) XXX_Unmarshal(b []byte) error
- type ProTxHashResponse
- func (*ProTxHashResponse) Descriptor() ([]byte, []int)
- func (m *ProTxHashResponse) GetError() *RemoteSignerError
- func (m *ProTxHashResponse) GetProTxHash() []byte
- func (m *ProTxHashResponse) Marshal() (dAtA []byte, err error)
- func (m *ProTxHashResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ProTxHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProTxHashResponse) ProtoMessage()
- func (m *ProTxHashResponse) Reset()
- func (m *ProTxHashResponse) Size() (n int)
- func (m *ProTxHashResponse) String() string
- func (m *ProTxHashResponse) Unmarshal(dAtA []byte) error
- func (m *ProTxHashResponse) XXX_DiscardUnknown()
- func (m *ProTxHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProTxHashResponse) XXX_Merge(src proto.Message)
- func (m *ProTxHashResponse) XXX_Size() int
- func (m *ProTxHashResponse) XXX_Unmarshal(b []byte) error
- type PubKeyRequest
- func (*PubKeyRequest) Descriptor() ([]byte, []int)
- func (m *PubKeyRequest) GetChainId() string
- func (m *PubKeyRequest) GetQuorumHash() []byte
- func (m *PubKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *PubKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PubKeyRequest) ProtoMessage()
- func (m *PubKeyRequest) Reset()
- func (m *PubKeyRequest) Size() (n int)
- func (m *PubKeyRequest) String() string
- func (m *PubKeyRequest) Unmarshal(dAtA []byte) error
- func (m *PubKeyRequest) XXX_DiscardUnknown()
- func (m *PubKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PubKeyRequest) XXX_Merge(src proto.Message)
- func (m *PubKeyRequest) XXX_Size() int
- func (m *PubKeyRequest) XXX_Unmarshal(b []byte) error
- type PubKeyResponse
- func (*PubKeyResponse) Descriptor() ([]byte, []int)
- func (m *PubKeyResponse) GetError() *RemoteSignerError
- func (m *PubKeyResponse) GetPubKey() crypto.PublicKey
- func (m *PubKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *PubKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PubKeyResponse) ProtoMessage()
- func (m *PubKeyResponse) Reset()
- func (m *PubKeyResponse) Size() (n int)
- func (m *PubKeyResponse) String() string
- func (m *PubKeyResponse) Unmarshal(dAtA []byte) error
- func (m *PubKeyResponse) XXX_DiscardUnknown()
- func (m *PubKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PubKeyResponse) XXX_Merge(src proto.Message)
- func (m *PubKeyResponse) XXX_Size() int
- func (m *PubKeyResponse) XXX_Unmarshal(b []byte) error
- type RemoteSignerError
- func (*RemoteSignerError) Descriptor() ([]byte, []int)
- func (m *RemoteSignerError) GetCode() int32
- func (m *RemoteSignerError) GetDescription() string
- func (m *RemoteSignerError) Marshal() (dAtA []byte, err error)
- func (m *RemoteSignerError) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoteSignerError) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoteSignerError) ProtoMessage()
- func (m *RemoteSignerError) Reset()
- func (m *RemoteSignerError) Size() (n int)
- func (m *RemoteSignerError) String() string
- func (m *RemoteSignerError) Unmarshal(dAtA []byte) error
- func (m *RemoteSignerError) XXX_DiscardUnknown()
- func (m *RemoteSignerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoteSignerError) XXX_Merge(src proto.Message)
- func (m *RemoteSignerError) XXX_Size() int
- func (m *RemoteSignerError) XXX_Unmarshal(b []byte) error
- type SignProposalRequest
- func (*SignProposalRequest) Descriptor() ([]byte, []int)
- func (m *SignProposalRequest) GetChainId() string
- func (m *SignProposalRequest) GetProposal() *types.Proposal
- func (m *SignProposalRequest) GetQuorumHash() []byte
- func (m *SignProposalRequest) GetQuorumType() int32
- func (m *SignProposalRequest) Marshal() (dAtA []byte, err error)
- func (m *SignProposalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignProposalRequest) ProtoMessage()
- func (m *SignProposalRequest) Reset()
- func (m *SignProposalRequest) Size() (n int)
- func (m *SignProposalRequest) String() string
- func (m *SignProposalRequest) Unmarshal(dAtA []byte) error
- func (m *SignProposalRequest) XXX_DiscardUnknown()
- func (m *SignProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignProposalRequest) XXX_Merge(src proto.Message)
- func (m *SignProposalRequest) XXX_Size() int
- func (m *SignProposalRequest) XXX_Unmarshal(b []byte) error
- type SignVoteRequest
- func (*SignVoteRequest) Descriptor() ([]byte, []int)
- func (m *SignVoteRequest) GetChainId() string
- func (m *SignVoteRequest) GetQuorumHash() []byte
- func (m *SignVoteRequest) GetQuorumType() int32
- func (m *SignVoteRequest) GetVote() *types.Vote
- func (m *SignVoteRequest) Marshal() (dAtA []byte, err error)
- func (m *SignVoteRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignVoteRequest) ProtoMessage()
- func (m *SignVoteRequest) Reset()
- func (m *SignVoteRequest) Size() (n int)
- func (m *SignVoteRequest) String() string
- func (m *SignVoteRequest) Unmarshal(dAtA []byte) error
- func (m *SignVoteRequest) XXX_DiscardUnknown()
- func (m *SignVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignVoteRequest) XXX_Merge(src proto.Message)
- func (m *SignVoteRequest) XXX_Size() int
- func (m *SignVoteRequest) XXX_Unmarshal(b []byte) error
- type SignedProposalResponse
- func (*SignedProposalResponse) Descriptor() ([]byte, []int)
- func (m *SignedProposalResponse) GetError() *RemoteSignerError
- func (m *SignedProposalResponse) GetProposal() types.Proposal
- func (m *SignedProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *SignedProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedProposalResponse) ProtoMessage()
- func (m *SignedProposalResponse) Reset()
- func (m *SignedProposalResponse) Size() (n int)
- func (m *SignedProposalResponse) String() string
- func (m *SignedProposalResponse) Unmarshal(dAtA []byte) error
- func (m *SignedProposalResponse) XXX_DiscardUnknown()
- func (m *SignedProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedProposalResponse) XXX_Merge(src proto.Message)
- func (m *SignedProposalResponse) XXX_Size() int
- func (m *SignedProposalResponse) XXX_Unmarshal(b []byte) error
- type SignedVoteResponse
- func (*SignedVoteResponse) Descriptor() ([]byte, []int)
- func (m *SignedVoteResponse) GetError() *RemoteSignerError
- func (m *SignedVoteResponse) GetVote() types.Vote
- func (m *SignedVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *SignedVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedVoteResponse) ProtoMessage()
- func (m *SignedVoteResponse) Reset()
- func (m *SignedVoteResponse) Size() (n int)
- func (m *SignedVoteResponse) String() string
- func (m *SignedVoteResponse) Unmarshal(dAtA []byte) error
- func (m *SignedVoteResponse) XXX_DiscardUnknown()
- func (m *SignedVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedVoteResponse) XXX_Merge(src proto.Message)
- func (m *SignedVoteResponse) XXX_Size() int
- func (m *SignedVoteResponse) XXX_Unmarshal(b []byte) error
- type ThresholdPubKeyRequest
- func (*ThresholdPubKeyRequest) Descriptor() ([]byte, []int)
- func (m *ThresholdPubKeyRequest) GetChainId() string
- func (m *ThresholdPubKeyRequest) GetQuorumHash() []byte
- func (m *ThresholdPubKeyRequest) Marshal() (dAtA []byte, err error)
- func (m *ThresholdPubKeyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ThresholdPubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThresholdPubKeyRequest) ProtoMessage()
- func (m *ThresholdPubKeyRequest) Reset()
- func (m *ThresholdPubKeyRequest) Size() (n int)
- func (m *ThresholdPubKeyRequest) String() string
- func (m *ThresholdPubKeyRequest) Unmarshal(dAtA []byte) error
- func (m *ThresholdPubKeyRequest) XXX_DiscardUnknown()
- func (m *ThresholdPubKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThresholdPubKeyRequest) XXX_Merge(src proto.Message)
- func (m *ThresholdPubKeyRequest) XXX_Size() int
- func (m *ThresholdPubKeyRequest) XXX_Unmarshal(b []byte) error
- type ThresholdPubKeyResponse
- func (*ThresholdPubKeyResponse) Descriptor() ([]byte, []int)
- func (m *ThresholdPubKeyResponse) GetError() *RemoteSignerError
- func (m *ThresholdPubKeyResponse) GetPubKey() crypto.PublicKey
- func (m *ThresholdPubKeyResponse) Marshal() (dAtA []byte, err error)
- func (m *ThresholdPubKeyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ThresholdPubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThresholdPubKeyResponse) ProtoMessage()
- func (m *ThresholdPubKeyResponse) Reset()
- func (m *ThresholdPubKeyResponse) Size() (n int)
- func (m *ThresholdPubKeyResponse) String() string
- func (m *ThresholdPubKeyResponse) Unmarshal(dAtA []byte) error
- func (m *ThresholdPubKeyResponse) XXX_DiscardUnknown()
- func (m *ThresholdPubKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThresholdPubKeyResponse) XXX_Merge(src proto.Message)
- func (m *ThresholdPubKeyResponse) XXX_Size() int
- func (m *ThresholdPubKeyResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedPrivValidatorAPIServer
- func (*UnimplementedPrivValidatorAPIServer) GetProTxHash(ctx context.Context, req *ProTxHashRequest) (*ProTxHashResponse, error)
- func (*UnimplementedPrivValidatorAPIServer) GetPubKey(ctx context.Context, req *PubKeyRequest) (*PubKeyResponse, error)
- func (*UnimplementedPrivValidatorAPIServer) GetThresholdPubKey(ctx context.Context, req *ThresholdPubKeyRequest) (*ThresholdPubKeyResponse, error)
- func (*UnimplementedPrivValidatorAPIServer) SignProposal(ctx context.Context, req *SignProposalRequest) (*SignedProposalResponse, error)
- func (*UnimplementedPrivValidatorAPIServer) SignVote(ctx context.Context, req *SignVoteRequest) (*SignedVoteResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var Errors_name = map[int32]string{
0: "ERRORS_UNKNOWN",
1: "ERRORS_UNEXPECTED_RESPONSE",
2: "ERRORS_NO_CONNECTION",
3: "ERRORS_CONNECTION_TIMEOUT",
4: "ERRORS_READ_TIMEOUT",
5: "ERRORS_WRITE_TIMEOUT",
}
var Errors_value = map[string]int32{
"ERRORS_UNKNOWN": 0,
"ERRORS_UNEXPECTED_RESPONSE": 1,
"ERRORS_NO_CONNECTION": 2,
"ERRORS_CONNECTION_TIMEOUT": 3,
"ERRORS_READ_TIMEOUT": 4,
"ERRORS_WRITE_TIMEOUT": 5,
}
Functions ¶
func RegisterPrivValidatorAPIServer ¶
func RegisterPrivValidatorAPIServer(s *grpc.Server, srv PrivValidatorAPIServer)
Types ¶
type AuthSigMessage ¶
type AuthSigMessage struct { PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` }
AuthSigMessage is duplicated from p2p prior to the P2P refactor. It is used for the SecretConnection until we migrate privval to gRPC. https://github.com/tendermint/tendermint/issues/4698
func (*AuthSigMessage) Descriptor ¶
func (*AuthSigMessage) Descriptor() ([]byte, []int)
func (*AuthSigMessage) GetPubKey ¶
func (m *AuthSigMessage) GetPubKey() crypto.PublicKey
func (*AuthSigMessage) GetSig ¶
func (m *AuthSigMessage) GetSig() []byte
func (*AuthSigMessage) Marshal ¶
func (m *AuthSigMessage) Marshal() (dAtA []byte, err error)
func (*AuthSigMessage) MarshalToSizedBuffer ¶
func (m *AuthSigMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthSigMessage) ProtoMessage ¶
func (*AuthSigMessage) ProtoMessage()
func (*AuthSigMessage) Reset ¶
func (m *AuthSigMessage) Reset()
func (*AuthSigMessage) Size ¶
func (m *AuthSigMessage) Size() (n int)
func (*AuthSigMessage) String ¶
func (m *AuthSigMessage) String() string
func (*AuthSigMessage) Unmarshal ¶
func (m *AuthSigMessage) Unmarshal(dAtA []byte) error
func (*AuthSigMessage) XXX_DiscardUnknown ¶
func (m *AuthSigMessage) XXX_DiscardUnknown()
func (*AuthSigMessage) XXX_Marshal ¶
func (m *AuthSigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthSigMessage) XXX_Merge ¶
func (m *AuthSigMessage) XXX_Merge(src proto.Message)
func (*AuthSigMessage) XXX_Size ¶
func (m *AuthSigMessage) XXX_Size() int
func (*AuthSigMessage) XXX_Unmarshal ¶
func (m *AuthSigMessage) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { // Types that are valid to be assigned to Sum: // *Message_PubKeyRequest // *Message_PubKeyResponse // *Message_SignVoteRequest // *Message_SignedVoteResponse // *Message_SignProposalRequest // *Message_SignedProposalResponse // *Message_PingRequest // *Message_PingResponse // *Message_ProTxHashRequest // *Message_ProTxHashResponse // *Message_ThresholdPubKeyRequest // *Message_ThresholdPubKeyResponse Sum isMessage_Sum `protobuf_oneof:"sum"` }
func (*Message) Descriptor ¶
func (*Message) GetPingRequest ¶
func (m *Message) GetPingRequest() *PingRequest
func (*Message) GetPingResponse ¶
func (m *Message) GetPingResponse() *PingResponse
func (*Message) GetProTxHashRequest ¶
func (m *Message) GetProTxHashRequest() *ProTxHashRequest
func (*Message) GetProTxHashResponse ¶
func (m *Message) GetProTxHashResponse() *ProTxHashResponse
func (*Message) GetPubKeyRequest ¶
func (m *Message) GetPubKeyRequest() *PubKeyRequest
func (*Message) GetPubKeyResponse ¶
func (m *Message) GetPubKeyResponse() *PubKeyResponse
func (*Message) GetSignProposalRequest ¶
func (m *Message) GetSignProposalRequest() *SignProposalRequest
func (*Message) GetSignVoteRequest ¶
func (m *Message) GetSignVoteRequest() *SignVoteRequest
func (*Message) GetSignedProposalResponse ¶
func (m *Message) GetSignedProposalResponse() *SignedProposalResponse
func (*Message) GetSignedVoteResponse ¶
func (m *Message) GetSignedVoteResponse() *SignedVoteResponse
func (*Message) GetThresholdPubKeyRequest ¶
func (m *Message) GetThresholdPubKeyRequest() *ThresholdPubKeyRequest
func (*Message) GetThresholdPubKeyResponse ¶
func (m *Message) GetThresholdPubKeyResponse() *ThresholdPubKeyResponse
func (*Message) MarshalToSizedBuffer ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofWrappers ¶
func (*Message) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_PingRequest ¶
type Message_PingRequest struct {
PingRequest *PingRequest `protobuf:"bytes,7,opt,name=ping_request,json=pingRequest,proto3,oneof" json:"ping_request,omitempty"`
}
func (*Message_PingRequest) MarshalTo ¶
func (m *Message_PingRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_PingRequest) MarshalToSizedBuffer ¶
func (m *Message_PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_PingRequest) Size ¶
func (m *Message_PingRequest) Size() (n int)
type Message_PingResponse ¶
type Message_PingResponse struct {
PingResponse *PingResponse `protobuf:"bytes,8,opt,name=ping_response,json=pingResponse,proto3,oneof" json:"ping_response,omitempty"`
}
func (*Message_PingResponse) MarshalTo ¶
func (m *Message_PingResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_PingResponse) MarshalToSizedBuffer ¶
func (m *Message_PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_PingResponse) Size ¶
func (m *Message_PingResponse) Size() (n int)
type Message_ProTxHashRequest ¶
type Message_ProTxHashRequest struct {
ProTxHashRequest *ProTxHashRequest `protobuf:"bytes,9,opt,name=pro_tx_hash_request,json=proTxHashRequest,proto3,oneof" json:"pro_tx_hash_request,omitempty"`
}
func (*Message_ProTxHashRequest) MarshalTo ¶
func (m *Message_ProTxHashRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_ProTxHashRequest) MarshalToSizedBuffer ¶
func (m *Message_ProTxHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ProTxHashRequest) Size ¶
func (m *Message_ProTxHashRequest) Size() (n int)
type Message_ProTxHashResponse ¶
type Message_ProTxHashResponse struct {
ProTxHashResponse *ProTxHashResponse `protobuf:"bytes,10,opt,name=pro_tx_hash_response,json=proTxHashResponse,proto3,oneof" json:"pro_tx_hash_response,omitempty"`
}
func (*Message_ProTxHashResponse) MarshalTo ¶
func (m *Message_ProTxHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_ProTxHashResponse) MarshalToSizedBuffer ¶
func (m *Message_ProTxHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ProTxHashResponse) Size ¶
func (m *Message_ProTxHashResponse) Size() (n int)
type Message_PubKeyRequest ¶
type Message_PubKeyRequest struct {
PubKeyRequest *PubKeyRequest `protobuf:"bytes,1,opt,name=pub_key_request,json=pubKeyRequest,proto3,oneof" json:"pub_key_request,omitempty"`
}
func (*Message_PubKeyRequest) MarshalTo ¶
func (m *Message_PubKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_PubKeyRequest) MarshalToSizedBuffer ¶
func (m *Message_PubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_PubKeyRequest) Size ¶
func (m *Message_PubKeyRequest) Size() (n int)
type Message_PubKeyResponse ¶
type Message_PubKeyResponse struct {
PubKeyResponse *PubKeyResponse `protobuf:"bytes,2,opt,name=pub_key_response,json=pubKeyResponse,proto3,oneof" json:"pub_key_response,omitempty"`
}
func (*Message_PubKeyResponse) MarshalTo ¶
func (m *Message_PubKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_PubKeyResponse) MarshalToSizedBuffer ¶
func (m *Message_PubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_PubKeyResponse) Size ¶
func (m *Message_PubKeyResponse) Size() (n int)
type Message_SignProposalRequest ¶
type Message_SignProposalRequest struct {
SignProposalRequest *SignProposalRequest `` /* 126-byte string literal not displayed */
}
func (*Message_SignProposalRequest) MarshalTo ¶
func (m *Message_SignProposalRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_SignProposalRequest) MarshalToSizedBuffer ¶
func (m *Message_SignProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_SignProposalRequest) Size ¶
func (m *Message_SignProposalRequest) Size() (n int)
type Message_SignVoteRequest ¶
type Message_SignVoteRequest struct {
SignVoteRequest *SignVoteRequest `protobuf:"bytes,3,opt,name=sign_vote_request,json=signVoteRequest,proto3,oneof" json:"sign_vote_request,omitempty"`
}
func (*Message_SignVoteRequest) MarshalTo ¶
func (m *Message_SignVoteRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_SignVoteRequest) MarshalToSizedBuffer ¶
func (m *Message_SignVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_SignVoteRequest) Size ¶
func (m *Message_SignVoteRequest) Size() (n int)
type Message_SignedProposalResponse ¶
type Message_SignedProposalResponse struct {
SignedProposalResponse *SignedProposalResponse `` /* 135-byte string literal not displayed */
}
func (*Message_SignedProposalResponse) MarshalTo ¶
func (m *Message_SignedProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_SignedProposalResponse) MarshalToSizedBuffer ¶
func (m *Message_SignedProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_SignedProposalResponse) Size ¶
func (m *Message_SignedProposalResponse) Size() (n int)
type Message_SignedVoteResponse ¶
type Message_SignedVoteResponse struct {
SignedVoteResponse *SignedVoteResponse `protobuf:"bytes,4,opt,name=signed_vote_response,json=signedVoteResponse,proto3,oneof" json:"signed_vote_response,omitempty"`
}
func (*Message_SignedVoteResponse) MarshalTo ¶
func (m *Message_SignedVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_SignedVoteResponse) MarshalToSizedBuffer ¶
func (m *Message_SignedVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_SignedVoteResponse) Size ¶
func (m *Message_SignedVoteResponse) Size() (n int)
type Message_ThresholdPubKeyRequest ¶
type Message_ThresholdPubKeyRequest struct {
ThresholdPubKeyRequest *ThresholdPubKeyRequest `` /* 138-byte string literal not displayed */
}
func (*Message_ThresholdPubKeyRequest) MarshalTo ¶
func (m *Message_ThresholdPubKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*Message_ThresholdPubKeyRequest) MarshalToSizedBuffer ¶
func (m *Message_ThresholdPubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ThresholdPubKeyRequest) Size ¶
func (m *Message_ThresholdPubKeyRequest) Size() (n int)
type Message_ThresholdPubKeyResponse ¶
type Message_ThresholdPubKeyResponse struct {
ThresholdPubKeyResponse *ThresholdPubKeyResponse `` /* 141-byte string literal not displayed */
}
func (*Message_ThresholdPubKeyResponse) MarshalTo ¶
func (m *Message_ThresholdPubKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*Message_ThresholdPubKeyResponse) MarshalToSizedBuffer ¶
func (m *Message_ThresholdPubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Message_ThresholdPubKeyResponse) Size ¶
func (m *Message_ThresholdPubKeyResponse) Size() (n int)
type PingRequest ¶
type PingRequest struct { }
PingRequest is a request to confirm that the connection is alive.
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) Marshal ¶
func (m *PingRequest) Marshal() (dAtA []byte, err error)
func (*PingRequest) MarshalToSizedBuffer ¶
func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) Size ¶
func (m *PingRequest) Size() (n int)
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) Unmarshal ¶
func (m *PingRequest) Unmarshal(dAtA []byte) error
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (m *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PingResponse ¶
type PingResponse struct { }
PingResponse is a response to confirm that the connection is alive.
func (*PingResponse) Descriptor ¶
func (*PingResponse) Descriptor() ([]byte, []int)
func (*PingResponse) Marshal ¶
func (m *PingResponse) Marshal() (dAtA []byte, err error)
func (*PingResponse) MarshalToSizedBuffer ¶
func (m *PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) Reset ¶
func (m *PingResponse) Reset()
func (*PingResponse) Size ¶
func (m *PingResponse) Size() (n int)
func (*PingResponse) String ¶
func (m *PingResponse) String() string
func (*PingResponse) Unmarshal ¶
func (m *PingResponse) Unmarshal(dAtA []byte) error
func (*PingResponse) XXX_DiscardUnknown ¶
func (m *PingResponse) XXX_DiscardUnknown()
func (*PingResponse) XXX_Marshal ¶
func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingResponse) XXX_Merge ¶
func (m *PingResponse) XXX_Merge(src proto.Message)
func (*PingResponse) XXX_Size ¶
func (m *PingResponse) XXX_Size() int
func (*PingResponse) XXX_Unmarshal ¶
func (m *PingResponse) XXX_Unmarshal(b []byte) error
type PrivValidatorAPIClient ¶
type PrivValidatorAPIClient interface { GetPubKey(ctx context.Context, in *PubKeyRequest, opts ...grpc.CallOption) (*PubKeyResponse, error) GetProTxHash(ctx context.Context, in *ProTxHashRequest, opts ...grpc.CallOption) (*ProTxHashResponse, error) GetThresholdPubKey(ctx context.Context, in *ThresholdPubKeyRequest, opts ...grpc.CallOption) (*ThresholdPubKeyResponse, error) SignVote(ctx context.Context, in *SignVoteRequest, opts ...grpc.CallOption) (*SignedVoteResponse, error) SignProposal(ctx context.Context, in *SignProposalRequest, opts ...grpc.CallOption) (*SignedProposalResponse, error) }
PrivValidatorAPIClient is the client API for PrivValidatorAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPrivValidatorAPIClient ¶
func NewPrivValidatorAPIClient(cc *grpc.ClientConn) PrivValidatorAPIClient
type PrivValidatorAPIServer ¶
type PrivValidatorAPIServer interface { GetPubKey(context.Context, *PubKeyRequest) (*PubKeyResponse, error) GetProTxHash(context.Context, *ProTxHashRequest) (*ProTxHashResponse, error) GetThresholdPubKey(context.Context, *ThresholdPubKeyRequest) (*ThresholdPubKeyResponse, error) SignVote(context.Context, *SignVoteRequest) (*SignedVoteResponse, error) SignProposal(context.Context, *SignProposalRequest) (*SignedProposalResponse, error) }
PrivValidatorAPIServer is the server API for PrivValidatorAPI service.
type ProTxHashRequest ¶
type ProTxHashRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}
ProTxHashRequest requests the consensus proTxHash from the remote signer.
func (*ProTxHashRequest) Descriptor ¶
func (*ProTxHashRequest) Descriptor() ([]byte, []int)
func (*ProTxHashRequest) GetChainId ¶
func (m *ProTxHashRequest) GetChainId() string
func (*ProTxHashRequest) Marshal ¶
func (m *ProTxHashRequest) Marshal() (dAtA []byte, err error)
func (*ProTxHashRequest) MarshalToSizedBuffer ¶
func (m *ProTxHashRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProTxHashRequest) ProtoMessage ¶
func (*ProTxHashRequest) ProtoMessage()
func (*ProTxHashRequest) Reset ¶
func (m *ProTxHashRequest) Reset()
func (*ProTxHashRequest) Size ¶
func (m *ProTxHashRequest) Size() (n int)
func (*ProTxHashRequest) String ¶
func (m *ProTxHashRequest) String() string
func (*ProTxHashRequest) Unmarshal ¶
func (m *ProTxHashRequest) Unmarshal(dAtA []byte) error
func (*ProTxHashRequest) XXX_DiscardUnknown ¶
func (m *ProTxHashRequest) XXX_DiscardUnknown()
func (*ProTxHashRequest) XXX_Marshal ¶
func (m *ProTxHashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProTxHashRequest) XXX_Merge ¶
func (m *ProTxHashRequest) XXX_Merge(src proto.Message)
func (*ProTxHashRequest) XXX_Size ¶
func (m *ProTxHashRequest) XXX_Size() int
func (*ProTxHashRequest) XXX_Unmarshal ¶
func (m *ProTxHashRequest) XXX_Unmarshal(b []byte) error
type ProTxHashResponse ¶
type ProTxHashResponse struct { ProTxHash []byte `protobuf:"bytes,1,opt,name=pro_tx_hash,json=proTxHash,proto3" json:"pro_tx_hash,omitempty"` Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
ProTxHashResponse is a response message containing the protxhash.
func (*ProTxHashResponse) Descriptor ¶
func (*ProTxHashResponse) Descriptor() ([]byte, []int)
func (*ProTxHashResponse) GetError ¶
func (m *ProTxHashResponse) GetError() *RemoteSignerError
func (*ProTxHashResponse) GetProTxHash ¶
func (m *ProTxHashResponse) GetProTxHash() []byte
func (*ProTxHashResponse) Marshal ¶
func (m *ProTxHashResponse) Marshal() (dAtA []byte, err error)
func (*ProTxHashResponse) MarshalTo ¶
func (m *ProTxHashResponse) MarshalTo(dAtA []byte) (int, error)
func (*ProTxHashResponse) MarshalToSizedBuffer ¶
func (m *ProTxHashResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProTxHashResponse) ProtoMessage ¶
func (*ProTxHashResponse) ProtoMessage()
func (*ProTxHashResponse) Reset ¶
func (m *ProTxHashResponse) Reset()
func (*ProTxHashResponse) Size ¶
func (m *ProTxHashResponse) Size() (n int)
func (*ProTxHashResponse) String ¶
func (m *ProTxHashResponse) String() string
func (*ProTxHashResponse) Unmarshal ¶
func (m *ProTxHashResponse) Unmarshal(dAtA []byte) error
func (*ProTxHashResponse) XXX_DiscardUnknown ¶
func (m *ProTxHashResponse) XXX_DiscardUnknown()
func (*ProTxHashResponse) XXX_Marshal ¶
func (m *ProTxHashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProTxHashResponse) XXX_Merge ¶
func (m *ProTxHashResponse) XXX_Merge(src proto.Message)
func (*ProTxHashResponse) XXX_Size ¶
func (m *ProTxHashResponse) XXX_Size() int
func (*ProTxHashResponse) XXX_Unmarshal ¶
func (m *ProTxHashResponse) XXX_Unmarshal(b []byte) error
type PubKeyRequest ¶
type PubKeyRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` QuorumHash []byte `protobuf:"bytes,2,opt,name=quorum_hash,json=quorumHash,proto3" json:"quorum_hash,omitempty"` }
PubKeyRequest requests the consensus public key from the remote signer.
func (*PubKeyRequest) Descriptor ¶
func (*PubKeyRequest) Descriptor() ([]byte, []int)
func (*PubKeyRequest) GetChainId ¶
func (m *PubKeyRequest) GetChainId() string
func (*PubKeyRequest) GetQuorumHash ¶
func (m *PubKeyRequest) GetQuorumHash() []byte
func (*PubKeyRequest) Marshal ¶
func (m *PubKeyRequest) Marshal() (dAtA []byte, err error)
func (*PubKeyRequest) MarshalToSizedBuffer ¶
func (m *PubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PubKeyRequest) ProtoMessage ¶
func (*PubKeyRequest) ProtoMessage()
func (*PubKeyRequest) Reset ¶
func (m *PubKeyRequest) Reset()
func (*PubKeyRequest) Size ¶
func (m *PubKeyRequest) Size() (n int)
func (*PubKeyRequest) String ¶
func (m *PubKeyRequest) String() string
func (*PubKeyRequest) Unmarshal ¶
func (m *PubKeyRequest) Unmarshal(dAtA []byte) error
func (*PubKeyRequest) XXX_DiscardUnknown ¶
func (m *PubKeyRequest) XXX_DiscardUnknown()
func (*PubKeyRequest) XXX_Marshal ¶
func (m *PubKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PubKeyRequest) XXX_Merge ¶
func (m *PubKeyRequest) XXX_Merge(src proto.Message)
func (*PubKeyRequest) XXX_Size ¶
func (m *PubKeyRequest) XXX_Size() int
func (*PubKeyRequest) XXX_Unmarshal ¶
func (m *PubKeyRequest) XXX_Unmarshal(b []byte) error
type PubKeyResponse ¶
type PubKeyResponse struct { PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"` Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
PubKeyResponse is a response message containing the public key.
func (*PubKeyResponse) Descriptor ¶
func (*PubKeyResponse) Descriptor() ([]byte, []int)
func (*PubKeyResponse) GetError ¶
func (m *PubKeyResponse) GetError() *RemoteSignerError
func (*PubKeyResponse) GetPubKey ¶
func (m *PubKeyResponse) GetPubKey() crypto.PublicKey
func (*PubKeyResponse) Marshal ¶
func (m *PubKeyResponse) Marshal() (dAtA []byte, err error)
func (*PubKeyResponse) MarshalToSizedBuffer ¶
func (m *PubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PubKeyResponse) ProtoMessage ¶
func (*PubKeyResponse) ProtoMessage()
func (*PubKeyResponse) Reset ¶
func (m *PubKeyResponse) Reset()
func (*PubKeyResponse) Size ¶
func (m *PubKeyResponse) Size() (n int)
func (*PubKeyResponse) String ¶
func (m *PubKeyResponse) String() string
func (*PubKeyResponse) Unmarshal ¶
func (m *PubKeyResponse) Unmarshal(dAtA []byte) error
func (*PubKeyResponse) XXX_DiscardUnknown ¶
func (m *PubKeyResponse) XXX_DiscardUnknown()
func (*PubKeyResponse) XXX_Marshal ¶
func (m *PubKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PubKeyResponse) XXX_Merge ¶
func (m *PubKeyResponse) XXX_Merge(src proto.Message)
func (*PubKeyResponse) XXX_Size ¶
func (m *PubKeyResponse) XXX_Size() int
func (*PubKeyResponse) XXX_Unmarshal ¶
func (m *PubKeyResponse) XXX_Unmarshal(b []byte) error
type RemoteSignerError ¶
type RemoteSignerError struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` }
func (*RemoteSignerError) Descriptor ¶
func (*RemoteSignerError) Descriptor() ([]byte, []int)
func (*RemoteSignerError) GetCode ¶
func (m *RemoteSignerError) GetCode() int32
func (*RemoteSignerError) GetDescription ¶
func (m *RemoteSignerError) GetDescription() string
func (*RemoteSignerError) Marshal ¶
func (m *RemoteSignerError) Marshal() (dAtA []byte, err error)
func (*RemoteSignerError) MarshalTo ¶
func (m *RemoteSignerError) MarshalTo(dAtA []byte) (int, error)
func (*RemoteSignerError) MarshalToSizedBuffer ¶
func (m *RemoteSignerError) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoteSignerError) ProtoMessage ¶
func (*RemoteSignerError) ProtoMessage()
func (*RemoteSignerError) Reset ¶
func (m *RemoteSignerError) Reset()
func (*RemoteSignerError) Size ¶
func (m *RemoteSignerError) Size() (n int)
func (*RemoteSignerError) String ¶
func (m *RemoteSignerError) String() string
func (*RemoteSignerError) Unmarshal ¶
func (m *RemoteSignerError) Unmarshal(dAtA []byte) error
func (*RemoteSignerError) XXX_DiscardUnknown ¶
func (m *RemoteSignerError) XXX_DiscardUnknown()
func (*RemoteSignerError) XXX_Marshal ¶
func (m *RemoteSignerError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoteSignerError) XXX_Merge ¶
func (m *RemoteSignerError) XXX_Merge(src proto.Message)
func (*RemoteSignerError) XXX_Size ¶
func (m *RemoteSignerError) XXX_Size() int
func (*RemoteSignerError) XXX_Unmarshal ¶
func (m *RemoteSignerError) XXX_Unmarshal(b []byte) error
type SignProposalRequest ¶
type SignProposalRequest struct { Proposal *types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` QuorumType int32 `protobuf:"varint,3,opt,name=quorum_type,json=quorumType,proto3" json:"quorum_type,omitempty"` QuorumHash []byte `protobuf:"bytes,4,opt,name=quorum_hash,json=quorumHash,proto3" json:"quorum_hash,omitempty"` }
SignProposalRequest is a request to sign a proposal
func (*SignProposalRequest) Descriptor ¶
func (*SignProposalRequest) Descriptor() ([]byte, []int)
func (*SignProposalRequest) GetChainId ¶
func (m *SignProposalRequest) GetChainId() string
func (*SignProposalRequest) GetProposal ¶
func (m *SignProposalRequest) GetProposal() *types.Proposal
func (*SignProposalRequest) GetQuorumHash ¶
func (m *SignProposalRequest) GetQuorumHash() []byte
func (*SignProposalRequest) GetQuorumType ¶
func (m *SignProposalRequest) GetQuorumType() int32
func (*SignProposalRequest) Marshal ¶
func (m *SignProposalRequest) Marshal() (dAtA []byte, err error)
func (*SignProposalRequest) MarshalTo ¶
func (m *SignProposalRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignProposalRequest) MarshalToSizedBuffer ¶
func (m *SignProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignProposalRequest) ProtoMessage ¶
func (*SignProposalRequest) ProtoMessage()
func (*SignProposalRequest) Reset ¶
func (m *SignProposalRequest) Reset()
func (*SignProposalRequest) Size ¶
func (m *SignProposalRequest) Size() (n int)
func (*SignProposalRequest) String ¶
func (m *SignProposalRequest) String() string
func (*SignProposalRequest) Unmarshal ¶
func (m *SignProposalRequest) Unmarshal(dAtA []byte) error
func (*SignProposalRequest) XXX_DiscardUnknown ¶
func (m *SignProposalRequest) XXX_DiscardUnknown()
func (*SignProposalRequest) XXX_Marshal ¶
func (m *SignProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignProposalRequest) XXX_Merge ¶
func (m *SignProposalRequest) XXX_Merge(src proto.Message)
func (*SignProposalRequest) XXX_Size ¶
func (m *SignProposalRequest) XXX_Size() int
func (*SignProposalRequest) XXX_Unmarshal ¶
func (m *SignProposalRequest) XXX_Unmarshal(b []byte) error
type SignVoteRequest ¶
type SignVoteRequest struct { Vote *types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` QuorumType int32 `protobuf:"varint,3,opt,name=quorum_type,json=quorumType,proto3" json:"quorum_type,omitempty"` QuorumHash []byte `protobuf:"bytes,4,opt,name=quorum_hash,json=quorumHash,proto3" json:"quorum_hash,omitempty"` }
SignVoteRequest is a request to sign a vote
func (*SignVoteRequest) Descriptor ¶
func (*SignVoteRequest) Descriptor() ([]byte, []int)
func (*SignVoteRequest) GetChainId ¶
func (m *SignVoteRequest) GetChainId() string
func (*SignVoteRequest) GetQuorumHash ¶
func (m *SignVoteRequest) GetQuorumHash() []byte
func (*SignVoteRequest) GetQuorumType ¶
func (m *SignVoteRequest) GetQuorumType() int32
func (*SignVoteRequest) GetVote ¶
func (m *SignVoteRequest) GetVote() *types.Vote
func (*SignVoteRequest) Marshal ¶
func (m *SignVoteRequest) Marshal() (dAtA []byte, err error)
func (*SignVoteRequest) MarshalToSizedBuffer ¶
func (m *SignVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignVoteRequest) ProtoMessage ¶
func (*SignVoteRequest) ProtoMessage()
func (*SignVoteRequest) Reset ¶
func (m *SignVoteRequest) Reset()
func (*SignVoteRequest) Size ¶
func (m *SignVoteRequest) Size() (n int)
func (*SignVoteRequest) String ¶
func (m *SignVoteRequest) String() string
func (*SignVoteRequest) Unmarshal ¶
func (m *SignVoteRequest) Unmarshal(dAtA []byte) error
func (*SignVoteRequest) XXX_DiscardUnknown ¶
func (m *SignVoteRequest) XXX_DiscardUnknown()
func (*SignVoteRequest) XXX_Marshal ¶
func (m *SignVoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignVoteRequest) XXX_Merge ¶
func (m *SignVoteRequest) XXX_Merge(src proto.Message)
func (*SignVoteRequest) XXX_Size ¶
func (m *SignVoteRequest) XXX_Size() int
func (*SignVoteRequest) XXX_Unmarshal ¶
func (m *SignVoteRequest) XXX_Unmarshal(b []byte) error
type SignedProposalResponse ¶
type SignedProposalResponse struct { Proposal types.Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal"` Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
SignedProposalResponse is response containing a signed proposal or an error
func (*SignedProposalResponse) Descriptor ¶
func (*SignedProposalResponse) Descriptor() ([]byte, []int)
func (*SignedProposalResponse) GetError ¶
func (m *SignedProposalResponse) GetError() *RemoteSignerError
func (*SignedProposalResponse) GetProposal ¶
func (m *SignedProposalResponse) GetProposal() types.Proposal
func (*SignedProposalResponse) Marshal ¶
func (m *SignedProposalResponse) Marshal() (dAtA []byte, err error)
func (*SignedProposalResponse) MarshalTo ¶
func (m *SignedProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*SignedProposalResponse) MarshalToSizedBuffer ¶
func (m *SignedProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedProposalResponse) ProtoMessage ¶
func (*SignedProposalResponse) ProtoMessage()
func (*SignedProposalResponse) Reset ¶
func (m *SignedProposalResponse) Reset()
func (*SignedProposalResponse) Size ¶
func (m *SignedProposalResponse) Size() (n int)
func (*SignedProposalResponse) String ¶
func (m *SignedProposalResponse) String() string
func (*SignedProposalResponse) Unmarshal ¶
func (m *SignedProposalResponse) Unmarshal(dAtA []byte) error
func (*SignedProposalResponse) XXX_DiscardUnknown ¶
func (m *SignedProposalResponse) XXX_DiscardUnknown()
func (*SignedProposalResponse) XXX_Marshal ¶
func (m *SignedProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedProposalResponse) XXX_Merge ¶
func (m *SignedProposalResponse) XXX_Merge(src proto.Message)
func (*SignedProposalResponse) XXX_Size ¶
func (m *SignedProposalResponse) XXX_Size() int
func (*SignedProposalResponse) XXX_Unmarshal ¶
func (m *SignedProposalResponse) XXX_Unmarshal(b []byte) error
type SignedVoteResponse ¶
type SignedVoteResponse struct { Vote types.Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote"` Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
SignedVoteResponse is a response containing a signed vote or an error
func (*SignedVoteResponse) Descriptor ¶
func (*SignedVoteResponse) Descriptor() ([]byte, []int)
func (*SignedVoteResponse) GetError ¶
func (m *SignedVoteResponse) GetError() *RemoteSignerError
func (*SignedVoteResponse) GetVote ¶
func (m *SignedVoteResponse) GetVote() types.Vote
func (*SignedVoteResponse) Marshal ¶
func (m *SignedVoteResponse) Marshal() (dAtA []byte, err error)
func (*SignedVoteResponse) MarshalTo ¶
func (m *SignedVoteResponse) MarshalTo(dAtA []byte) (int, error)
func (*SignedVoteResponse) MarshalToSizedBuffer ¶
func (m *SignedVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedVoteResponse) ProtoMessage ¶
func (*SignedVoteResponse) ProtoMessage()
func (*SignedVoteResponse) Reset ¶
func (m *SignedVoteResponse) Reset()
func (*SignedVoteResponse) Size ¶
func (m *SignedVoteResponse) Size() (n int)
func (*SignedVoteResponse) String ¶
func (m *SignedVoteResponse) String() string
func (*SignedVoteResponse) Unmarshal ¶
func (m *SignedVoteResponse) Unmarshal(dAtA []byte) error
func (*SignedVoteResponse) XXX_DiscardUnknown ¶
func (m *SignedVoteResponse) XXX_DiscardUnknown()
func (*SignedVoteResponse) XXX_Marshal ¶
func (m *SignedVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedVoteResponse) XXX_Merge ¶
func (m *SignedVoteResponse) XXX_Merge(src proto.Message)
func (*SignedVoteResponse) XXX_Size ¶
func (m *SignedVoteResponse) XXX_Size() int
func (*SignedVoteResponse) XXX_Unmarshal ¶
func (m *SignedVoteResponse) XXX_Unmarshal(b []byte) error
type ThresholdPubKeyRequest ¶
type ThresholdPubKeyRequest struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` QuorumHash []byte `protobuf:"bytes,2,opt,name=quorum_hash,json=quorumHash,proto3" json:"quorum_hash,omitempty"` }
PubKeyRequest requests the consensus public key from the remote signer.
func (*ThresholdPubKeyRequest) Descriptor ¶
func (*ThresholdPubKeyRequest) Descriptor() ([]byte, []int)
func (*ThresholdPubKeyRequest) GetChainId ¶
func (m *ThresholdPubKeyRequest) GetChainId() string
func (*ThresholdPubKeyRequest) GetQuorumHash ¶
func (m *ThresholdPubKeyRequest) GetQuorumHash() []byte
func (*ThresholdPubKeyRequest) Marshal ¶
func (m *ThresholdPubKeyRequest) Marshal() (dAtA []byte, err error)
func (*ThresholdPubKeyRequest) MarshalTo ¶
func (m *ThresholdPubKeyRequest) MarshalTo(dAtA []byte) (int, error)
func (*ThresholdPubKeyRequest) MarshalToSizedBuffer ¶
func (m *ThresholdPubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ThresholdPubKeyRequest) ProtoMessage ¶
func (*ThresholdPubKeyRequest) ProtoMessage()
func (*ThresholdPubKeyRequest) Reset ¶
func (m *ThresholdPubKeyRequest) Reset()
func (*ThresholdPubKeyRequest) Size ¶
func (m *ThresholdPubKeyRequest) Size() (n int)
func (*ThresholdPubKeyRequest) String ¶
func (m *ThresholdPubKeyRequest) String() string
func (*ThresholdPubKeyRequest) Unmarshal ¶
func (m *ThresholdPubKeyRequest) Unmarshal(dAtA []byte) error
func (*ThresholdPubKeyRequest) XXX_DiscardUnknown ¶
func (m *ThresholdPubKeyRequest) XXX_DiscardUnknown()
func (*ThresholdPubKeyRequest) XXX_Marshal ¶
func (m *ThresholdPubKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThresholdPubKeyRequest) XXX_Merge ¶
func (m *ThresholdPubKeyRequest) XXX_Merge(src proto.Message)
func (*ThresholdPubKeyRequest) XXX_Size ¶
func (m *ThresholdPubKeyRequest) XXX_Size() int
func (*ThresholdPubKeyRequest) XXX_Unmarshal ¶
func (m *ThresholdPubKeyRequest) XXX_Unmarshal(b []byte) error
type ThresholdPubKeyResponse ¶
type ThresholdPubKeyResponse struct { PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"` Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
PubKeyResponse is a response message containing the public key.
func (*ThresholdPubKeyResponse) Descriptor ¶
func (*ThresholdPubKeyResponse) Descriptor() ([]byte, []int)
func (*ThresholdPubKeyResponse) GetError ¶
func (m *ThresholdPubKeyResponse) GetError() *RemoteSignerError
func (*ThresholdPubKeyResponse) GetPubKey ¶
func (m *ThresholdPubKeyResponse) GetPubKey() crypto.PublicKey
func (*ThresholdPubKeyResponse) Marshal ¶
func (m *ThresholdPubKeyResponse) Marshal() (dAtA []byte, err error)
func (*ThresholdPubKeyResponse) MarshalTo ¶
func (m *ThresholdPubKeyResponse) MarshalTo(dAtA []byte) (int, error)
func (*ThresholdPubKeyResponse) MarshalToSizedBuffer ¶
func (m *ThresholdPubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ThresholdPubKeyResponse) ProtoMessage ¶
func (*ThresholdPubKeyResponse) ProtoMessage()
func (*ThresholdPubKeyResponse) Reset ¶
func (m *ThresholdPubKeyResponse) Reset()
func (*ThresholdPubKeyResponse) Size ¶
func (m *ThresholdPubKeyResponse) Size() (n int)
func (*ThresholdPubKeyResponse) String ¶
func (m *ThresholdPubKeyResponse) String() string
func (*ThresholdPubKeyResponse) Unmarshal ¶
func (m *ThresholdPubKeyResponse) Unmarshal(dAtA []byte) error
func (*ThresholdPubKeyResponse) XXX_DiscardUnknown ¶
func (m *ThresholdPubKeyResponse) XXX_DiscardUnknown()
func (*ThresholdPubKeyResponse) XXX_Marshal ¶
func (m *ThresholdPubKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThresholdPubKeyResponse) XXX_Merge ¶
func (m *ThresholdPubKeyResponse) XXX_Merge(src proto.Message)
func (*ThresholdPubKeyResponse) XXX_Size ¶
func (m *ThresholdPubKeyResponse) XXX_Size() int
func (*ThresholdPubKeyResponse) XXX_Unmarshal ¶
func (m *ThresholdPubKeyResponse) XXX_Unmarshal(b []byte) error
type UnimplementedPrivValidatorAPIServer ¶
type UnimplementedPrivValidatorAPIServer struct { }
UnimplementedPrivValidatorAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedPrivValidatorAPIServer) GetProTxHash ¶
func (*UnimplementedPrivValidatorAPIServer) GetProTxHash(ctx context.Context, req *ProTxHashRequest) (*ProTxHashResponse, error)
func (*UnimplementedPrivValidatorAPIServer) GetPubKey ¶
func (*UnimplementedPrivValidatorAPIServer) GetPubKey(ctx context.Context, req *PubKeyRequest) (*PubKeyResponse, error)
func (*UnimplementedPrivValidatorAPIServer) GetThresholdPubKey ¶
func (*UnimplementedPrivValidatorAPIServer) GetThresholdPubKey(ctx context.Context, req *ThresholdPubKeyRequest) (*ThresholdPubKeyResponse, error)
func (*UnimplementedPrivValidatorAPIServer) SignProposal ¶
func (*UnimplementedPrivValidatorAPIServer) SignProposal(ctx context.Context, req *SignProposalRequest) (*SignedProposalResponse, error)
func (*UnimplementedPrivValidatorAPIServer) SignVote ¶
func (*UnimplementedPrivValidatorAPIServer) SignVote(ctx context.Context, req *SignVoteRequest) (*SignedVoteResponse, error)