Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var Errors_name = map[int32]string + var Errors_value = map[string]int32 + func RegisterPrivValidatorAPIServer(s *grpc.Server, srv PrivValidatorAPIServer) + type AuthSigMessage struct + PubKey crypto.PublicKey + Sig []byte + func (*AuthSigMessage) Descriptor() ([]byte, []int) + func (*AuthSigMessage) ProtoMessage() + 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 (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 int32 + const Errors_ERRORS_CONNECTION_TIMEOUT + const Errors_ERRORS_NO_CONNECTION + const Errors_ERRORS_READ_TIMEOUT + const Errors_ERRORS_UNEXPECTED_RESPONSE + const Errors_ERRORS_UNKNOWN + const Errors_ERRORS_WRITE_TIMEOUT + func (Errors) EnumDescriptor() ([]byte, []int) + func (x Errors) String() string + type Message struct + Sum isMessage_Sum + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (*Message) XXX_OneofWrappers() []interface{} + func (m *Message) GetPingRequest() *PingRequest + func (m *Message) GetPingResponse() *PingResponse + 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) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error) + 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 (m *Message) XXX_Size() int + func (m *Message) XXX_Unmarshal(b []byte) error + type Message_PingRequest struct + PingRequest *PingRequest + func (m *Message_PingRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PingRequest) Size() (n int) + type Message_PingResponse struct + PingResponse *PingResponse + func (m *Message_PingResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PingResponse) Size() (n int) + type Message_PubKeyRequest struct + PubKeyRequest *PubKeyRequest + func (m *Message_PubKeyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PubKeyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PubKeyRequest) Size() (n int) + type Message_PubKeyResponse struct + PubKeyResponse *PubKeyResponse + func (m *Message_PubKeyResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PubKeyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PubKeyResponse) Size() (n int) + type Message_SignProposalRequest struct + SignProposalRequest *SignProposalRequest + func (m *Message_SignProposalRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SignProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SignProposalRequest) Size() (n int) + type Message_SignVoteRequest struct + SignVoteRequest *SignVoteRequest + func (m *Message_SignVoteRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SignVoteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SignVoteRequest) Size() (n int) + type Message_SignedProposalResponse struct + SignedProposalResponse *SignedProposalResponse + func (m *Message_SignedProposalResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SignedProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SignedProposalResponse) Size() (n int) + type Message_SignedVoteResponse struct + SignedVoteResponse *SignedVoteResponse + func (m *Message_SignedVoteResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SignedVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SignedVoteResponse) Size() (n int) + type PingRequest struct + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + 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 (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 struct + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + 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 (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 interface + GetPubKey func(ctx context.Context, in *PubKeyRequest, opts ...grpc.CallOption) (*PubKeyResponse, error) + SignProposal func(ctx context.Context, in *SignProposalRequest, opts ...grpc.CallOption) (*SignedProposalResponse, error) + SignVote func(ctx context.Context, in *SignVoteRequest, opts ...grpc.CallOption) (*SignedVoteResponse, error) + func NewPrivValidatorAPIClient(cc *grpc.ClientConn) PrivValidatorAPIClient + type PrivValidatorAPIServer interface + GetPubKey func(context.Context, *PubKeyRequest) (*PubKeyResponse, error) + SignProposal func(context.Context, *SignProposalRequest) (*SignedProposalResponse, error) + SignVote func(context.Context, *SignVoteRequest) (*SignedVoteResponse, error) + type PubKeyRequest struct + ChainId string + func (*PubKeyRequest) Descriptor() ([]byte, []int) + func (*PubKeyRequest) ProtoMessage() + func (m *PubKeyRequest) GetChainId() string + 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 (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 struct + Error *RemoteSignerError + PubKey crypto.PublicKey + func (*PubKeyResponse) Descriptor() ([]byte, []int) + func (*PubKeyResponse) ProtoMessage() + 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 (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 struct + Code int32 + Description string + func (*RemoteSignerError) Descriptor() ([]byte, []int) + func (*RemoteSignerError) ProtoMessage() + 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 (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 struct + ChainId string + Proposal *types.Proposal + func (*SignProposalRequest) Descriptor() ([]byte, []int) + func (*SignProposalRequest) ProtoMessage() + func (m *SignProposalRequest) GetChainId() string + func (m *SignProposalRequest) GetProposal() *types.Proposal + 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 (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 struct + ChainId string + Vote *types.Vote + func (*SignVoteRequest) Descriptor() ([]byte, []int) + func (*SignVoteRequest) ProtoMessage() + func (m *SignVoteRequest) GetChainId() string + 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 (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 struct + Error *RemoteSignerError + Proposal types.Proposal + func (*SignedProposalResponse) Descriptor() ([]byte, []int) + func (*SignedProposalResponse) ProtoMessage() + 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 (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 struct + Error *RemoteSignerError + Vote types.Vote + func (*SignedVoteResponse) Descriptor() ([]byte, []int) + func (*SignedVoteResponse) ProtoMessage() + 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 (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 UnimplementedPrivValidatorAPIServer struct + func (*UnimplementedPrivValidatorAPIServer) GetPubKey(ctx context.Context, req *PubKeyRequest) (*PubKeyResponse, error) + func (*UnimplementedPrivValidatorAPIServer) SignProposal(ctx context.Context, req *SignProposalRequest) (*SignedProposalResponse, error) + func (*UnimplementedPrivValidatorAPIServer) SignVote(ctx context.Context, req *SignVoteRequest) (*SignedVoteResponse, error)