Documentation
¶
Index ¶
- Variables
- type BlockID
- type CanonicalBlockID
- func (*CanonicalBlockID) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalBlockID) GetHash() []byte
- func (x *CanonicalBlockID) GetPartSetHeader() *CanonicalPartSetHeader
- func (*CanonicalBlockID) ProtoMessage()
- func (x *CanonicalBlockID) ProtoReflect() protoreflect.Message
- func (x *CanonicalBlockID) Reset()
- func (x *CanonicalBlockID) String() string
- type CanonicalPartSetHeader
- func (*CanonicalPartSetHeader) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalPartSetHeader) GetHash() []byte
- func (x *CanonicalPartSetHeader) GetTotal() uint32
- func (*CanonicalPartSetHeader) ProtoMessage()
- func (x *CanonicalPartSetHeader) ProtoReflect() protoreflect.Message
- func (x *CanonicalPartSetHeader) Reset()
- func (x *CanonicalPartSetHeader) String() string
- type CanonicalProposal
- func (*CanonicalProposal) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalProposal) GetBlockId() *CanonicalBlockID
- func (x *CanonicalProposal) GetChainId() string
- func (x *CanonicalProposal) GetHeight() int64
- func (x *CanonicalProposal) GetPolRound() int64
- func (x *CanonicalProposal) GetRound() int64
- func (x *CanonicalProposal) GetTimestamp() *timestamppb.Timestamp
- func (x *CanonicalProposal) GetType() SignedMsgType
- func (*CanonicalProposal) ProtoMessage()
- func (x *CanonicalProposal) ProtoReflect() protoreflect.Message
- func (x *CanonicalProposal) Reset()
- func (x *CanonicalProposal) String() string
- type CanonicalVote
- func (*CanonicalVote) Descriptor() ([]byte, []int)deprecated
- func (x *CanonicalVote) GetBlockId() *CanonicalBlockID
- func (x *CanonicalVote) GetChainId() string
- func (x *CanonicalVote) GetHeight() int64
- func (x *CanonicalVote) GetRound() int64
- func (x *CanonicalVote) GetTimestamp() *timestamppb.Timestamp
- func (x *CanonicalVote) GetType() SignedMsgType
- func (*CanonicalVote) ProtoMessage()
- func (x *CanonicalVote) ProtoReflect() protoreflect.Message
- func (x *CanonicalVote) Reset()
- func (x *CanonicalVote) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetPingRequest() *PingRequest
- func (x *Message) GetPingResponse() *PingResponse
- func (x *Message) GetPubKeyRequest() *PubKeyRequest
- func (x *Message) GetPubKeyResponse() *PubKeyResponse
- func (x *Message) GetSignProposalRequest() *SignProposalRequest
- func (x *Message) GetSignVoteRequest() *SignVoteRequest
- func (x *Message) GetSignedProposalResponse() *SignedProposalResponse
- func (x *Message) GetSignedVoteResponse() *SignedVoteResponse
- func (x *Message) GetSum() isMessage_Sum
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_PingRequest
- type Message_PingResponse
- type Message_PubKeyRequest
- type Message_PubKeyResponse
- type Message_SignProposalRequest
- type Message_SignVoteRequest
- type Message_SignedProposalResponse
- type Message_SignedVoteResponse
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)deprecated
- func (x *PartSetHeader) GetHash() []byte
- func (x *PartSetHeader) GetTotal() uint32
- func (*PartSetHeader) ProtoMessage()
- func (x *PartSetHeader) ProtoReflect() protoreflect.Message
- func (x *PartSetHeader) Reset()
- func (x *PartSetHeader) String() string
- type PingRequest
- type PingResponse
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetBlockId() *BlockID
- func (x *Proposal) GetHeight() int64
- func (x *Proposal) GetPolRound() int32
- func (x *Proposal) GetRound() int32
- func (x *Proposal) GetSignature() []byte
- func (x *Proposal) GetTimestamp() *timestamppb.Timestamp
- func (x *Proposal) GetType() SignedMsgType
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type PubKeyRequest
- type PubKeyResponse
- func (*PubKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PubKeyResponse) GetError() *RemoteSignerError
- func (x *PubKeyResponse) GetPubKey() *PublicKey
- func (*PubKeyResponse) ProtoMessage()
- func (x *PubKeyResponse) ProtoReflect() protoreflect.Message
- func (x *PubKeyResponse) Reset()
- func (x *PubKeyResponse) String() string
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetEd25519() []byte
- func (x *PublicKey) GetSecp256K1() []byte
- func (x *PublicKey) GetSum() isPublicKey_Sum
- func (*PublicKey) ProtoMessage()
- func (x *PublicKey) ProtoReflect() protoreflect.Message
- func (x *PublicKey) Reset()
- func (x *PublicKey) String() string
- type PublicKey_Ed25519
- type PublicKey_Secp256K1
- type RemoteSignerError
- func (*RemoteSignerError) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteSignerError) GetCode() int32
- func (x *RemoteSignerError) GetDescription() string
- func (*RemoteSignerError) ProtoMessage()
- func (x *RemoteSignerError) ProtoReflect() protoreflect.Message
- func (x *RemoteSignerError) Reset()
- func (x *RemoteSignerError) String() string
- type SignProposalRequest
- func (*SignProposalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignProposalRequest) GetChainId() string
- func (x *SignProposalRequest) GetProposal() *Proposal
- func (*SignProposalRequest) ProtoMessage()
- func (x *SignProposalRequest) ProtoReflect() protoreflect.Message
- func (x *SignProposalRequest) Reset()
- func (x *SignProposalRequest) String() string
- type SignVoteRequest
- func (*SignVoteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignVoteRequest) GetChainId() string
- func (x *SignVoteRequest) GetVote() *Vote
- func (*SignVoteRequest) ProtoMessage()
- func (x *SignVoteRequest) ProtoReflect() protoreflect.Message
- func (x *SignVoteRequest) Reset()
- func (x *SignVoteRequest) String() string
- type SignedMsgType
- func (SignedMsgType) Descriptor() protoreflect.EnumDescriptor
- func (x SignedMsgType) Enum() *SignedMsgType
- func (SignedMsgType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignedMsgType) Number() protoreflect.EnumNumber
- func (x SignedMsgType) String() string
- func (SignedMsgType) Type() protoreflect.EnumType
- type SignedProposalResponse
- func (*SignedProposalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignedProposalResponse) GetError() *RemoteSignerError
- func (x *SignedProposalResponse) GetProposal() *Proposal
- func (*SignedProposalResponse) ProtoMessage()
- func (x *SignedProposalResponse) ProtoReflect() protoreflect.Message
- func (x *SignedProposalResponse) Reset()
- func (x *SignedProposalResponse) String() string
- type SignedVoteResponse
- func (*SignedVoteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignedVoteResponse) GetError() *RemoteSignerError
- func (x *SignedVoteResponse) GetVote() *Vote
- func (*SignedVoteResponse) ProtoMessage()
- func (x *SignedVoteResponse) ProtoReflect() protoreflect.Message
- func (x *SignedVoteResponse) Reset()
- func (x *SignedVoteResponse) String() string
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetBlockId() *BlockID
- func (x *Vote) GetHeight() int64
- func (x *Vote) GetRound() int32
- func (x *Vote) GetSignature() []byte
- func (x *Vote) GetTimestamp() *timestamppb.Timestamp
- func (x *Vote) GetType() SignedMsgType
- func (x *Vote) GetValidatorAddress() []byte
- func (x *Vote) GetValidatorIndex() int32
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SignedMsgType_name = map[int32]string{ 0: "SIGNED_MSG_TYPE_UNKNOWN", 1: "SIGNED_MSG_TYPE_PREVOTE", 2: "SIGNED_MSG_TYPE_PRECOMMIT", 32: "SIGNED_MSG_TYPE_PROPOSAL", } SignedMsgType_value = map[string]int32{ "SIGNED_MSG_TYPE_UNKNOWN": 0, "SIGNED_MSG_TYPE_PREVOTE": 1, "SIGNED_MSG_TYPE_PRECOMMIT": 2, "SIGNED_MSG_TYPE_PROPOSAL": 32, } )
Enum value maps for SignedMsgType.
var File_upstream_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockID ¶
type BlockID struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
PartSetHeader *PartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header,omitempty"`
// contains filtered or unexported fields
}
func (*BlockID) Descriptor
deprecated
func (*BlockID) GetPartSetHeader ¶
func (x *BlockID) GetPartSetHeader() *PartSetHeader
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) ProtoReflect ¶
func (x *BlockID) ProtoReflect() protoreflect.Message
type CanonicalBlockID ¶
type CanonicalBlockID struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
PartSetHeader *CanonicalPartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header,omitempty"`
// contains filtered or unexported fields
}
func (*CanonicalBlockID) Descriptor
deprecated
func (*CanonicalBlockID) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalBlockID.ProtoReflect.Descriptor instead.
func (*CanonicalBlockID) GetHash ¶
func (x *CanonicalBlockID) GetHash() []byte
func (*CanonicalBlockID) GetPartSetHeader ¶
func (x *CanonicalBlockID) GetPartSetHeader() *CanonicalPartSetHeader
func (*CanonicalBlockID) ProtoMessage ¶
func (*CanonicalBlockID) ProtoMessage()
func (*CanonicalBlockID) ProtoReflect ¶
func (x *CanonicalBlockID) ProtoReflect() protoreflect.Message
func (*CanonicalBlockID) Reset ¶
func (x *CanonicalBlockID) Reset()
func (*CanonicalBlockID) String ¶
func (x *CanonicalBlockID) String() string
type CanonicalPartSetHeader ¶
type CanonicalPartSetHeader struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*CanonicalPartSetHeader) Descriptor
deprecated
func (*CanonicalPartSetHeader) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalPartSetHeader.ProtoReflect.Descriptor instead.
func (*CanonicalPartSetHeader) GetHash ¶
func (x *CanonicalPartSetHeader) GetHash() []byte
func (*CanonicalPartSetHeader) GetTotal ¶
func (x *CanonicalPartSetHeader) GetTotal() uint32
func (*CanonicalPartSetHeader) ProtoMessage ¶
func (*CanonicalPartSetHeader) ProtoMessage()
func (*CanonicalPartSetHeader) ProtoReflect ¶
func (x *CanonicalPartSetHeader) ProtoReflect() protoreflect.Message
func (*CanonicalPartSetHeader) Reset ¶
func (x *CanonicalPartSetHeader) Reset()
func (*CanonicalPartSetHeader) String ¶
func (x *CanonicalPartSetHeader) String() string
type CanonicalProposal ¶
type CanonicalProposal struct {
Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=gno.tendermint.v034.SignedMsgType" json:"type,omitempty"`
Height int64 `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
Round int64 `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"`
PolRound int64 `protobuf:"varint,4,opt,name=pol_round,json=polRound,proto3" json:"pol_round,omitempty"`
BlockId *CanonicalBlockID `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ChainId string `protobuf:"bytes,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
func (*CanonicalProposal) Descriptor
deprecated
func (*CanonicalProposal) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalProposal.ProtoReflect.Descriptor instead.
func (*CanonicalProposal) GetBlockId ¶
func (x *CanonicalProposal) GetBlockId() *CanonicalBlockID
func (*CanonicalProposal) GetChainId ¶
func (x *CanonicalProposal) GetChainId() string
func (*CanonicalProposal) GetHeight ¶
func (x *CanonicalProposal) GetHeight() int64
func (*CanonicalProposal) GetPolRound ¶
func (x *CanonicalProposal) GetPolRound() int64
func (*CanonicalProposal) GetRound ¶
func (x *CanonicalProposal) GetRound() int64
func (*CanonicalProposal) GetTimestamp ¶
func (x *CanonicalProposal) GetTimestamp() *timestamppb.Timestamp
func (*CanonicalProposal) GetType ¶
func (x *CanonicalProposal) GetType() SignedMsgType
func (*CanonicalProposal) ProtoMessage ¶
func (*CanonicalProposal) ProtoMessage()
func (*CanonicalProposal) ProtoReflect ¶
func (x *CanonicalProposal) ProtoReflect() protoreflect.Message
func (*CanonicalProposal) Reset ¶
func (x *CanonicalProposal) Reset()
func (*CanonicalProposal) String ¶
func (x *CanonicalProposal) String() string
type CanonicalVote ¶
type CanonicalVote struct {
Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=gno.tendermint.v034.SignedMsgType" json:"type,omitempty"`
Height int64 `protobuf:"fixed64,2,opt,name=height,proto3" json:"height,omitempty"`
Round int64 `protobuf:"fixed64,3,opt,name=round,proto3" json:"round,omitempty"`
BlockId *CanonicalBlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ChainId string `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
func (*CanonicalVote) Descriptor
deprecated
func (*CanonicalVote) Descriptor() ([]byte, []int)
Deprecated: Use CanonicalVote.ProtoReflect.Descriptor instead.
func (*CanonicalVote) GetBlockId ¶
func (x *CanonicalVote) GetBlockId() *CanonicalBlockID
func (*CanonicalVote) GetChainId ¶
func (x *CanonicalVote) GetChainId() string
func (*CanonicalVote) GetHeight ¶
func (x *CanonicalVote) GetHeight() int64
func (*CanonicalVote) GetRound ¶
func (x *CanonicalVote) GetRound() int64
func (*CanonicalVote) GetTimestamp ¶
func (x *CanonicalVote) GetTimestamp() *timestamppb.Timestamp
func (*CanonicalVote) GetType ¶
func (x *CanonicalVote) GetType() SignedMsgType
func (*CanonicalVote) ProtoMessage ¶
func (*CanonicalVote) ProtoMessage()
func (*CanonicalVote) ProtoReflect ¶
func (x *CanonicalVote) ProtoReflect() protoreflect.Message
func (*CanonicalVote) Reset ¶
func (x *CanonicalVote) Reset()
func (*CanonicalVote) String ¶
func (x *CanonicalVote) String() string
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
Sum isMessage_Sum `protobuf_oneof:"sum"`
// contains filtered or unexported fields
}
Message is the wire envelope for all privval socket protocol exchanges. Exactly one Sum branch is set per Message. Generated Go code emits proper oneof-shape bytes; multi-set or zero-set is a programming error rejected at marshal time by protobuf-go.
func (*Message) Descriptor
deprecated
func (*Message) GetPingRequest ¶
func (x *Message) GetPingRequest() *PingRequest
func (*Message) GetPingResponse ¶
func (x *Message) GetPingResponse() *PingResponse
func (*Message) GetPubKeyRequest ¶
func (x *Message) GetPubKeyRequest() *PubKeyRequest
func (*Message) GetPubKeyResponse ¶
func (x *Message) GetPubKeyResponse() *PubKeyResponse
func (*Message) GetSignProposalRequest ¶
func (x *Message) GetSignProposalRequest() *SignProposalRequest
func (*Message) GetSignVoteRequest ¶
func (x *Message) GetSignVoteRequest() *SignVoteRequest
func (*Message) GetSignedProposalResponse ¶
func (x *Message) GetSignedProposalResponse() *SignedProposalResponse
func (*Message) GetSignedVoteResponse ¶
func (x *Message) GetSignedVoteResponse() *SignedVoteResponse
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_PingRequest ¶
type Message_PingRequest struct {
PingRequest *PingRequest `protobuf:"bytes,7,opt,name=ping_request,json=pingRequest,proto3,oneof"`
}
type Message_PingResponse ¶
type Message_PingResponse struct {
PingResponse *PingResponse `protobuf:"bytes,8,opt,name=ping_response,json=pingResponse,proto3,oneof"`
}
type Message_PubKeyRequest ¶
type Message_PubKeyRequest struct {
PubKeyRequest *PubKeyRequest `protobuf:"bytes,1,opt,name=pub_key_request,json=pubKeyRequest,proto3,oneof"`
}
type Message_PubKeyResponse ¶
type Message_PubKeyResponse struct {
PubKeyResponse *PubKeyResponse `protobuf:"bytes,2,opt,name=pub_key_response,json=pubKeyResponse,proto3,oneof"`
}
type Message_SignProposalRequest ¶
type Message_SignProposalRequest struct {
SignProposalRequest *SignProposalRequest `protobuf:"bytes,5,opt,name=sign_proposal_request,json=signProposalRequest,proto3,oneof"`
}
type Message_SignVoteRequest ¶
type Message_SignVoteRequest struct {
SignVoteRequest *SignVoteRequest `protobuf:"bytes,3,opt,name=sign_vote_request,json=signVoteRequest,proto3,oneof"`
}
type Message_SignedProposalResponse ¶
type Message_SignedProposalResponse struct {
SignedProposalResponse *SignedProposalResponse `protobuf:"bytes,6,opt,name=signed_proposal_response,json=signedProposalResponse,proto3,oneof"`
}
type Message_SignedVoteResponse ¶
type Message_SignedVoteResponse struct {
SignedVoteResponse *SignedVoteResponse `protobuf:"bytes,4,opt,name=signed_vote_response,json=signedVoteResponse,proto3,oneof"`
}
type PartSetHeader ¶
type PartSetHeader struct {
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
// contains filtered or unexported fields
}
func (*PartSetHeader) Descriptor
deprecated
func (*PartSetHeader) Descriptor() ([]byte, []int)
Deprecated: Use PartSetHeader.ProtoReflect.Descriptor instead.
func (*PartSetHeader) GetHash ¶
func (x *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶
func (x *PartSetHeader) GetTotal() uint32
func (*PartSetHeader) ProtoMessage ¶
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) ProtoReflect ¶
func (x *PartSetHeader) ProtoReflect() protoreflect.Message
func (*PartSetHeader) Reset ¶
func (x *PartSetHeader) Reset()
func (*PartSetHeader) String ¶
func (x *PartSetHeader) String() string
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) String() string
type Proposal ¶
type Proposal struct {
Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=gno.tendermint.v034.SignedMsgType" json:"type,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
PolRound int32 `protobuf:"varint,4,opt,name=pol_round,json=polRound,proto3" json:"pol_round,omitempty"`
BlockId *BlockID `protobuf:"bytes,5,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Signature []byte `protobuf:"bytes,7,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetBlockId ¶
func (*Proposal) GetPolRound ¶
func (*Proposal) GetSignature ¶
func (*Proposal) GetTimestamp ¶
func (x *Proposal) GetTimestamp() *timestamppb.Timestamp
func (*Proposal) GetType ¶
func (x *Proposal) GetType() SignedMsgType
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
type PubKeyRequest ¶
type PubKeyRequest struct {
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
func (*PubKeyRequest) Descriptor
deprecated
func (*PubKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PubKeyRequest.ProtoReflect.Descriptor instead.
func (*PubKeyRequest) GetChainId ¶
func (x *PubKeyRequest) GetChainId() string
func (*PubKeyRequest) ProtoMessage ¶
func (*PubKeyRequest) ProtoMessage()
func (*PubKeyRequest) ProtoReflect ¶
func (x *PubKeyRequest) ProtoReflect() protoreflect.Message
func (*PubKeyRequest) Reset ¶
func (x *PubKeyRequest) Reset()
func (*PubKeyRequest) String ¶
func (x *PubKeyRequest) String() string
type PubKeyResponse ¶
type PubKeyResponse struct {
PubKey *PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*PubKeyResponse) Descriptor
deprecated
func (*PubKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PubKeyResponse.ProtoReflect.Descriptor instead.
func (*PubKeyResponse) GetError ¶
func (x *PubKeyResponse) GetError() *RemoteSignerError
func (*PubKeyResponse) GetPubKey ¶
func (x *PubKeyResponse) GetPubKey() *PublicKey
func (*PubKeyResponse) ProtoMessage ¶
func (*PubKeyResponse) ProtoMessage()
func (*PubKeyResponse) ProtoReflect ¶
func (x *PubKeyResponse) ProtoReflect() protoreflect.Message
func (*PubKeyResponse) Reset ¶
func (x *PubKeyResponse) Reset()
func (*PubKeyResponse) String ¶
func (x *PubKeyResponse) String() string
type PublicKey ¶
type PublicKey struct {
// Types that are valid to be assigned to Sum:
//
// *PublicKey_Ed25519
// *PublicKey_Secp256K1
Sum isPublicKey_Sum `protobuf_oneof:"sum"`
// contains filtered or unexported fields
}
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetEd25519 ¶
func (*PublicKey) GetSecp256K1 ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
type PublicKey_Ed25519 ¶
type PublicKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof"`
}
type PublicKey_Secp256K1 ¶
type PublicKey_Secp256K1 struct {
Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256k1,proto3,oneof"`
}
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"`
// contains filtered or unexported fields
}
func (*RemoteSignerError) Descriptor
deprecated
func (*RemoteSignerError) Descriptor() ([]byte, []int)
Deprecated: Use RemoteSignerError.ProtoReflect.Descriptor instead.
func (*RemoteSignerError) GetCode ¶
func (x *RemoteSignerError) GetCode() int32
func (*RemoteSignerError) GetDescription ¶
func (x *RemoteSignerError) GetDescription() string
func (*RemoteSignerError) ProtoMessage ¶
func (*RemoteSignerError) ProtoMessage()
func (*RemoteSignerError) ProtoReflect ¶
func (x *RemoteSignerError) ProtoReflect() protoreflect.Message
func (*RemoteSignerError) Reset ¶
func (x *RemoteSignerError) Reset()
func (*RemoteSignerError) String ¶
func (x *RemoteSignerError) String() string
type SignProposalRequest ¶
type SignProposalRequest struct {
Proposal *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"`
// contains filtered or unexported fields
}
func (*SignProposalRequest) Descriptor
deprecated
func (*SignProposalRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignProposalRequest.ProtoReflect.Descriptor instead.
func (*SignProposalRequest) GetChainId ¶
func (x *SignProposalRequest) GetChainId() string
func (*SignProposalRequest) GetProposal ¶
func (x *SignProposalRequest) GetProposal() *Proposal
func (*SignProposalRequest) ProtoMessage ¶
func (*SignProposalRequest) ProtoMessage()
func (*SignProposalRequest) ProtoReflect ¶
func (x *SignProposalRequest) ProtoReflect() protoreflect.Message
func (*SignProposalRequest) Reset ¶
func (x *SignProposalRequest) Reset()
func (*SignProposalRequest) String ¶
func (x *SignProposalRequest) String() string
type SignVoteRequest ¶
type SignVoteRequest struct {
Vote *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"`
// contains filtered or unexported fields
}
func (*SignVoteRequest) Descriptor
deprecated
func (*SignVoteRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignVoteRequest.ProtoReflect.Descriptor instead.
func (*SignVoteRequest) GetChainId ¶
func (x *SignVoteRequest) GetChainId() string
func (*SignVoteRequest) GetVote ¶
func (x *SignVoteRequest) GetVote() *Vote
func (*SignVoteRequest) ProtoMessage ¶
func (*SignVoteRequest) ProtoMessage()
func (*SignVoteRequest) ProtoReflect ¶
func (x *SignVoteRequest) ProtoReflect() protoreflect.Message
func (*SignVoteRequest) Reset ¶
func (x *SignVoteRequest) Reset()
func (*SignVoteRequest) String ¶
func (x *SignVoteRequest) String() string
type SignedMsgType ¶
type SignedMsgType int32
const ( SignedMsgType_SIGNED_MSG_TYPE_UNKNOWN SignedMsgType = 0 SignedMsgType_SIGNED_MSG_TYPE_PREVOTE SignedMsgType = 1 SignedMsgType_SIGNED_MSG_TYPE_PRECOMMIT SignedMsgType = 2 SignedMsgType_SIGNED_MSG_TYPE_PROPOSAL SignedMsgType = 32 )
func (SignedMsgType) Descriptor ¶
func (SignedMsgType) Descriptor() protoreflect.EnumDescriptor
func (SignedMsgType) Enum ¶
func (x SignedMsgType) Enum() *SignedMsgType
func (SignedMsgType) EnumDescriptor
deprecated
func (SignedMsgType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignedMsgType.Descriptor instead.
func (SignedMsgType) Number ¶
func (x SignedMsgType) Number() protoreflect.EnumNumber
func (SignedMsgType) String ¶
func (x SignedMsgType) String() string
func (SignedMsgType) Type ¶
func (SignedMsgType) Type() protoreflect.EnumType
type SignedProposalResponse ¶
type SignedProposalResponse struct {
Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*SignedProposalResponse) Descriptor
deprecated
func (*SignedProposalResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignedProposalResponse.ProtoReflect.Descriptor instead.
func (*SignedProposalResponse) GetError ¶
func (x *SignedProposalResponse) GetError() *RemoteSignerError
func (*SignedProposalResponse) GetProposal ¶
func (x *SignedProposalResponse) GetProposal() *Proposal
func (*SignedProposalResponse) ProtoMessage ¶
func (*SignedProposalResponse) ProtoMessage()
func (*SignedProposalResponse) ProtoReflect ¶
func (x *SignedProposalResponse) ProtoReflect() protoreflect.Message
func (*SignedProposalResponse) Reset ¶
func (x *SignedProposalResponse) Reset()
func (*SignedProposalResponse) String ¶
func (x *SignedProposalResponse) String() string
type SignedVoteResponse ¶
type SignedVoteResponse struct {
Vote *Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
Error *RemoteSignerError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*SignedVoteResponse) Descriptor
deprecated
func (*SignedVoteResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignedVoteResponse.ProtoReflect.Descriptor instead.
func (*SignedVoteResponse) GetError ¶
func (x *SignedVoteResponse) GetError() *RemoteSignerError
func (*SignedVoteResponse) GetVote ¶
func (x *SignedVoteResponse) GetVote() *Vote
func (*SignedVoteResponse) ProtoMessage ¶
func (*SignedVoteResponse) ProtoMessage()
func (*SignedVoteResponse) ProtoReflect ¶
func (x *SignedVoteResponse) ProtoReflect() protoreflect.Message
func (*SignedVoteResponse) Reset ¶
func (x *SignedVoteResponse) Reset()
func (*SignedVoteResponse) String ¶
func (x *SignedVoteResponse) String() string
type Vote ¶
type Vote struct {
Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=gno.tendermint.v034.SignedMsgType" json:"type,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
BlockId *BlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ValidatorAddress []byte `protobuf:"bytes,6,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
ValidatorIndex int32 `protobuf:"varint,7,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
Signature []byte `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
func (*Vote) Descriptor
deprecated
func (*Vote) GetBlockId ¶
func (*Vote) GetSignature ¶
func (*Vote) GetTimestamp ¶
func (x *Vote) GetTimestamp() *timestamppb.Timestamp
func (*Vote) GetType ¶
func (x *Vote) GetType() SignedMsgType
func (*Vote) GetValidatorAddress ¶
func (*Vote) GetValidatorIndex ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message