Documentation ¶
Index ¶
- Variables
- func GetPubKeyFromTx(t string, b []byte) isPublicKey_Sum
- type BlockID
- func (*BlockID) Descriptor() ([]byte, []int)
- func (m *BlockID) GetHash() []byte
- func (m *BlockID) GetPartSetHeader() *PartSetHeader
- func (m *BlockID) Marshal() (dAtA []byte, err error)
- func (m *BlockID) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockID) ProtoMessage()
- func (m *BlockID) Reset()
- func (m *BlockID) Size() (n int)
- func (m *BlockID) String() string
- func (m *BlockID) Unmarshal(dAtA []byte) error
- func (m *BlockID) XXX_DiscardUnknown()
- func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockID) XXX_Merge(src proto.Message)
- func (m *BlockID) XXX_Size() int
- func (m *BlockID) XXX_Unmarshal(b []byte) error
- type BlockIDFlag
- type CanonicalBlockID
- func (*CanonicalBlockID) Descriptor() ([]byte, []int)
- func (m *CanonicalBlockID) GetHash() []byte
- func (m *CanonicalBlockID) GetPartSetHeader() *CanonicalPartSetHeader
- func (m *CanonicalBlockID) Marshal() (dAtA []byte, err error)
- func (m *CanonicalBlockID) MarshalTo(dAtA []byte) (int, error)
- func (m *CanonicalBlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CanonicalBlockID) ProtoMessage()
- func (m *CanonicalBlockID) Reset()
- func (m *CanonicalBlockID) Size() (n int)
- func (m *CanonicalBlockID) String() string
- func (m *CanonicalBlockID) Unmarshal(dAtA []byte) error
- func (m *CanonicalBlockID) XXX_DiscardUnknown()
- func (m *CanonicalBlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanonicalBlockID) XXX_Merge(src proto.Message)
- func (m *CanonicalBlockID) XXX_Size() int
- func (m *CanonicalBlockID) XXX_Unmarshal(b []byte) error
- type CanonicalPartSetHeader
- func (*CanonicalPartSetHeader) Descriptor() ([]byte, []int)
- func (m *CanonicalPartSetHeader) GetHash() []byte
- func (m *CanonicalPartSetHeader) GetTotal() uint32
- func (m *CanonicalPartSetHeader) Marshal() (dAtA []byte, err error)
- func (m *CanonicalPartSetHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *CanonicalPartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CanonicalPartSetHeader) ProtoMessage()
- func (m *CanonicalPartSetHeader) Reset()
- func (m *CanonicalPartSetHeader) Size() (n int)
- func (m *CanonicalPartSetHeader) String() string
- func (m *CanonicalPartSetHeader) Unmarshal(dAtA []byte) error
- func (m *CanonicalPartSetHeader) XXX_DiscardUnknown()
- func (m *CanonicalPartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanonicalPartSetHeader) XXX_Merge(src proto.Message)
- func (m *CanonicalPartSetHeader) XXX_Size() int
- func (m *CanonicalPartSetHeader) XXX_Unmarshal(b []byte) error
- type CanonicalVote
- func (*CanonicalVote) Descriptor() ([]byte, []int)
- func (m *CanonicalVote) GetBlockId() *BlockID
- func (m *CanonicalVote) GetChainId() string
- func (m *CanonicalVote) GetHeight() int64
- func (m *CanonicalVote) GetRound() int64
- func (m *CanonicalVote) GetTimestamp() *Timestamp
- func (m *CanonicalVote) GetType() SignedMsgType
- func (m *CanonicalVote) Marshal() (dAtA []byte, err error)
- func (m *CanonicalVote) MarshalTo(dAtA []byte) (int, error)
- func (m *CanonicalVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CanonicalVote) ProtoMessage()
- func (m *CanonicalVote) Reset()
- func (m *CanonicalVote) Size() (n int)
- func (m *CanonicalVote) String() string
- func (m *CanonicalVote) Unmarshal(dAtA []byte) error
- func (m *CanonicalVote) XXX_DiscardUnknown()
- func (m *CanonicalVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CanonicalVote) XXX_Merge(src proto.Message)
- func (m *CanonicalVote) XXX_Size() int
- func (m *CanonicalVote) XXX_Unmarshal(b []byte) error
- type ClientState
- func (cs ClientState) CheckForMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) bool
- func (cs ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, ...) error
- func (cs ClientState) ClientType() string
- func (*ClientState) Descriptor() ([]byte, []int)
- func (cs ClientState) ExportMetadata(store sdk.KVStore) []exported.GenesisMetadata
- func (cs ClientState) GetChainID() string
- func (cs ClientState) GetLatestHeight() exported.Height
- func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec
- func (cs ClientState) GetTimestampAtHeight(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) (uint64, error)
- func (cs ClientState) Initialize(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) error
- func (cs ClientState) IsExpired(latestTimestamp, now time.Time) bool
- func (m *ClientState) Marshal() (dAtA []byte, err error)
- func (m *ClientState) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientState) ProtoMessage()
- func (m *ClientState) Reset()
- func (m *ClientState) Size() (n int)
- func (cs ClientState) Status(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec) exported.Status
- func (m *ClientState) String() string
- func (m *ClientState) Unmarshal(dAtA []byte) error
- func (cs ClientState) UpdateState(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) []exported.Height
- func (cs ClientState) UpdateStateOnMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...)
- func (cs ClientState) Validate() error
- func (cs ClientState) VerifyClientMessage(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, ...) error
- func (cs ClientState) VerifyMembership(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) error
- func (cs ClientState) VerifyNonMembership(ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ...) error
- func (cs ClientState) VerifyUpgradeAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, ...) error
- func (m *ClientState) XXX_DiscardUnknown()
- func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientState) XXX_Merge(src proto.Message)
- func (m *ClientState) XXX_Size() int
- func (m *ClientState) XXX_Unmarshal(b []byte) error
- func (cs ClientState) ZeroCustomFields() exported.ClientState
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)
- func (m *Commit) GetBlockId() *BlockID
- func (m *Commit) GetHeight() int64
- func (m *Commit) GetRound() int32
- func (m *Commit) GetSignatures() []*CommitSig
- func (m *Commit) Marshal() (dAtA []byte, err error)
- func (m *Commit) MarshalTo(dAtA []byte) (int, error)
- func (m *Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Commit) ProtoMessage()
- func (m *Commit) Reset()
- func (m *Commit) Size() (n int)
- func (m *Commit) String() string
- func (m *Commit) Unmarshal(dAtA []byte) error
- func (m *Commit) XXX_DiscardUnknown()
- func (m *Commit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Commit) XXX_Merge(src proto.Message)
- func (m *Commit) XXX_Size() int
- func (m *Commit) XXX_Unmarshal(b []byte) error
- type CommitSig
- func (*CommitSig) Descriptor() ([]byte, []int)
- func (m *CommitSig) GetBlockIdFlag() BlockIDFlag
- func (m *CommitSig) GetSignature() []byte
- func (m *CommitSig) GetTimestamp() *Timestamp
- func (m *CommitSig) GetValidatorAddress() []byte
- func (m *CommitSig) Marshal() (dAtA []byte, err error)
- func (m *CommitSig) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitSig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitSig) ProtoMessage()
- func (m *CommitSig) Reset()
- func (m *CommitSig) Size() (n int)
- func (m *CommitSig) String() string
- func (m *CommitSig) Unmarshal(dAtA []byte) error
- func (m *CommitSig) XXX_DiscardUnknown()
- func (m *CommitSig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitSig) XXX_Merge(src proto.Message)
- func (m *CommitSig) XXX_Size() int
- func (m *CommitSig) XXX_Unmarshal(b []byte) error
- type Consensus
- func (*Consensus) Descriptor() ([]byte, []int)
- func (m *Consensus) GetApp() uint64
- func (m *Consensus) GetBlock() uint64
- func (m *Consensus) Marshal() (dAtA []byte, err error)
- func (m *Consensus) MarshalTo(dAtA []byte) (int, error)
- func (m *Consensus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Consensus) ProtoMessage()
- func (m *Consensus) Reset()
- func (m *Consensus) Size() (n int)
- func (m *Consensus) String() string
- func (m *Consensus) Unmarshal(dAtA []byte) error
- func (m *Consensus) XXX_DiscardUnknown()
- func (m *Consensus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Consensus) XXX_Merge(src proto.Message)
- func (m *Consensus) XXX_Size() int
- func (m *Consensus) XXX_Unmarshal(b []byte) error
- type ConsensusState
- func (m *ConsensusState) ClientType() string
- func (*ConsensusState) Descriptor() ([]byte, []int)
- func (m *ConsensusState) GetTimestamp() uint64
- func (m *ConsensusState) Marshal() (dAtA []byte, err error)
- func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusState) ProtoMessage()
- func (m *ConsensusState) Reset()
- func (m *ConsensusState) Size() (n int)
- func (m *ConsensusState) String() string
- func (m *ConsensusState) Unmarshal(dAtA []byte) error
- func (m *ConsensusState) ValidateBasic() error
- func (m *ConsensusState) XXX_DiscardUnknown()
- func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusState) XXX_Merge(src proto.Message)
- func (m *ConsensusState) XXX_Size() int
- func (m *ConsensusState) XXX_Unmarshal(b []byte) error
- type Duration
- func (*Duration) Descriptor() ([]byte, []int)
- func (m *Duration) GetNanos() int32
- func (m *Duration) GetSeconds() int64
- func (m *Duration) Marshal() (dAtA []byte, err error)
- func (m *Duration) MarshalTo(dAtA []byte) (int, error)
- func (m *Duration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Duration) ProtoMessage()
- func (m *Duration) Reset()
- func (m *Duration) Size() (n int)
- func (m *Duration) String() string
- func (m *Duration) Unmarshal(dAtA []byte) error
- func (m *Duration) XXX_DiscardUnknown()
- func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Duration) XXX_Merge(src proto.Message)
- func (m *Duration) XXX_Size() int
- func (m *Duration) XXX_Unmarshal(b []byte) error
- type Fraction
- func (*Fraction) Descriptor() ([]byte, []int)
- func (m *Fraction) GetDenominator() uint64
- func (m *Fraction) GetNumerator() uint64
- func (m *Fraction) Marshal() (dAtA []byte, err error)
- func (m *Fraction) MarshalTo(dAtA []byte) (int, error)
- func (m *Fraction) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fraction) ProtoMessage()
- func (m *Fraction) Reset()
- func (m *Fraction) Size() (n int)
- func (m *Fraction) String() string
- func (m *Fraction) Unmarshal(dAtA []byte) error
- func (m *Fraction) XXX_DiscardUnknown()
- func (m *Fraction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fraction) XXX_Merge(src proto.Message)
- func (m *Fraction) XXX_Size() int
- func (m *Fraction) XXX_Unmarshal(b []byte) error
- type LightHeader
- func (*LightHeader) Descriptor() ([]byte, []int)
- func (m *LightHeader) GetAppHash() []byte
- func (m *LightHeader) GetChainId() string
- func (m *LightHeader) GetConsensusHash() []byte
- func (m *LightHeader) GetDataHash() []byte
- func (m *LightHeader) GetEvidenceHash() []byte
- func (m *LightHeader) GetHeight() int64
- func (m *LightHeader) GetLastBlockId() *BlockID
- func (m *LightHeader) GetLastCommitHash() []byte
- func (m *LightHeader) GetLastResultsHash() []byte
- func (m *LightHeader) GetNextValidatorsHash() []byte
- func (m *LightHeader) GetProposerAddress() []byte
- func (m *LightHeader) GetTime() *Timestamp
- func (m *LightHeader) GetValidatorsHash() []byte
- func (m *LightHeader) GetVersion() *Consensus
- func (m *LightHeader) Marshal() (dAtA []byte, err error)
- func (m *LightHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *LightHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LightHeader) ProtoMessage()
- func (m *LightHeader) Reset()
- func (m *LightHeader) Size() (n int)
- func (m *LightHeader) String() string
- func (m *LightHeader) Unmarshal(dAtA []byte) error
- func (m *LightHeader) XXX_DiscardUnknown()
- func (m *LightHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LightHeader) XXX_Merge(src proto.Message)
- func (m *LightHeader) XXX_Size() int
- func (m *LightHeader) XXX_Unmarshal(b []byte) error
- type MerkleRoot
- func (*MerkleRoot) Descriptor() ([]byte, []int)
- func (m *MerkleRoot) GetHash() []byte
- func (m *MerkleRoot) Marshal() (dAtA []byte, err error)
- func (m *MerkleRoot) MarshalTo(dAtA []byte) (int, error)
- func (m *MerkleRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MerkleRoot) ProtoMessage()
- func (m *MerkleRoot) Reset()
- func (m *MerkleRoot) Size() (n int)
- func (m *MerkleRoot) String() string
- func (m *MerkleRoot) Unmarshal(dAtA []byte) error
- func (m *MerkleRoot) XXX_DiscardUnknown()
- func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MerkleRoot) XXX_Merge(src proto.Message)
- func (m *MerkleRoot) XXX_Size() int
- func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
- type PartSetHeader
- func (*PartSetHeader) Descriptor() ([]byte, []int)
- func (m *PartSetHeader) GetHash() []byte
- func (m *PartSetHeader) GetTotal() uint32
- func (m *PartSetHeader) Marshal() (dAtA []byte, err error)
- func (m *PartSetHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *PartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PartSetHeader) ProtoMessage()
- func (m *PartSetHeader) Reset()
- func (m *PartSetHeader) Size() (n int)
- func (m *PartSetHeader) String() string
- func (m *PartSetHeader) Unmarshal(dAtA []byte) error
- func (m *PartSetHeader) XXX_DiscardUnknown()
- func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PartSetHeader) XXX_Merge(src proto.Message)
- func (m *PartSetHeader) XXX_Size() int
- func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetEd25519() []byte
- func (m *PublicKey) GetSecp256K1() []byte
- func (m *PublicKey) GetSr25519() []byte
- func (m *PublicKey) GetSum() isPublicKey_Sum
- func (m *PublicKey) Marshal() (dAtA []byte, err error)
- func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) Size() (n int)
- func (m *PublicKey) String() string
- func (m *PublicKey) Unmarshal(dAtA []byte) error
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (*PublicKey) XXX_OneofWrappers() []interface{}
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKey_Ed25519
- type PublicKey_Secp256K1
- type PublicKey_Sr25519
- type SignedHeader
- func (*SignedHeader) Descriptor() ([]byte, []int)
- func (m *SignedHeader) GetCommit() *Commit
- func (m *SignedHeader) GetHeader() *LightHeader
- func (m *SignedHeader) Marshal() (dAtA []byte, err error)
- func (m *SignedHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedHeader) ProtoMessage()
- func (m *SignedHeader) Reset()
- func (m *SignedHeader) Size() (n int)
- func (m *SignedHeader) String() string
- func (m *SignedHeader) Unmarshal(dAtA []byte) error
- func (m *SignedHeader) XXX_DiscardUnknown()
- func (m *SignedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedHeader) XXX_Merge(src proto.Message)
- func (m *SignedHeader) XXX_Size() int
- func (m *SignedHeader) XXX_Unmarshal(b []byte) error
- type SignedMsgType
- type SimpleValidator
- func (*SimpleValidator) Descriptor() ([]byte, []int)
- func (m *SimpleValidator) GetPubKey() *PublicKey
- func (m *SimpleValidator) GetVotingPower() int64
- func (m *SimpleValidator) Marshal() (dAtA []byte, err error)
- func (m *SimpleValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *SimpleValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimpleValidator) ProtoMessage()
- func (m *SimpleValidator) Reset()
- func (m *SimpleValidator) Size() (n int)
- func (m *SimpleValidator) String() string
- func (m *SimpleValidator) Unmarshal(dAtA []byte) error
- func (m *SimpleValidator) XXX_DiscardUnknown()
- func (m *SimpleValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimpleValidator) XXX_Merge(src proto.Message)
- func (m *SimpleValidator) XXX_Size() int
- func (m *SimpleValidator) XXX_Unmarshal(b []byte) error
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)
- func (m *Timestamp) GetNanos() int32
- func (m *Timestamp) GetSeconds() int64
- func (m *Timestamp) Marshal() (dAtA []byte, err error)
- func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *Timestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Timestamp) ProtoMessage()
- func (m *Timestamp) Reset()
- func (m *Timestamp) Size() (n int)
- func (m *Timestamp) String() string
- func (m *Timestamp) Unmarshal(dAtA []byte) error
- func (m *Timestamp) XXX_DiscardUnknown()
- func (m *Timestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Timestamp) XXX_Merge(src proto.Message)
- func (m *Timestamp) XXX_Size() int
- func (m *Timestamp) XXX_Unmarshal(b []byte) error
- type TmHeader
- func (m *TmHeader) ClientType() string
- func (*TmHeader) Descriptor() ([]byte, []int)
- func (m *TmHeader) GetSignedHeader() *SignedHeader
- func (m *TmHeader) GetTrustedHeight() int64
- func (m *TmHeader) GetTrustedValidators() *ValidatorSet
- func (m *TmHeader) GetValidatorSet() *ValidatorSet
- func (m *TmHeader) Marshal() (dAtA []byte, err error)
- func (m *TmHeader) MarshalTo(dAtA []byte) (int, error)
- func (m *TmHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TmHeader) ProtoMessage()
- func (m *TmHeader) Reset()
- func (m *TmHeader) Size() (n int)
- func (m *TmHeader) String() string
- func (m *TmHeader) Unmarshal(dAtA []byte) error
- func (m *TmHeader) ValidateBasic() error
- func (m *TmHeader) XXX_DiscardUnknown()
- func (m *TmHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TmHeader) XXX_Merge(src proto.Message)
- func (m *TmHeader) XXX_Size() int
- func (m *TmHeader) XXX_Unmarshal(b []byte) error
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAddress() []byte
- func (m *Validator) GetProposerPriority() int64
- func (m *Validator) GetPubKey() *PublicKey
- func (m *Validator) GetVotingPower() int64
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)
- func (m *ValidatorSet) GetProposer() *Validator
- func (m *ValidatorSet) GetTotalVotingPower() int64
- func (m *ValidatorSet) GetValidators() []*Validator
- func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
- func (m *ValidatorSet) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorSet) ProtoMessage()
- func (m *ValidatorSet) Reset()
- func (m *ValidatorSet) Size() (n int)
- func (m *ValidatorSet) String() string
- func (m *ValidatorSet) Unmarshal(dAtA []byte) error
- func (m *ValidatorSet) XXX_DiscardUnknown()
- func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorSet) XXX_Merge(src proto.Message)
- func (m *ValidatorSet) XXX_Size() int
- func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetBlockId() *BlockID
- func (m *Vote) GetHeight() int64
- func (m *Vote) GetRound() int32
- func (m *Vote) GetSignature() []byte
- func (m *Vote) GetTimestamp() *Timestamp
- func (m *Vote) GetType() SignedMsgType
- func (m *Vote) GetValidatorAddress() []byte
- func (m *Vote) GetValidatorIndex() int32
- func (m *Vote) Marshal() (dAtA []byte, err error)
- func (m *Vote) MarshalTo(dAtA []byte) (int, error)
- func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) Size() (n int)
- func (m *Vote) String() string
- func (m *Vote) Unmarshal(dAtA []byte) error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthTendermintLight = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTendermintLight = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTendermintLight = fmt.Errorf("proto: unexpected end of group") )
View Source
var BlockIDFlag_name = map[int32]string{
0: "BLOCK_ID_FLAG_UNKNOWN",
1: "BLOCK_ID_FLAG_ABSENT",
2: "BLOCK_ID_FLAG_COMMIT",
3: "BLOCK_ID_FLAG_NIL",
}
View Source
var BlockIDFlag_value = map[string]int32{
"BLOCK_ID_FLAG_UNKNOWN": 0,
"BLOCK_ID_FLAG_ABSENT": 1,
"BLOCK_ID_FLAG_COMMIT": 2,
"BLOCK_ID_FLAG_NIL": 3,
}
View Source
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",
}
View Source
var 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,
}
Functions ¶
func GetPubKeyFromTx ¶
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"` }
func (*BlockID) Descriptor ¶
func (*BlockID) GetPartSetHeader ¶
func (m *BlockID) GetPartSetHeader() *PartSetHeader
func (*BlockID) MarshalToSizedBuffer ¶
func (*BlockID) ProtoMessage ¶
func (*BlockID) ProtoMessage()
func (*BlockID) XXX_DiscardUnknown ¶
func (m *BlockID) XXX_DiscardUnknown()
func (*BlockID) XXX_Marshal ¶
func (*BlockID) XXX_Unmarshal ¶
type BlockIDFlag ¶
type BlockIDFlag int32
const ( BlockIDFlag_BLOCK_ID_FLAG_UNKNOWN BlockIDFlag = 0 BlockIDFlag_BLOCK_ID_FLAG_ABSENT BlockIDFlag = 1 BlockIDFlag_BLOCK_ID_FLAG_COMMIT BlockIDFlag = 2 BlockIDFlag_BLOCK_ID_FLAG_NIL BlockIDFlag = 3 )
func (BlockIDFlag) EnumDescriptor ¶
func (BlockIDFlag) EnumDescriptor() ([]byte, []int)
func (BlockIDFlag) String ¶
func (x BlockIDFlag) String() string
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"` }
func (*CanonicalBlockID) Descriptor ¶
func (*CanonicalBlockID) Descriptor() ([]byte, []int)
func (*CanonicalBlockID) GetHash ¶
func (m *CanonicalBlockID) GetHash() []byte
func (*CanonicalBlockID) GetPartSetHeader ¶
func (m *CanonicalBlockID) GetPartSetHeader() *CanonicalPartSetHeader
func (*CanonicalBlockID) Marshal ¶
func (m *CanonicalBlockID) Marshal() (dAtA []byte, err error)
func (*CanonicalBlockID) MarshalToSizedBuffer ¶
func (m *CanonicalBlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CanonicalBlockID) ProtoMessage ¶
func (*CanonicalBlockID) ProtoMessage()
func (*CanonicalBlockID) Reset ¶
func (m *CanonicalBlockID) Reset()
func (*CanonicalBlockID) Size ¶
func (m *CanonicalBlockID) Size() (n int)
func (*CanonicalBlockID) String ¶
func (m *CanonicalBlockID) String() string
func (*CanonicalBlockID) Unmarshal ¶
func (m *CanonicalBlockID) Unmarshal(dAtA []byte) error
func (*CanonicalBlockID) XXX_DiscardUnknown ¶
func (m *CanonicalBlockID) XXX_DiscardUnknown()
func (*CanonicalBlockID) XXX_Marshal ¶
func (m *CanonicalBlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanonicalBlockID) XXX_Merge ¶
func (m *CanonicalBlockID) XXX_Merge(src proto.Message)
func (*CanonicalBlockID) XXX_Size ¶
func (m *CanonicalBlockID) XXX_Size() int
func (*CanonicalBlockID) XXX_Unmarshal ¶
func (m *CanonicalBlockID) XXX_Unmarshal(b []byte) error
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"` }
func (*CanonicalPartSetHeader) Descriptor ¶
func (*CanonicalPartSetHeader) Descriptor() ([]byte, []int)
func (*CanonicalPartSetHeader) GetHash ¶
func (m *CanonicalPartSetHeader) GetHash() []byte
func (*CanonicalPartSetHeader) GetTotal ¶
func (m *CanonicalPartSetHeader) GetTotal() uint32
func (*CanonicalPartSetHeader) Marshal ¶
func (m *CanonicalPartSetHeader) Marshal() (dAtA []byte, err error)
func (*CanonicalPartSetHeader) MarshalTo ¶
func (m *CanonicalPartSetHeader) MarshalTo(dAtA []byte) (int, error)
func (*CanonicalPartSetHeader) MarshalToSizedBuffer ¶
func (m *CanonicalPartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CanonicalPartSetHeader) ProtoMessage ¶
func (*CanonicalPartSetHeader) ProtoMessage()
func (*CanonicalPartSetHeader) Reset ¶
func (m *CanonicalPartSetHeader) Reset()
func (*CanonicalPartSetHeader) Size ¶
func (m *CanonicalPartSetHeader) Size() (n int)
func (*CanonicalPartSetHeader) String ¶
func (m *CanonicalPartSetHeader) String() string
func (*CanonicalPartSetHeader) Unmarshal ¶
func (m *CanonicalPartSetHeader) Unmarshal(dAtA []byte) error
func (*CanonicalPartSetHeader) XXX_DiscardUnknown ¶
func (m *CanonicalPartSetHeader) XXX_DiscardUnknown()
func (*CanonicalPartSetHeader) XXX_Marshal ¶
func (m *CanonicalPartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanonicalPartSetHeader) XXX_Merge ¶
func (m *CanonicalPartSetHeader) XXX_Merge(src proto.Message)
func (*CanonicalPartSetHeader) XXX_Size ¶
func (m *CanonicalPartSetHeader) XXX_Size() int
func (*CanonicalPartSetHeader) XXX_Unmarshal ¶
func (m *CanonicalPartSetHeader) XXX_Unmarshal(b []byte) error
type CanonicalVote ¶
type CanonicalVote struct { Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.light.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 *BlockID `protobuf:"bytes,4,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Timestamp *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"` }
func (*CanonicalVote) Descriptor ¶
func (*CanonicalVote) Descriptor() ([]byte, []int)
func (*CanonicalVote) GetBlockId ¶
func (m *CanonicalVote) GetBlockId() *BlockID
func (*CanonicalVote) GetChainId ¶
func (m *CanonicalVote) GetChainId() string
func (*CanonicalVote) GetHeight ¶
func (m *CanonicalVote) GetHeight() int64
func (*CanonicalVote) GetRound ¶
func (m *CanonicalVote) GetRound() int64
func (*CanonicalVote) GetTimestamp ¶
func (m *CanonicalVote) GetTimestamp() *Timestamp
func (*CanonicalVote) GetType ¶
func (m *CanonicalVote) GetType() SignedMsgType
func (*CanonicalVote) Marshal ¶
func (m *CanonicalVote) Marshal() (dAtA []byte, err error)
func (*CanonicalVote) MarshalToSizedBuffer ¶
func (m *CanonicalVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CanonicalVote) ProtoMessage ¶
func (*CanonicalVote) ProtoMessage()
func (*CanonicalVote) Reset ¶
func (m *CanonicalVote) Reset()
func (*CanonicalVote) Size ¶
func (m *CanonicalVote) Size() (n int)
func (*CanonicalVote) String ¶
func (m *CanonicalVote) String() string
func (*CanonicalVote) Unmarshal ¶
func (m *CanonicalVote) Unmarshal(dAtA []byte) error
func (*CanonicalVote) XXX_DiscardUnknown ¶
func (m *CanonicalVote) XXX_DiscardUnknown()
func (*CanonicalVote) XXX_Marshal ¶
func (m *CanonicalVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CanonicalVote) XXX_Merge ¶
func (m *CanonicalVote) XXX_Merge(src proto.Message)
func (*CanonicalVote) XXX_Size ¶
func (m *CanonicalVote) XXX_Size() int
func (*CanonicalVote) XXX_Unmarshal ¶
func (m *CanonicalVote) XXX_Unmarshal(b []byte) error
type ClientState ¶
type ClientState struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` TrustLevel *Fraction `protobuf:"bytes,2,opt,name=trust_level,json=trustLevel,proto3" json:"trust_level,omitempty"` // duration of the period since the LastestTimestamp during which the // submitted headers are valid for upgrade TrustingPeriod *Duration `protobuf:"bytes,3,opt,name=trusting_period,json=trustingPeriod,proto3" json:"trusting_period,omitempty"` // duration of the staking unbonding period UnbondingPeriod *Duration `protobuf:"bytes,4,opt,name=unbonding_period,json=unbondingPeriod,proto3" json:"unbonding_period,omitempty"` // defines how much new (untrusted) header's Time can drift into the future. MaxClockDrift *Duration `protobuf:"bytes,5,opt,name=max_clock_drift,json=maxClockDrift,proto3" json:"max_clock_drift,omitempty"` // Block height when the client was frozen due to a misbehaviour // ibc.core.client.v1.Height frozen_height = 6; FrozenHeight int64 `protobuf:"varint,6,opt,name=frozen_height,json=frozenHeight,proto3" json:"frozen_height,omitempty"` // Latest height the client was updated to LatestHeight int64 `protobuf:"varint,7,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` // This flag, when set to true, will allow governance to recover a client // which has expired AllowUpdateAfterExpiry bool `` /* 132-byte string literal not displayed */ // This flag, when set to true, will allow governance to unfreeze a client // whose chain has experienced a misbehaviour event AllowUpdateAfterMisbehaviour bool `` /* 150-byte string literal not displayed */ }
func NewClientState ¶
func NewClientState( chainID string, trustLevel Fraction, trustingPeriod, ubdPeriod, maxClockDrift *Duration, latestHeight int64, ) *ClientState
NewClientState creates a new ClientState instance
func (ClientState) CheckForMisbehaviour ¶
func (cs ClientState) CheckForMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) bool
func (ClientState) CheckSubstituteAndUpdateState ¶
func (cs ClientState) CheckSubstituteAndUpdateState(ctx sdk.Context, cdc codec.BinaryCodec, subjectClientStore, substituteClientStore sdk.KVStore, substituteClient exported.ClientState) error
func (*ClientState) Descriptor ¶
func (*ClientState) Descriptor() ([]byte, []int)
func (ClientState) ExportMetadata ¶
func (cs ClientState) ExportMetadata(store sdk.KVStore) []exported.GenesisMetadata
func (ClientState) GetChainID ¶
func (cs ClientState) GetChainID() string
GetChainID returns the chain-id
func (ClientState) GetLatestHeight ¶
func (cs ClientState) GetLatestHeight() exported.Height
func (ClientState) GetProofSpecs ¶
func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec
func (ClientState) GetTimestampAtHeight ¶
func (cs ClientState) GetTimestampAtHeight( ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, height exported.Height, ) (uint64, error)
GetTimestampAtHeight returns the timestamp in nanoseconds of the consensus state at the given height.
func (ClientState) Initialize ¶
func (cs ClientState) Initialize(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, consState exported.ConsensusState) error
func (*ClientState) Marshal ¶
func (m *ClientState) Marshal() (dAtA []byte, err error)
func (*ClientState) MarshalToSizedBuffer ¶
func (m *ClientState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientState) ProtoMessage ¶
func (*ClientState) ProtoMessage()
func (*ClientState) Reset ¶
func (m *ClientState) Reset()
func (*ClientState) Size ¶
func (m *ClientState) Size() (n int)
func (ClientState) Status ¶
func (cs ClientState) Status( ctx sdk.Context, clientStore sdk.KVStore, cdc codec.BinaryCodec, ) exported.Status
func (*ClientState) String ¶
func (m *ClientState) String() string
func (*ClientState) Unmarshal ¶
func (m *ClientState) Unmarshal(dAtA []byte) error
func (ClientState) UpdateState ¶
func (cs ClientState) UpdateState(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) []exported.Height
func (ClientState) UpdateStateOnMisbehaviour ¶
func (cs ClientState) UpdateStateOnMisbehaviour(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage)
func (ClientState) Validate ¶
func (cs ClientState) Validate() error
func (ClientState) VerifyClientMessage ¶
func (cs ClientState) VerifyClientMessage(ctx sdk.Context, cdc codec.BinaryCodec, clientStore sdk.KVStore, clientMsg exported.ClientMessage) error
func (ClientState) VerifyMembership ¶
func (ClientState) VerifyNonMembership ¶
func (ClientState) VerifyUpgradeAndUpdateState ¶
func (cs ClientState) VerifyUpgradeAndUpdateState( ctx sdk.Context, cdc codec.BinaryCodec, store sdk.KVStore, newClient exported.ClientState, newConsState exported.ConsensusState, proofUpgradeClient, proofUpgradeConsState []byte, ) error
func (*ClientState) XXX_DiscardUnknown ¶
func (m *ClientState) XXX_DiscardUnknown()
func (*ClientState) XXX_Marshal ¶
func (m *ClientState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientState) XXX_Merge ¶
func (m *ClientState) XXX_Merge(src proto.Message)
func (*ClientState) XXX_Size ¶
func (m *ClientState) XXX_Size() int
func (*ClientState) XXX_Unmarshal ¶
func (m *ClientState) XXX_Unmarshal(b []byte) error
func (ClientState) ZeroCustomFields ¶
func (cs ClientState) ZeroCustomFields() exported.ClientState
type Commit ¶
type Commit struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` BlockId *BlockID `protobuf:"bytes,3,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Signatures []*CommitSig `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func (*Commit) Descriptor ¶
func (*Commit) GetBlockId ¶
func (*Commit) GetSignatures ¶
func (*Commit) MarshalToSizedBuffer ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) XXX_DiscardUnknown ¶
func (m *Commit) XXX_DiscardUnknown()
func (*Commit) XXX_Marshal ¶
func (*Commit) XXX_Unmarshal ¶
type CommitSig ¶
type CommitSig struct { BlockIdFlag BlockIDFlag `` /* 131-byte string literal not displayed */ ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Timestamp *Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` }
CommitSig is a part of the Vote included in a Commit.
func (*CommitSig) Descriptor ¶
func (*CommitSig) GetBlockIdFlag ¶
func (m *CommitSig) GetBlockIdFlag() BlockIDFlag
func (*CommitSig) GetSignature ¶
func (*CommitSig) GetTimestamp ¶
func (*CommitSig) GetValidatorAddress ¶
func (*CommitSig) MarshalToSizedBuffer ¶
func (*CommitSig) ProtoMessage ¶
func (*CommitSig) ProtoMessage()
func (*CommitSig) XXX_DiscardUnknown ¶
func (m *CommitSig) XXX_DiscardUnknown()
func (*CommitSig) XXX_Marshal ¶
func (*CommitSig) XXX_Unmarshal ¶
type Consensus ¶
type Consensus struct { Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"` App uint64 `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"` }
func (*Consensus) Descriptor ¶
func (*Consensus) MarshalToSizedBuffer ¶
func (*Consensus) ProtoMessage ¶
func (*Consensus) ProtoMessage()
func (*Consensus) XXX_DiscardUnknown ¶
func (m *Consensus) XXX_DiscardUnknown()
func (*Consensus) XXX_Marshal ¶
func (*Consensus) XXX_Unmarshal ¶
type ConsensusState ¶
type ConsensusState struct { // timestamp that corresponds to the block height in which the ConsensusState // was stored. Timestamp *Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // commitment root (i.e app hash) Root *MerkleRoot `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` NextValidatorsHash []byte `protobuf:"bytes,3,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` }
ConsensusState defines the consensus state from Tendermint.
func (*ConsensusState) ClientType ¶
func (m *ConsensusState) ClientType() string
func (*ConsensusState) Descriptor ¶
func (*ConsensusState) Descriptor() ([]byte, []int)
func (*ConsensusState) GetTimestamp ¶
func (m *ConsensusState) GetTimestamp() uint64
func (*ConsensusState) Marshal ¶
func (m *ConsensusState) Marshal() (dAtA []byte, err error)
func (*ConsensusState) MarshalToSizedBuffer ¶
func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusState) ProtoMessage ¶
func (*ConsensusState) ProtoMessage()
func (*ConsensusState) Reset ¶
func (m *ConsensusState) Reset()
func (*ConsensusState) Size ¶
func (m *ConsensusState) Size() (n int)
func (*ConsensusState) String ¶
func (m *ConsensusState) String() string
func (*ConsensusState) Unmarshal ¶
func (m *ConsensusState) Unmarshal(dAtA []byte) error
func (*ConsensusState) ValidateBasic ¶
func (m *ConsensusState) ValidateBasic() error
func (*ConsensusState) XXX_DiscardUnknown ¶
func (m *ConsensusState) XXX_DiscardUnknown()
func (*ConsensusState) XXX_Marshal ¶
func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusState) XXX_Merge ¶
func (m *ConsensusState) XXX_Merge(src proto.Message)
func (*ConsensusState) XXX_Size ¶
func (m *ConsensusState) XXX_Size() int
func (*ConsensusState) XXX_Unmarshal ¶
func (m *ConsensusState) XXX_Unmarshal(b []byte) error
type Duration ¶
type Duration struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` }
func (*Duration) Descriptor ¶
func (*Duration) GetSeconds ¶
func (*Duration) MarshalToSizedBuffer ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) XXX_DiscardUnknown ¶
func (m *Duration) XXX_DiscardUnknown()
func (*Duration) XXX_Marshal ¶
func (*Duration) XXX_Unmarshal ¶
type Fraction ¶
type Fraction struct { Numerator uint64 `protobuf:"varint,1,opt,name=numerator,proto3" json:"numerator,omitempty"` Denominator uint64 `protobuf:"varint,2,opt,name=denominator,proto3" json:"denominator,omitempty"` }
func (*Fraction) Descriptor ¶
func (*Fraction) GetDenominator ¶
func (*Fraction) GetNumerator ¶
func (*Fraction) MarshalToSizedBuffer ¶
func (*Fraction) ProtoMessage ¶
func (*Fraction) ProtoMessage()
func (*Fraction) XXX_DiscardUnknown ¶
func (m *Fraction) XXX_DiscardUnknown()
func (*Fraction) XXX_Marshal ¶
func (*Fraction) XXX_Unmarshal ¶
type LightHeader ¶
type LightHeader struct { Version *Consensus `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Time *Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` LastBlockId *BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id,omitempty"` LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"` DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` ValidatorsHash []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` ConsensusHash []byte `protobuf:"bytes,10,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"` AppHash []byte `protobuf:"bytes,11,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` LastResultsHash []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"` EvidenceHash []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"` ProposerAddress []byte `protobuf:"bytes,14,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` }
func (*LightHeader) Descriptor ¶
func (*LightHeader) Descriptor() ([]byte, []int)
func (*LightHeader) GetAppHash ¶
func (m *LightHeader) GetAppHash() []byte
func (*LightHeader) GetChainId ¶
func (m *LightHeader) GetChainId() string
func (*LightHeader) GetConsensusHash ¶
func (m *LightHeader) GetConsensusHash() []byte
func (*LightHeader) GetDataHash ¶
func (m *LightHeader) GetDataHash() []byte
func (*LightHeader) GetEvidenceHash ¶
func (m *LightHeader) GetEvidenceHash() []byte
func (*LightHeader) GetHeight ¶
func (m *LightHeader) GetHeight() int64
func (*LightHeader) GetLastBlockId ¶
func (m *LightHeader) GetLastBlockId() *BlockID
func (*LightHeader) GetLastCommitHash ¶
func (m *LightHeader) GetLastCommitHash() []byte
func (*LightHeader) GetLastResultsHash ¶
func (m *LightHeader) GetLastResultsHash() []byte
func (*LightHeader) GetNextValidatorsHash ¶
func (m *LightHeader) GetNextValidatorsHash() []byte
func (*LightHeader) GetProposerAddress ¶
func (m *LightHeader) GetProposerAddress() []byte
func (*LightHeader) GetTime ¶
func (m *LightHeader) GetTime() *Timestamp
func (*LightHeader) GetValidatorsHash ¶
func (m *LightHeader) GetValidatorsHash() []byte
func (*LightHeader) GetVersion ¶
func (m *LightHeader) GetVersion() *Consensus
func (*LightHeader) Marshal ¶
func (m *LightHeader) Marshal() (dAtA []byte, err error)
func (*LightHeader) MarshalToSizedBuffer ¶
func (m *LightHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LightHeader) ProtoMessage ¶
func (*LightHeader) ProtoMessage()
func (*LightHeader) Reset ¶
func (m *LightHeader) Reset()
func (*LightHeader) Size ¶
func (m *LightHeader) Size() (n int)
func (*LightHeader) String ¶
func (m *LightHeader) String() string
func (*LightHeader) Unmarshal ¶
func (m *LightHeader) Unmarshal(dAtA []byte) error
func (*LightHeader) XXX_DiscardUnknown ¶
func (m *LightHeader) XXX_DiscardUnknown()
func (*LightHeader) XXX_Marshal ¶
func (m *LightHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LightHeader) XXX_Merge ¶
func (m *LightHeader) XXX_Merge(src proto.Message)
func (*LightHeader) XXX_Size ¶
func (m *LightHeader) XXX_Size() int
func (*LightHeader) XXX_Unmarshal ¶
func (m *LightHeader) XXX_Unmarshal(b []byte) error
type MerkleRoot ¶
type MerkleRoot struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
}
MerkleRoot defines a merkle root hash. In the Cosmos SDK, the AppHash of a block header becomes the root.
func (*MerkleRoot) Descriptor ¶
func (*MerkleRoot) Descriptor() ([]byte, []int)
func (*MerkleRoot) GetHash ¶
func (m *MerkleRoot) GetHash() []byte
func (*MerkleRoot) Marshal ¶
func (m *MerkleRoot) Marshal() (dAtA []byte, err error)
func (*MerkleRoot) MarshalToSizedBuffer ¶
func (m *MerkleRoot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MerkleRoot) ProtoMessage ¶
func (*MerkleRoot) ProtoMessage()
func (*MerkleRoot) Reset ¶
func (m *MerkleRoot) Reset()
func (*MerkleRoot) Size ¶
func (m *MerkleRoot) Size() (n int)
func (*MerkleRoot) String ¶
func (m *MerkleRoot) String() string
func (*MerkleRoot) Unmarshal ¶
func (m *MerkleRoot) Unmarshal(dAtA []byte) error
func (*MerkleRoot) XXX_DiscardUnknown ¶
func (m *MerkleRoot) XXX_DiscardUnknown()
func (*MerkleRoot) XXX_Marshal ¶
func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MerkleRoot) XXX_Merge ¶
func (m *MerkleRoot) XXX_Merge(src proto.Message)
func (*MerkleRoot) XXX_Size ¶
func (m *MerkleRoot) XXX_Size() int
func (*MerkleRoot) XXX_Unmarshal ¶
func (m *MerkleRoot) XXX_Unmarshal(b []byte) error
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"` }
func (*PartSetHeader) Descriptor ¶
func (*PartSetHeader) Descriptor() ([]byte, []int)
func (*PartSetHeader) GetHash ¶
func (m *PartSetHeader) GetHash() []byte
func (*PartSetHeader) GetTotal ¶
func (m *PartSetHeader) GetTotal() uint32
func (*PartSetHeader) Marshal ¶
func (m *PartSetHeader) Marshal() (dAtA []byte, err error)
func (*PartSetHeader) MarshalToSizedBuffer ¶
func (m *PartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PartSetHeader) ProtoMessage ¶
func (*PartSetHeader) ProtoMessage()
func (*PartSetHeader) Reset ¶
func (m *PartSetHeader) Reset()
func (*PartSetHeader) Size ¶
func (m *PartSetHeader) Size() (n int)
func (*PartSetHeader) String ¶
func (m *PartSetHeader) String() string
func (*PartSetHeader) Unmarshal ¶
func (m *PartSetHeader) Unmarshal(dAtA []byte) error
func (*PartSetHeader) XXX_DiscardUnknown ¶
func (m *PartSetHeader) XXX_DiscardUnknown()
func (*PartSetHeader) XXX_Marshal ¶
func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PartSetHeader) XXX_Merge ¶
func (m *PartSetHeader) XXX_Merge(src proto.Message)
func (*PartSetHeader) XXX_Size ¶
func (m *PartSetHeader) XXX_Size() int
func (*PartSetHeader) XXX_Unmarshal ¶
func (m *PartSetHeader) XXX_Unmarshal(b []byte) error
type PublicKey ¶
type PublicKey struct { // Types that are valid to be assigned to Sum: // // *PublicKey_Ed25519 // *PublicKey_Secp256K1 // *PublicKey_Sr25519 Sum isPublicKey_Sum `protobuf_oneof:"sum"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetEd25519 ¶
func (*PublicKey) GetSecp256K1 ¶
func (*PublicKey) GetSr25519 ¶
func (*PublicKey) MarshalToSizedBuffer ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_OneofWrappers ¶
func (*PublicKey) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PublicKey) XXX_Unmarshal ¶
type PublicKey_Ed25519 ¶
type PublicKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof" json:"ed25519,omitempty"`
}
func (*PublicKey_Ed25519) MarshalTo ¶
func (m *PublicKey_Ed25519) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) MarshalToSizedBuffer ¶
func (m *PublicKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Ed25519) Size ¶
func (m *PublicKey_Ed25519) Size() (n int)
type PublicKey_Secp256K1 ¶
type PublicKey_Secp256K1 struct {
Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256k1,proto3,oneof" json:"secp256k1,omitempty"`
}
func (*PublicKey_Secp256K1) MarshalTo ¶
func (m *PublicKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) MarshalToSizedBuffer ¶
func (m *PublicKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Secp256K1) Size ¶
func (m *PublicKey_Secp256K1) Size() (n int)
type PublicKey_Sr25519 ¶
type PublicKey_Sr25519 struct {
Sr25519 []byte `protobuf:"bytes,3,opt,name=sr25519,proto3,oneof" json:"sr25519,omitempty"`
}
func (*PublicKey_Sr25519) MarshalTo ¶
func (m *PublicKey_Sr25519) MarshalTo(dAtA []byte) (int, error)
func (*PublicKey_Sr25519) MarshalToSizedBuffer ¶
func (m *PublicKey_Sr25519) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PublicKey_Sr25519) Size ¶
func (m *PublicKey_Sr25519) Size() (n int)
type SignedHeader ¶
type SignedHeader struct { Header *LightHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Commit *Commit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` }
func (*SignedHeader) Descriptor ¶
func (*SignedHeader) Descriptor() ([]byte, []int)
func (*SignedHeader) GetCommit ¶
func (m *SignedHeader) GetCommit() *Commit
func (*SignedHeader) GetHeader ¶
func (m *SignedHeader) GetHeader() *LightHeader
func (*SignedHeader) Marshal ¶
func (m *SignedHeader) Marshal() (dAtA []byte, err error)
func (*SignedHeader) MarshalToSizedBuffer ¶
func (m *SignedHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedHeader) ProtoMessage ¶
func (*SignedHeader) ProtoMessage()
func (*SignedHeader) Reset ¶
func (m *SignedHeader) Reset()
func (*SignedHeader) Size ¶
func (m *SignedHeader) Size() (n int)
func (*SignedHeader) String ¶
func (m *SignedHeader) String() string
func (*SignedHeader) Unmarshal ¶
func (m *SignedHeader) Unmarshal(dAtA []byte) error
func (*SignedHeader) XXX_DiscardUnknown ¶
func (m *SignedHeader) XXX_DiscardUnknown()
func (*SignedHeader) XXX_Marshal ¶
func (m *SignedHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedHeader) XXX_Merge ¶
func (m *SignedHeader) XXX_Merge(src proto.Message)
func (*SignedHeader) XXX_Size ¶
func (m *SignedHeader) XXX_Size() int
func (*SignedHeader) XXX_Unmarshal ¶
func (m *SignedHeader) XXX_Unmarshal(b []byte) error
type SignedMsgType ¶
type SignedMsgType int32
const ( SignedMsgType_SIGNED_MSG_TYPE_UNKNOWN SignedMsgType = 0 // Votes SignedMsgType_SIGNED_MSG_TYPE_PREVOTE SignedMsgType = 1 SignedMsgType_SIGNED_MSG_TYPE_PRECOMMIT SignedMsgType = 2 // Proposals SignedMsgType_SIGNED_MSG_TYPE_PROPOSAL SignedMsgType = 32 )
func (SignedMsgType) EnumDescriptor ¶
func (SignedMsgType) EnumDescriptor() ([]byte, []int)
func (SignedMsgType) String ¶
func (x SignedMsgType) String() string
type SimpleValidator ¶
type SimpleValidator struct { PubKey *PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` VotingPower int64 `protobuf:"varint,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` }
func (*SimpleValidator) Descriptor ¶
func (*SimpleValidator) Descriptor() ([]byte, []int)
func (*SimpleValidator) GetPubKey ¶
func (m *SimpleValidator) GetPubKey() *PublicKey
func (*SimpleValidator) GetVotingPower ¶
func (m *SimpleValidator) GetVotingPower() int64
func (*SimpleValidator) Marshal ¶
func (m *SimpleValidator) Marshal() (dAtA []byte, err error)
func (*SimpleValidator) MarshalToSizedBuffer ¶
func (m *SimpleValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimpleValidator) ProtoMessage ¶
func (*SimpleValidator) ProtoMessage()
func (*SimpleValidator) Reset ¶
func (m *SimpleValidator) Reset()
func (*SimpleValidator) Size ¶
func (m *SimpleValidator) Size() (n int)
func (*SimpleValidator) String ¶
func (m *SimpleValidator) String() string
func (*SimpleValidator) Unmarshal ¶
func (m *SimpleValidator) Unmarshal(dAtA []byte) error
func (*SimpleValidator) XXX_DiscardUnknown ¶
func (m *SimpleValidator) XXX_DiscardUnknown()
func (*SimpleValidator) XXX_Marshal ¶
func (m *SimpleValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimpleValidator) XXX_Merge ¶
func (m *SimpleValidator) XXX_Merge(src proto.Message)
func (*SimpleValidator) XXX_Size ¶
func (m *SimpleValidator) XXX_Size() int
func (*SimpleValidator) XXX_Unmarshal ¶
func (m *SimpleValidator) XXX_Unmarshal(b []byte) error
type Timestamp ¶
type Timestamp struct { // Represents seconds of UTC time since Unix epoch // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to // 9999-12-31T23:59:59Z inclusive. Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` // Non-negative fractions of a second at nanosecond resolution. Negative // second values with fractions must still have non-negative nanos values // that count forward in time. Must be from 0 to 999,999,999 // inclusive. Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` }
func (*Timestamp) Descriptor ¶
func (*Timestamp) GetSeconds ¶
func (*Timestamp) MarshalToSizedBuffer ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) XXX_DiscardUnknown ¶
func (m *Timestamp) XXX_DiscardUnknown()
func (*Timestamp) XXX_Marshal ¶
func (*Timestamp) XXX_Unmarshal ¶
type TmHeader ¶
type TmHeader struct { SignedHeader *SignedHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"` ValidatorSet *ValidatorSet `protobuf:"bytes,2,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"` TrustedHeight int64 `protobuf:"varint,3,opt,name=trusted_height,json=trustedHeight,proto3" json:"trusted_height,omitempty"` TrustedValidators *ValidatorSet `protobuf:"bytes,4,opt,name=trusted_validators,json=trustedValidators,proto3" json:"trusted_validators,omitempty"` }
func (*TmHeader) ClientType ¶
func (*TmHeader) Descriptor ¶
func (*TmHeader) GetSignedHeader ¶
func (m *TmHeader) GetSignedHeader() *SignedHeader
func (*TmHeader) GetTrustedHeight ¶
func (*TmHeader) GetTrustedValidators ¶
func (m *TmHeader) GetTrustedValidators() *ValidatorSet
func (*TmHeader) GetValidatorSet ¶
func (m *TmHeader) GetValidatorSet() *ValidatorSet
func (*TmHeader) MarshalToSizedBuffer ¶
func (*TmHeader) ProtoMessage ¶
func (*TmHeader) ProtoMessage()
func (*TmHeader) ValidateBasic ¶
func (*TmHeader) XXX_DiscardUnknown ¶
func (m *TmHeader) XXX_DiscardUnknown()
func (*TmHeader) XXX_Marshal ¶
func (*TmHeader) XXX_Unmarshal ¶
type Validator ¶
type Validator struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` PubKey *PublicKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` VotingPower int64 `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"` ProposerPriority int64 `protobuf:"varint,4,opt,name=proposer_priority,json=proposerPriority,proto3" json:"proposer_priority,omitempty"` }
func (*Validator) Descriptor ¶
func (*Validator) GetAddress ¶
func (*Validator) GetProposerPriority ¶
func (*Validator) GetVotingPower ¶
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorSet ¶
type ValidatorSet struct { Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` Proposer *Validator `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` TotalVotingPower int64 `protobuf:"varint,3,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` }
func (*ValidatorSet) Descriptor ¶
func (*ValidatorSet) Descriptor() ([]byte, []int)
func (*ValidatorSet) GetProposer ¶
func (m *ValidatorSet) GetProposer() *Validator
func (*ValidatorSet) GetTotalVotingPower ¶
func (m *ValidatorSet) GetTotalVotingPower() int64
func (*ValidatorSet) GetValidators ¶
func (m *ValidatorSet) GetValidators() []*Validator
func (*ValidatorSet) Marshal ¶
func (m *ValidatorSet) Marshal() (dAtA []byte, err error)
func (*ValidatorSet) MarshalToSizedBuffer ¶
func (m *ValidatorSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorSet) ProtoMessage ¶
func (*ValidatorSet) ProtoMessage()
func (*ValidatorSet) Reset ¶
func (m *ValidatorSet) Reset()
func (*ValidatorSet) Size ¶
func (m *ValidatorSet) Size() (n int)
func (*ValidatorSet) String ¶
func (m *ValidatorSet) String() string
func (*ValidatorSet) Unmarshal ¶
func (m *ValidatorSet) Unmarshal(dAtA []byte) error
func (*ValidatorSet) XXX_DiscardUnknown ¶
func (m *ValidatorSet) XXX_DiscardUnknown()
func (*ValidatorSet) XXX_Marshal ¶
func (m *ValidatorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorSet) XXX_Merge ¶
func (m *ValidatorSet) XXX_Merge(src proto.Message)
func (*ValidatorSet) XXX_Size ¶
func (m *ValidatorSet) XXX_Size() int
func (*ValidatorSet) XXX_Unmarshal ¶
func (m *ValidatorSet) XXX_Unmarshal(b []byte) error
type Vote ¶
type Vote struct { Type SignedMsgType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.light.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 *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"` }
func (*Vote) Descriptor ¶
func (*Vote) GetBlockId ¶
func (*Vote) GetSignature ¶
func (*Vote) GetTimestamp ¶
func (*Vote) GetType ¶
func (m *Vote) GetType() SignedMsgType
func (*Vote) GetValidatorAddress ¶
func (*Vote) GetValidatorIndex ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.