Documentation ¶
Index ¶
- Variables
- type AuthInfo
- func (*AuthInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuthInfo) GetFee() *Fee
- func (x *AuthInfo) GetSignerInfos() []*SignerInfo
- func (x *AuthInfo) GetTip() *Tip
- func (*AuthInfo) ProtoMessage()
- func (x *AuthInfo) ProtoReflect() protoreflect.Message
- func (x *AuthInfo) Reset()
- func (x *AuthInfo) String() string
- type AuxSignerData
- func (*AuxSignerData) Descriptor() ([]byte, []int)deprecated
- func (x *AuxSignerData) GetAddress() string
- func (x *AuxSignerData) GetMode() SignMode
- func (x *AuxSignerData) GetSig() []byte
- func (x *AuxSignerData) GetSignDoc() *SignDocDirectAux
- func (*AuxSignerData) ProtoMessage()
- func (x *AuxSignerData) ProtoReflect() protoreflect.Message
- func (x *AuxSignerData) Reset()
- func (x *AuxSignerData) String() string
- type Block
- func (*Block) Descriptor() ([]byte, []int)deprecated
- func (x *Block) GetEvidence() *EvidenceList
- func (x *Block) GetHeader() *Header
- func (x *Block) GetLastCommit() *Commit
- func (*Block) ProtoMessage()
- func (x *Block) ProtoReflect() protoreflect.Message
- func (x *Block) Reset()
- func (x *Block) String() string
- type BlockID
- type BlockIDFlag
- func (BlockIDFlag) Descriptor() protoreflect.EnumDescriptor
- func (x BlockIDFlag) Enum() *BlockIDFlag
- func (BlockIDFlag) EnumDescriptor() ([]byte, []int)deprecated
- func (x BlockIDFlag) Number() protoreflect.EnumNumber
- func (x BlockIDFlag) String() string
- func (BlockIDFlag) Type() protoreflect.EnumType
- type BlockParams
- func (*BlockParams) Descriptor() ([]byte, []int)deprecated
- func (x *BlockParams) GetMaxBytes() int64
- func (x *BlockParams) GetMaxGas() int64
- func (*BlockParams) ProtoMessage()
- func (x *BlockParams) ProtoReflect() protoreflect.Message
- func (x *BlockParams) Reset()
- func (x *BlockParams) String() string
- type Coin
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetBlockId() *BlockID
- func (x *Commit) GetHeight() int64
- func (x *Commit) GetRound() int32
- func (x *Commit) GetSignatures() []*CommitSig
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type CommitSig
- func (*CommitSig) Descriptor() ([]byte, []int)deprecated
- func (x *CommitSig) GetBlockIdFlag() BlockIDFlag
- func (x *CommitSig) GetSignature() []byte
- func (x *CommitSig) GetTimestamp() *Timestamp
- func (x *CommitSig) GetValidatorAddress() []byte
- func (*CommitSig) ProtoMessage()
- func (x *CommitSig) ProtoReflect() protoreflect.Message
- func (x *CommitSig) Reset()
- func (x *CommitSig) String() string
- type CompactBitArray
- func (*CompactBitArray) Descriptor() ([]byte, []int)deprecated
- func (x *CompactBitArray) GetElems() []byte
- func (x *CompactBitArray) GetExtraBitsStored() uint32
- func (*CompactBitArray) ProtoMessage()
- func (x *CompactBitArray) ProtoReflect() protoreflect.Message
- func (x *CompactBitArray) Reset()
- func (x *CompactBitArray) String() string
- type Consensus
- type ConsensusParams
- func (*ConsensusParams) Descriptor() ([]byte, []int)deprecated
- func (x *ConsensusParams) GetBlock() *BlockParams
- func (x *ConsensusParams) GetEvidence() *EvidenceParams
- func (x *ConsensusParams) GetValidator() *ValidatorParams
- func (x *ConsensusParams) GetVersion() *VersionParams
- func (*ConsensusParams) ProtoMessage()
- func (x *ConsensusParams) ProtoReflect() protoreflect.Message
- func (x *ConsensusParams) Reset()
- func (x *ConsensusParams) String() string
- type Data
- type Data_Multi
- type Data_Single
- type DecCoin
- type DecProto
- type DuplicateVoteEvidence
- func (*DuplicateVoteEvidence) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateVoteEvidence) GetTimestamp() *Timestamp
- func (x *DuplicateVoteEvidence) GetTotalVotingPower() int64
- func (x *DuplicateVoteEvidence) GetValidatorPower() int64
- func (x *DuplicateVoteEvidence) GetVoteA() *EventVote
- func (x *DuplicateVoteEvidence) GetVoteB() *EventVote
- func (*DuplicateVoteEvidence) ProtoMessage()
- func (x *DuplicateVoteEvidence) ProtoReflect() protoreflect.Message
- func (x *DuplicateVoteEvidence) Reset()
- func (x *DuplicateVoteEvidence) String() string
- type Duration
- type Event
- type EventAttribute
- func (*EventAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *EventAttribute) GetIndex() bool
- func (x *EventAttribute) GetKey() string
- func (x *EventAttribute) GetValue() string
- func (*EventAttribute) ProtoMessage()
- func (x *EventAttribute) ProtoReflect() protoreflect.Message
- func (x *EventAttribute) Reset()
- func (x *EventAttribute) String() string
- type EventBlock
- func (*EventBlock) Descriptor() ([]byte, []int)deprecated
- func (x *EventBlock) GetBlock() *Block
- func (x *EventBlock) GetBlockId() *BlockID
- func (x *EventBlock) GetResultBeginBlock() *ResponseBeginBlock
- func (x *EventBlock) GetResultEndBlock() *ResponseEndBlock
- func (*EventBlock) ProtoMessage()
- func (x *EventBlock) ProtoReflect() protoreflect.Message
- func (x *EventBlock) Reset()
- func (x *EventBlock) String() string
- type EventData
- type EventList
- func (*EventList) Descriptor() ([]byte, []int)deprecated
- func (x *EventList) GetNewBlock() *EventBlock
- func (x *EventList) GetTransaction() []*EventTx
- func (x *EventList) GetValidatorSetUpdates() *EventValidatorSetUpdates
- func (*EventList) ProtoMessage()
- func (x *EventList) ProtoReflect() protoreflect.Message
- func (x *EventList) Reset()
- func (x *EventList) String() string
- type EventTx
- type EventValidatorSetUpdates
- func (*EventValidatorSetUpdates) Descriptor() ([]byte, []int)deprecated
- func (x *EventValidatorSetUpdates) GetValidatorUpdates() []*Validator
- func (*EventValidatorSetUpdates) ProtoMessage()
- func (x *EventValidatorSetUpdates) ProtoReflect() protoreflect.Message
- func (x *EventValidatorSetUpdates) Reset()
- func (x *EventValidatorSetUpdates) String() string
- type EventVote
- func (*EventVote) Descriptor() ([]byte, []int)deprecated
- func (x *EventVote) GetBlockId() *BlockID
- func (x *EventVote) GetEventVoteType() SignedMsgType
- func (x *EventVote) GetHeight() uint64
- func (x *EventVote) GetRound() int32
- func (x *EventVote) GetSignature() []byte
- func (x *EventVote) GetTimestamp() *Timestamp
- func (x *EventVote) GetValidatorAddress() []byte
- func (x *EventVote) GetValidatorIndex() int32
- func (*EventVote) ProtoMessage()
- func (x *EventVote) ProtoReflect() protoreflect.Message
- func (x *EventVote) Reset()
- func (x *EventVote) String() string
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetDuplicateVoteEvidence() *DuplicateVoteEvidence
- func (x *Evidence) GetLightClientAttackEvidence() *LightClientAttackEvidence
- func (m *Evidence) GetSum() isEvidence_Sum
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- type EvidenceList
- type EvidenceParams
- func (*EvidenceParams) Descriptor() ([]byte, []int)deprecated
- func (x *EvidenceParams) GetMaxAgeDuration() *Duration
- func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
- func (x *EvidenceParams) GetMaxBytes() int64
- func (*EvidenceParams) ProtoMessage()
- func (x *EvidenceParams) ProtoReflect() protoreflect.Message
- func (x *EvidenceParams) Reset()
- func (x *EvidenceParams) String() string
- type Evidence_DuplicateVoteEvidence
- type Evidence_LightClientAttackEvidence
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)deprecated
- func (x *Fee) GetAmount() []*Coin
- func (x *Fee) GetGasLimit() uint64
- func (x *Fee) GetGranter() string
- func (x *Fee) GetPayer() string
- func (*Fee) ProtoMessage()
- func (x *Fee) ProtoReflect() protoreflect.Message
- func (x *Fee) Reset()
- func (x *Fee) String() string
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAppHash() []byte
- func (x *Header) GetChainId() string
- func (x *Header) GetConsensusHash() []byte
- func (x *Header) GetDataHash() []byte
- func (x *Header) GetEvidenceHash() []byte
- func (x *Header) GetHeight() uint64
- func (x *Header) GetLastBlockId() *BlockID
- func (x *Header) GetLastCommitHash() []byte
- func (x *Header) GetLastResultsHash() []byte
- func (x *Header) GetNextValidatorsHash() []byte
- func (x *Header) GetProposerAddress() []byte
- func (x *Header) GetTime() *Timestamp
- func (x *Header) GetValidatorsHash() []byte
- func (x *Header) GetVersion() *Consensus
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type IntProto
- type InterfaceDescriptor
- func (*InterfaceDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceDescriptor) GetDescription() string
- func (x *InterfaceDescriptor) GetName() string
- func (*InterfaceDescriptor) ProtoMessage()
- func (x *InterfaceDescriptor) ProtoReflect() protoreflect.Message
- func (x *InterfaceDescriptor) Reset()
- func (x *InterfaceDescriptor) String() string
- type LightBlock
- func (*LightBlock) Descriptor() ([]byte, []int)deprecated
- func (x *LightBlock) GetSignedHeader() *SignedHeader
- func (x *LightBlock) GetValidatorSet() *ValidatorSet
- func (*LightBlock) ProtoMessage()
- func (x *LightBlock) ProtoReflect() protoreflect.Message
- func (x *LightBlock) Reset()
- func (x *LightBlock) String() string
- type LightClientAttackEvidence
- func (*LightClientAttackEvidence) Descriptor() ([]byte, []int)deprecated
- func (x *LightClientAttackEvidence) GetByzantineValidators() []*Validator
- func (x *LightClientAttackEvidence) GetCommonHeight() int64
- func (x *LightClientAttackEvidence) GetConflictingBlock() *LightBlock
- func (x *LightClientAttackEvidence) GetTimestamp() *Timestamp
- func (x *LightClientAttackEvidence) GetTotalVotingPower() int64
- func (*LightClientAttackEvidence) ProtoMessage()
- func (x *LightClientAttackEvidence) ProtoReflect() protoreflect.Message
- func (x *LightClientAttackEvidence) Reset()
- func (x *LightClientAttackEvidence) String() string
- type ModeInfo
- func (*ModeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ModeInfo) GetMulti() *ModeInfoMulti
- func (x *ModeInfo) GetSingle() *ModeInfoSingle
- func (m *ModeInfo) GetSum() isModeInfo_Sum
- func (*ModeInfo) ProtoMessage()
- func (x *ModeInfo) ProtoReflect() protoreflect.Message
- func (x *ModeInfo) Reset()
- func (x *ModeInfo) String() string
- type ModeInfoMulti
- func (*ModeInfoMulti) Descriptor() ([]byte, []int)deprecated
- func (x *ModeInfoMulti) GetBitarray() *CompactBitArray
- func (x *ModeInfoMulti) GetModeInfos() []*ModeInfo
- func (*ModeInfoMulti) ProtoMessage()
- func (x *ModeInfoMulti) ProtoReflect() protoreflect.Message
- func (x *ModeInfoMulti) Reset()
- func (x *ModeInfoMulti) String() string
- type ModeInfoSingle
- type ModeInfo_Multi
- type ModeInfo_Single
- type Multi
- type MultiSignature
- 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 PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *PublicKey) GetEd25519() []byte
- func (x *PublicKey) GetSecp256K1() []byte
- func (m *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 ResponseBeginBlock
- func (*ResponseBeginBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseBeginBlock) GetEvents() []*Event
- func (*ResponseBeginBlock) ProtoMessage()
- func (x *ResponseBeginBlock) ProtoReflect() protoreflect.Message
- func (x *ResponseBeginBlock) Reset()
- func (x *ResponseBeginBlock) String() string
- type ResponseDeliverTx
- func (*ResponseDeliverTx) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseDeliverTx) GetCode() uint32
- func (x *ResponseDeliverTx) GetCodespace() string
- func (x *ResponseDeliverTx) GetData() []byte
- func (x *ResponseDeliverTx) GetEvents() []*Event
- func (x *ResponseDeliverTx) GetGasUsed() int64
- func (x *ResponseDeliverTx) GetGasWanted() int64
- func (x *ResponseDeliverTx) GetInfo() string
- func (x *ResponseDeliverTx) GetLog() string
- func (*ResponseDeliverTx) ProtoMessage()
- func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message
- func (x *ResponseDeliverTx) Reset()
- func (x *ResponseDeliverTx) String() string
- type ResponseEndBlock
- func (*ResponseEndBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams
- func (x *ResponseEndBlock) GetEvents() []*Event
- func (x *ResponseEndBlock) GetValidatorUpdates() []*ValidatorUpdate
- func (*ResponseEndBlock) ProtoMessage()
- func (x *ResponseEndBlock) ProtoReflect() protoreflect.Message
- func (x *ResponseEndBlock) Reset()
- func (x *ResponseEndBlock) String() string
- type ScalarDescriptor
- func (*ScalarDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarDescriptor) GetDescription() string
- func (x *ScalarDescriptor) GetFieldType() []ScalarType
- func (x *ScalarDescriptor) GetName() string
- func (*ScalarDescriptor) ProtoMessage()
- func (x *ScalarDescriptor) ProtoReflect() protoreflect.Message
- func (x *ScalarDescriptor) Reset()
- func (x *ScalarDescriptor) String() string
- type ScalarType
- type SignDoc
- func (*SignDoc) Descriptor() ([]byte, []int)deprecated
- func (x *SignDoc) GetAccountNumber() uint64
- func (x *SignDoc) GetAuthInfoBytes() []byte
- func (x *SignDoc) GetBodyBytes() []byte
- func (x *SignDoc) GetChainId() string
- func (*SignDoc) ProtoMessage()
- func (x *SignDoc) ProtoReflect() protoreflect.Message
- func (x *SignDoc) Reset()
- func (x *SignDoc) String() string
- type SignDocDirectAux
- func (*SignDocDirectAux) Descriptor() ([]byte, []int)deprecated
- func (x *SignDocDirectAux) GetAccountNumber() uint64
- func (x *SignDocDirectAux) GetBodyBytes() []byte
- func (x *SignDocDirectAux) GetChainId() string
- func (x *SignDocDirectAux) GetPublicKey() *anypb.Any
- func (x *SignDocDirectAux) GetSequence() uint64
- func (x *SignDocDirectAux) GetTip() *Tip
- func (*SignDocDirectAux) ProtoMessage()
- func (x *SignDocDirectAux) ProtoReflect() protoreflect.Message
- func (x *SignDocDirectAux) Reset()
- func (x *SignDocDirectAux) String() string
- type SignMode
- type SignatureDescriptor
- func (*SignatureDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureDescriptor) GetData() *Data
- func (x *SignatureDescriptor) GetPublicKey() *anypb.Any
- func (x *SignatureDescriptor) GetSequence() uint64
- func (*SignatureDescriptor) ProtoMessage()
- func (x *SignatureDescriptor) ProtoReflect() protoreflect.Message
- func (x *SignatureDescriptor) Reset()
- func (x *SignatureDescriptor) String() string
- type SignatureDescriptors
- func (*SignatureDescriptors) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureDescriptors) GetSignatures() []*SignatureDescriptor
- func (*SignatureDescriptors) ProtoMessage()
- func (x *SignatureDescriptors) ProtoReflect() protoreflect.Message
- func (x *SignatureDescriptors) Reset()
- func (x *SignatureDescriptors) String() string
- type SignedHeader
- func (*SignedHeader) Descriptor() ([]byte, []int)deprecated
- func (x *SignedHeader) GetCommit() *Commit
- func (x *SignedHeader) GetHeader() *Header
- func (*SignedHeader) ProtoMessage()
- func (x *SignedHeader) ProtoReflect() protoreflect.Message
- func (x *SignedHeader) Reset()
- func (x *SignedHeader) 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 SignerInfo
- func (*SignerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SignerInfo) GetModeInfo() *ModeInfo
- func (x *SignerInfo) GetPublicKey() *anypb.Any
- func (x *SignerInfo) GetSequence() uint64
- func (*SignerInfo) ProtoMessage()
- func (x *SignerInfo) ProtoReflect() protoreflect.Message
- func (x *SignerInfo) Reset()
- func (x *SignerInfo) String() string
- type Single
- type Timestamp
- type Tip
- type TransactionData
- func (*TransactionData) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionData) GetBlock() *EventBlock
- func (x *TransactionData) GetTx() *TxResult
- func (*TransactionData) ProtoMessage()
- func (x *TransactionData) ProtoReflect() protoreflect.Message
- func (x *TransactionData) Reset()
- func (x *TransactionData) String() string
- type Tx
- type TxBody
- func (*TxBody) Descriptor() ([]byte, []int)deprecated
- func (x *TxBody) GetExtensionOptions() []*anypb.Any
- func (x *TxBody) GetMemo() string
- func (x *TxBody) GetMessages() []*anypb.Any
- func (x *TxBody) GetNonCriticalExtensionOptions() []*anypb.Any
- func (x *TxBody) GetTimeoutHeight() uint64
- func (*TxBody) ProtoMessage()
- func (x *TxBody) ProtoReflect() protoreflect.Message
- func (x *TxBody) Reset()
- func (x *TxBody) String() string
- type TxRaw
- func (*TxRaw) Descriptor() ([]byte, []int)deprecated
- func (x *TxRaw) GetAuthInfoBytes() []byte
- func (x *TxRaw) GetBodyBytes() []byte
- func (x *TxRaw) GetSignatures() [][]byte
- func (*TxRaw) ProtoMessage()
- func (x *TxRaw) ProtoReflect() protoreflect.Message
- func (x *TxRaw) Reset()
- func (x *TxRaw) String() string
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)deprecated
- func (x *TxResult) GetHash() []byte
- func (x *TxResult) GetHeight() uint64
- func (x *TxResult) GetIndex() uint32
- func (x *TxResult) GetResult() *ResponseDeliverTx
- func (x *TxResult) GetTx() *Tx
- func (*TxResult) ProtoMessage()
- func (x *TxResult) ProtoReflect() protoreflect.Message
- func (x *TxResult) Reset()
- func (x *TxResult) String() string
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAddress() []byte
- func (x *Validator) GetProposerPriority() int64
- func (x *Validator) GetPubKey() *PublicKey
- func (x *Validator) GetVotingPower() int64
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type ValidatorParams
- type ValidatorSet
- func (*ValidatorSet) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorSet) GetProposer() *Validator
- func (x *ValidatorSet) GetTotalVotingPower() int64
- func (x *ValidatorSet) GetValidators() []*Validator
- func (*ValidatorSet) ProtoMessage()
- func (x *ValidatorSet) ProtoReflect() protoreflect.Message
- func (x *ValidatorSet) Reset()
- func (x *ValidatorSet) String() string
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *ValidatorUpdate) GetAddress() []byte
- func (x *ValidatorUpdate) GetPower() int64
- func (x *ValidatorUpdate) GetPubKey() *PublicKey
- func (*ValidatorUpdate) ProtoMessage()
- func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message
- func (x *ValidatorUpdate) Reset()
- func (x *ValidatorUpdate) String() string
- type VersionParams
Constants ¶
This section is empty.
Variables ¶
var ( SignMode_name = map[int32]string{ 0: "SIGN_MODE_UNSPECIFIED", 1: "SIGN_MODE_DIRECT", 2: "SIGN_MODE_TEXTUAL", 127: "SIGN_MODE_LEGACY_AMINO_JSON", } SignMode_value = map[string]int32{ "SIGN_MODE_UNSPECIFIED": 0, "SIGN_MODE_DIRECT": 1, "SIGN_MODE_TEXTUAL": 2, "SIGN_MODE_LEGACY_AMINO_JSON": 127, } )
Enum value maps for SignMode.
var ( ScalarType_name = map[int32]string{ 0: "SCALAR_TYPE_UNSPECIFIED", 1: "SCALAR_TYPE_STRING", 2: "SCALAR_TYPE_BYTES", } ScalarType_value = map[string]int32{ "SCALAR_TYPE_UNSPECIFIED": 0, "SCALAR_TYPE_STRING": 1, "SCALAR_TYPE_BYTES": 2, } )
Enum value maps for ScalarType.
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 ( 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", } 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, } )
Enum value maps for BlockIDFlag.
var ( // accepts_interface is used to annotate that a google.protobuf.Any // field accepts messages that implement the specified interface. // Interfaces should be declared using a declare_interface file option. // // optional string accepts_interface = 93001; E_AcceptsInterface = &file_fig_tendermint_codec_v1_codec_proto_extTypes[1] // scalar is used to indicate that this field follows the formatting defined // by the named scalar which should be declared with declare_scalar. Code // generators may choose to use this information to map this field to a // language-specific type representing the scalar. // // optional string scalar = 93002; E_Scalar = &file_fig_tendermint_codec_v1_codec_proto_extTypes[2] )
Extension fields to descriptorpb.FieldOptions.
var ( // declare_interface declares an interface type to be used with // accepts_interface and implements_interface. Interface names are // expected to follow the following convention such that their declaration // can be discovered by tools: for a given interface type a.b.C, it is // expected that the declaration will be found in a protobuf file named // a/b/interfaces.proto in the file descriptor set. // // repeated tendermint.InterfaceDescriptor declare_interface = 793021; E_DeclareInterface = &file_fig_tendermint_codec_v1_codec_proto_extTypes[3] // declare_scalar declares a scalar type to be used with // the scalar field option. Scalar names are // expected to follow the following convention such that their declaration // can be discovered by tools: for a given scalar type a.b.C, it is // expected that the declaration will be found in a protobuf file named // a/b/scalars.proto in the file descriptor set. // // repeated tendermint.ScalarDescriptor declare_scalar = 793022; E_DeclareScalar = &file_fig_tendermint_codec_v1_codec_proto_extTypes[4] )
Extension fields to descriptorpb.FileOptions.
var ( // implements_interface is used to indicate the type name of the interface // that a message implements so that it can be used in google.protobuf.Any // fields that accept that interface. A message can implement multiple // interfaces. Interfaces should be declared using a declare_interface // file option. // // repeated string implements_interface = 93001; E_ImplementsInterface = &file_fig_tendermint_codec_v1_codec_proto_extTypes[0] )
Extension fields to descriptorpb.MessageOptions.
var File_fig_tendermint_codec_v1_codec_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthInfo ¶ added in v0.2.1
type AuthInfo struct { // signer_infos defines the signing modes for the required signers. The number // and order of elements must match the required signers from TxBody's // messages. The first element is the primary signer and the one which pays // the fee. SignerInfos []*SignerInfo `protobuf:"bytes,1,rep,name=signer_infos,json=signerInfos,proto3" json:"signer_infos,omitempty"` // Fee is the fee and gas limit for the transaction. The first signer is the // primary signer and the one which pays the fee. The fee can be calculated // based on the cost of evaluating the body and doing signature verification // of the signers. This can be estimated via simulation. Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // Tip is the optional tip used for meta-transactions. // // Since: cosmos-sdk 0.46 Tip *Tip `protobuf:"bytes,3,opt,name=tip,proto3" json:"tip,omitempty"` // contains filtered or unexported fields }
func (*AuthInfo) Descriptor
deprecated
added in
v0.2.1
func (*AuthInfo) GetSignerInfos ¶ added in v0.2.1
func (x *AuthInfo) GetSignerInfos() []*SignerInfo
func (*AuthInfo) ProtoMessage ¶ added in v0.2.1
func (*AuthInfo) ProtoMessage()
func (*AuthInfo) ProtoReflect ¶ added in v0.2.1
func (x *AuthInfo) ProtoReflect() protoreflect.Message
type AuxSignerData ¶ added in v0.2.1
type AuxSignerData struct { // address is the bech32-encoded address of the auxiliary signer. If using // AuxSignerData across different chains, the bech32 prefix of the target // chain (where the final transaction is broadcasted) should be used. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer // signs. Note: we use the same sign doc even if we're signing with // LEGACY_AMINO_JSON. SignDoc *SignDocDirectAux `protobuf:"bytes,2,opt,name=sign_doc,json=signDoc,proto3" json:"sign_doc,omitempty"` // mode is the signing mode of the single signer Mode SignMode `protobuf:"varint,3,opt,name=mode,proto3,enum=tendermint.SignMode" json:"mode,omitempty"` // sig is the signature of the sign doc. Sig []byte `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"` // contains filtered or unexported fields }
func (*AuxSignerData) Descriptor
deprecated
added in
v0.2.1
func (*AuxSignerData) Descriptor() ([]byte, []int)
Deprecated: Use AuxSignerData.ProtoReflect.Descriptor instead.
func (*AuxSignerData) GetAddress ¶ added in v0.2.1
func (x *AuxSignerData) GetAddress() string
func (*AuxSignerData) GetMode ¶ added in v0.2.1
func (x *AuxSignerData) GetMode() SignMode
func (*AuxSignerData) GetSig ¶ added in v0.2.1
func (x *AuxSignerData) GetSig() []byte
func (*AuxSignerData) GetSignDoc ¶ added in v0.2.1
func (x *AuxSignerData) GetSignDoc() *SignDocDirectAux
func (*AuxSignerData) ProtoMessage ¶ added in v0.2.1
func (*AuxSignerData) ProtoMessage()
func (*AuxSignerData) ProtoReflect ¶ added in v0.2.1
func (x *AuxSignerData) ProtoReflect() protoreflect.Message
func (*AuxSignerData) Reset ¶ added in v0.2.1
func (x *AuxSignerData) Reset()
func (*AuxSignerData) String ¶ added in v0.2.1
func (x *AuxSignerData) String() string
type Block ¶
type Block struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Evidence *EvidenceList `protobuf:"bytes,3,opt,name=evidence,proto3" json:"evidence,omitempty"` LastCommit *Commit `protobuf:"bytes,4,opt,name=last_commit,json=lastCommit,proto3" json:"last_commit,omitempty"` // contains filtered or unexported fields }
func (*Block) Descriptor
deprecated
func (*Block) GetEvidence ¶
func (x *Block) GetEvidence() *EvidenceList
func (*Block) GetLastCommit ¶
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
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 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) Descriptor ¶
func (BlockIDFlag) Descriptor() protoreflect.EnumDescriptor
func (BlockIDFlag) Enum ¶
func (x BlockIDFlag) Enum() *BlockIDFlag
func (BlockIDFlag) EnumDescriptor
deprecated
func (BlockIDFlag) EnumDescriptor() ([]byte, []int)
Deprecated: Use BlockIDFlag.Descriptor instead.
func (BlockIDFlag) Number ¶
func (x BlockIDFlag) Number() protoreflect.EnumNumber
func (BlockIDFlag) String ¶
func (x BlockIDFlag) String() string
func (BlockIDFlag) Type ¶
func (BlockIDFlag) Type() protoreflect.EnumType
type BlockParams ¶
type BlockParams struct { MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // Note: must be greater than 0 MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` // Note: must be greater or equal to -1 // contains filtered or unexported fields }
func (*BlockParams) Descriptor
deprecated
func (*BlockParams) Descriptor() ([]byte, []int)
Deprecated: Use BlockParams.ProtoReflect.Descriptor instead.
func (*BlockParams) GetMaxBytes ¶
func (x *BlockParams) GetMaxBytes() int64
func (*BlockParams) GetMaxGas ¶
func (x *BlockParams) GetMaxGas() int64
func (*BlockParams) ProtoMessage ¶
func (*BlockParams) ProtoMessage()
func (*BlockParams) ProtoReflect ¶
func (x *BlockParams) ProtoReflect() protoreflect.Message
func (*BlockParams) Reset ¶
func (x *BlockParams) Reset()
func (*BlockParams) String ¶
func (x *BlockParams) String() string
type Coin ¶ added in v0.2.1
type Coin struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*Coin) Descriptor
deprecated
added in
v0.2.1
func (*Coin) ProtoMessage ¶ added in v0.2.1
func (*Coin) ProtoMessage()
func (*Coin) ProtoReflect ¶ added in v0.2.1
func (x *Coin) ProtoReflect() protoreflect.Message
type Commit ¶
type Commit struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` // must be > 0 Round int32 `protobuf:"varint,2,opt,name=round,proto3" json:"round,omitempty"` // must be > 0 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"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetBlockId ¶
func (*Commit) GetSignatures ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type CommitSig ¶
type CommitSig struct { BlockIdFlag BlockIDFlag `protobuf:"varint,1,opt,name=block_id_flag,json=blockIdFlag,proto3,enum=tendermint.BlockIDFlag" json:"block_id_flag,omitempty"` // must match those in the enum above ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` // hash 256 20 bytes - this is the first 20 characters of a 32-byte key - SHA256(pubkey)[:20] Timestamp *Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // length should be > 0 and < 64 // contains filtered or unexported fields }
func (*CommitSig) Descriptor
deprecated
func (*CommitSig) GetBlockIdFlag ¶
func (x *CommitSig) GetBlockIdFlag() BlockIDFlag
func (*CommitSig) GetSignature ¶
func (*CommitSig) GetTimestamp ¶
func (*CommitSig) GetValidatorAddress ¶
func (*CommitSig) ProtoMessage ¶
func (*CommitSig) ProtoMessage()
func (*CommitSig) ProtoReflect ¶
func (x *CommitSig) ProtoReflect() protoreflect.Message
type CompactBitArray ¶ added in v0.2.1
type CompactBitArray struct { ExtraBitsStored uint32 `protobuf:"varint,1,opt,name=extra_bits_stored,json=extraBitsStored,proto3" json:"extra_bits_stored,omitempty"` Elems []byte `protobuf:"bytes,2,opt,name=elems,proto3" json:"elems,omitempty"` // contains filtered or unexported fields }
func (*CompactBitArray) Descriptor
deprecated
added in
v0.2.1
func (*CompactBitArray) Descriptor() ([]byte, []int)
Deprecated: Use CompactBitArray.ProtoReflect.Descriptor instead.
func (*CompactBitArray) GetElems ¶ added in v0.2.1
func (x *CompactBitArray) GetElems() []byte
func (*CompactBitArray) GetExtraBitsStored ¶ added in v0.2.1
func (x *CompactBitArray) GetExtraBitsStored() uint32
func (*CompactBitArray) ProtoMessage ¶ added in v0.2.1
func (*CompactBitArray) ProtoMessage()
func (*CompactBitArray) ProtoReflect ¶ added in v0.2.1
func (x *CompactBitArray) ProtoReflect() protoreflect.Message
func (*CompactBitArray) Reset ¶ added in v0.2.1
func (x *CompactBitArray) Reset()
func (*CompactBitArray) String ¶ added in v0.2.1
func (x *CompactBitArray) String() string
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"` // contains filtered or unexported fields }
func (*Consensus) Descriptor
deprecated
func (*Consensus) ProtoMessage ¶
func (*Consensus) ProtoMessage()
func (*Consensus) ProtoReflect ¶
func (x *Consensus) ProtoReflect() protoreflect.Message
type ConsensusParams ¶
type ConsensusParams struct { Block *BlockParams `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` Evidence *EvidenceParams `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"` Validator *ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` Version *VersionParams `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*ConsensusParams) Descriptor
deprecated
func (*ConsensusParams) Descriptor() ([]byte, []int)
Deprecated: Use ConsensusParams.ProtoReflect.Descriptor instead.
func (*ConsensusParams) GetBlock ¶
func (x *ConsensusParams) GetBlock() *BlockParams
func (*ConsensusParams) GetEvidence ¶
func (x *ConsensusParams) GetEvidence() *EvidenceParams
func (*ConsensusParams) GetValidator ¶
func (x *ConsensusParams) GetValidator() *ValidatorParams
func (*ConsensusParams) GetVersion ¶
func (x *ConsensusParams) GetVersion() *VersionParams
func (*ConsensusParams) ProtoMessage ¶
func (*ConsensusParams) ProtoMessage()
func (*ConsensusParams) ProtoReflect ¶
func (x *ConsensusParams) ProtoReflect() protoreflect.Message
func (*ConsensusParams) Reset ¶
func (x *ConsensusParams) Reset()
func (*ConsensusParams) String ¶
func (x *ConsensusParams) String() string
type Data ¶ added in v0.2.1
type Data struct { // sum is the oneof that specifies whether this represents single or multi-signature data // // Types that are assignable to Sum: // *Data_Single // *Data_Multi Sum isData_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
added in
v0.2.1
func (*Data) ProtoMessage ¶ added in v0.2.1
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶ added in v0.2.1
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Multi ¶ added in v0.2.1
type Data_Multi struct { // multi represents a multisig signer Multi *Multi `protobuf:"bytes,2,opt,name=multi,proto3,oneof"` }
type Data_Single ¶ added in v0.2.1
type Data_Single struct { // single represents a single signer Single *Single `protobuf:"bytes,1,opt,name=single,proto3,oneof"` }
type DecCoin ¶ added in v0.2.1
type DecCoin struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*DecCoin) Descriptor
deprecated
added in
v0.2.1
func (*DecCoin) ProtoMessage ¶ added in v0.2.1
func (*DecCoin) ProtoMessage()
func (*DecCoin) ProtoReflect ¶ added in v0.2.1
func (x *DecCoin) ProtoReflect() protoreflect.Message
type DecProto ¶ added in v0.2.1
type DecProto struct { Dec string `protobuf:"bytes,1,opt,name=dec,proto3" json:"dec,omitempty"` // contains filtered or unexported fields }
func (*DecProto) Descriptor
deprecated
added in
v0.2.1
func (*DecProto) ProtoMessage ¶ added in v0.2.1
func (*DecProto) ProtoMessage()
func (*DecProto) ProtoReflect ¶ added in v0.2.1
func (x *DecProto) ProtoReflect() protoreflect.Message
type DuplicateVoteEvidence ¶
type DuplicateVoteEvidence struct { VoteA *EventVote `protobuf:"bytes,1,opt,name=vote_a,json=voteA,proto3" json:"vote_a,omitempty"` VoteB *EventVote `protobuf:"bytes,2,opt,name=vote_b,json=voteB,proto3" json:"vote_b,omitempty"` TotalVotingPower int64 `protobuf:"varint,3,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` ValidatorPower int64 `protobuf:"varint,4,opt,name=validator_power,json=validatorPower,proto3" json:"validator_power,omitempty"` Timestamp *Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*DuplicateVoteEvidence) Descriptor
deprecated
func (*DuplicateVoteEvidence) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateVoteEvidence.ProtoReflect.Descriptor instead.
func (*DuplicateVoteEvidence) GetTimestamp ¶
func (x *DuplicateVoteEvidence) GetTimestamp() *Timestamp
func (*DuplicateVoteEvidence) GetTotalVotingPower ¶
func (x *DuplicateVoteEvidence) GetTotalVotingPower() int64
func (*DuplicateVoteEvidence) GetValidatorPower ¶
func (x *DuplicateVoteEvidence) GetValidatorPower() int64
func (*DuplicateVoteEvidence) GetVoteA ¶
func (x *DuplicateVoteEvidence) GetVoteA() *EventVote
func (*DuplicateVoteEvidence) GetVoteB ¶
func (x *DuplicateVoteEvidence) GetVoteB() *EventVote
func (*DuplicateVoteEvidence) ProtoMessage ¶
func (*DuplicateVoteEvidence) ProtoMessage()
func (*DuplicateVoteEvidence) ProtoReflect ¶
func (x *DuplicateVoteEvidence) ProtoReflect() protoreflect.Message
func (*DuplicateVoteEvidence) Reset ¶
func (x *DuplicateVoteEvidence) Reset()
func (*DuplicateVoteEvidence) String ¶
func (x *DuplicateVoteEvidence) String() string
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"` // contains filtered or unexported fields }
func (*Duration) Descriptor
deprecated
func (*Duration) GetSeconds ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct { EventType string `protobuf:"bytes,1,opt,name=event_type,json=type,proto3" json:"event_type,omitempty"` Attributes []*EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAttributes ¶
func (x *Event) GetAttributes() []*EventAttribute
func (*Event) GetEventType ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventAttribute ¶
type EventAttribute struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Index bool `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // nondeterministic // contains filtered or unexported fields }
func (*EventAttribute) Descriptor
deprecated
func (*EventAttribute) Descriptor() ([]byte, []int)
Deprecated: Use EventAttribute.ProtoReflect.Descriptor instead.
func (*EventAttribute) GetIndex ¶
func (x *EventAttribute) GetIndex() bool
func (*EventAttribute) GetKey ¶
func (x *EventAttribute) GetKey() string
func (*EventAttribute) GetValue ¶
func (x *EventAttribute) GetValue() string
func (*EventAttribute) ProtoMessage ¶
func (*EventAttribute) ProtoMessage()
func (*EventAttribute) ProtoReflect ¶
func (x *EventAttribute) ProtoReflect() protoreflect.Message
func (*EventAttribute) Reset ¶
func (x *EventAttribute) Reset()
func (*EventAttribute) String ¶
func (x *EventAttribute) String() string
type EventBlock ¶
type EventBlock struct { Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` BlockId *BlockID `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` // not present in v0.34.13 ResultBeginBlock *ResponseBeginBlock `protobuf:"bytes,3,opt,name=result_begin_block,json=resultBeginBlock,proto3" json:"result_begin_block,omitempty"` ResultEndBlock *ResponseEndBlock `protobuf:"bytes,4,opt,name=result_end_block,json=resultEndBlock,proto3" json:"result_end_block,omitempty"` // contains filtered or unexported fields }
func (*EventBlock) Descriptor
deprecated
func (*EventBlock) Descriptor() ([]byte, []int)
Deprecated: Use EventBlock.ProtoReflect.Descriptor instead.
func (*EventBlock) GetBlock ¶
func (x *EventBlock) GetBlock() *Block
func (*EventBlock) GetBlockId ¶
func (x *EventBlock) GetBlockId() *BlockID
func (*EventBlock) GetResultBeginBlock ¶
func (x *EventBlock) GetResultBeginBlock() *ResponseBeginBlock
func (*EventBlock) GetResultEndBlock ¶
func (x *EventBlock) GetResultEndBlock() *ResponseEndBlock
func (*EventBlock) ProtoMessage ¶
func (*EventBlock) ProtoMessage()
func (*EventBlock) ProtoReflect ¶
func (x *EventBlock) ProtoReflect() protoreflect.Message
func (*EventBlock) Reset ¶
func (x *EventBlock) Reset()
func (*EventBlock) String ¶
func (x *EventBlock) String() string
type EventData ¶
type EventData struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` Block *EventBlock `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*EventData) Descriptor
deprecated
func (*EventData) GetBlock ¶
func (x *EventData) GetBlock() *EventBlock
func (*EventData) ProtoMessage ¶
func (*EventData) ProtoMessage()
func (*EventData) ProtoReflect ¶
func (x *EventData) ProtoReflect() protoreflect.Message
type EventList ¶
type EventList struct { NewBlock *EventBlock `protobuf:"bytes,1,opt,name=new_block,json=newBlock,proto3" json:"new_block,omitempty"` Transaction []*EventTx `protobuf:"bytes,2,rep,name=transaction,proto3" json:"transaction,omitempty"` ValidatorSetUpdates *EventValidatorSetUpdates `protobuf:"bytes,3,opt,name=validator_set_updates,json=validatorSetUpdates,proto3" json:"validator_set_updates,omitempty"` // contains filtered or unexported fields }
func (*EventList) Descriptor
deprecated
func (*EventList) GetNewBlock ¶
func (x *EventList) GetNewBlock() *EventBlock
func (*EventList) GetTransaction ¶
func (*EventList) GetValidatorSetUpdates ¶
func (x *EventList) GetValidatorSetUpdates() *EventValidatorSetUpdates
func (*EventList) ProtoMessage ¶
func (*EventList) ProtoMessage()
func (*EventList) ProtoReflect ¶
func (x *EventList) ProtoReflect() protoreflect.Message
type EventTx ¶
type EventTx struct { TxResult *TxResult `protobuf:"bytes,1,opt,name=tx_result,json=txResult,proto3" json:"tx_result,omitempty"` // contains filtered or unexported fields }
func (*EventTx) Descriptor
deprecated
func (*EventTx) GetTxResult ¶
func (*EventTx) ProtoMessage ¶
func (*EventTx) ProtoMessage()
func (*EventTx) ProtoReflect ¶
func (x *EventTx) ProtoReflect() protoreflect.Message
type EventValidatorSetUpdates ¶
type EventValidatorSetUpdates struct { ValidatorUpdates []*Validator `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` // contains filtered or unexported fields }
func (*EventValidatorSetUpdates) Descriptor
deprecated
func (*EventValidatorSetUpdates) Descriptor() ([]byte, []int)
Deprecated: Use EventValidatorSetUpdates.ProtoReflect.Descriptor instead.
func (*EventValidatorSetUpdates) GetValidatorUpdates ¶
func (x *EventValidatorSetUpdates) GetValidatorUpdates() []*Validator
func (*EventValidatorSetUpdates) ProtoMessage ¶
func (*EventValidatorSetUpdates) ProtoMessage()
func (*EventValidatorSetUpdates) ProtoReflect ¶
func (x *EventValidatorSetUpdates) ProtoReflect() protoreflect.Message
func (*EventValidatorSetUpdates) Reset ¶
func (x *EventValidatorSetUpdates) Reset()
func (*EventValidatorSetUpdates) String ¶
func (x *EventValidatorSetUpdates) String() string
type EventVote ¶
type EventVote struct { EventVoteType SignedMsgType `protobuf:"varint,1,opt,name=event_vote_type,json=type,proto3,enum=tendermint.SignedMsgType" json:"event_vote_type,omitempty"` // should be present in the enum at the top of this file Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` // must be > 0 Round int32 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"` // must be > 0 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"` // hash with a length of 20 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"` // hash length should be >0 and <64 // contains filtered or unexported fields }
func (*EventVote) Descriptor
deprecated
func (*EventVote) GetBlockId ¶
func (*EventVote) GetEventVoteType ¶
func (x *EventVote) GetEventVoteType() SignedMsgType
func (*EventVote) GetSignature ¶
func (*EventVote) GetTimestamp ¶
func (*EventVote) GetValidatorAddress ¶
func (*EventVote) GetValidatorIndex ¶
func (*EventVote) ProtoMessage ¶
func (*EventVote) ProtoMessage()
func (*EventVote) ProtoReflect ¶
func (x *EventVote) ProtoReflect() protoreflect.Message
type Evidence ¶
type Evidence struct { // Types that are assignable to Sum: // *Evidence_DuplicateVoteEvidence // *Evidence_LightClientAttackEvidence Sum isEvidence_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
func (*Evidence) Descriptor
deprecated
func (*Evidence) GetDuplicateVoteEvidence ¶
func (x *Evidence) GetDuplicateVoteEvidence() *DuplicateVoteEvidence
func (*Evidence) GetLightClientAttackEvidence ¶
func (x *Evidence) GetLightClientAttackEvidence() *LightClientAttackEvidence
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶
func (x *Evidence) ProtoReflect() protoreflect.Message
type EvidenceList ¶
type EvidenceList struct { Evidence []*Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"` // contains filtered or unexported fields }
func (*EvidenceList) Descriptor
deprecated
func (*EvidenceList) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceList.ProtoReflect.Descriptor instead.
func (*EvidenceList) GetEvidence ¶
func (x *EvidenceList) GetEvidence() []*Evidence
func (*EvidenceList) ProtoMessage ¶
func (*EvidenceList) ProtoMessage()
func (*EvidenceList) ProtoReflect ¶
func (x *EvidenceList) ProtoReflect() protoreflect.Message
func (*EvidenceList) Reset ¶
func (x *EvidenceList) Reset()
func (*EvidenceList) String ¶
func (x *EvidenceList) String() string
type EvidenceParams ¶
type EvidenceParams struct { MaxAgeNumBlocks int64 `protobuf:"varint,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"` MaxAgeDuration *Duration `protobuf:"bytes,2,opt,name=max_age_duration,json=maxAgeDuration,proto3" json:"max_age_duration,omitempty"` MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` // Default is 1048576 or 1MB // contains filtered or unexported fields }
func (*EvidenceParams) Descriptor
deprecated
func (*EvidenceParams) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceParams.ProtoReflect.Descriptor instead.
func (*EvidenceParams) GetMaxAgeDuration ¶
func (x *EvidenceParams) GetMaxAgeDuration() *Duration
func (*EvidenceParams) GetMaxAgeNumBlocks ¶
func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
func (*EvidenceParams) GetMaxBytes ¶
func (x *EvidenceParams) GetMaxBytes() int64
func (*EvidenceParams) ProtoMessage ¶
func (*EvidenceParams) ProtoMessage()
func (*EvidenceParams) ProtoReflect ¶
func (x *EvidenceParams) ProtoReflect() protoreflect.Message
func (*EvidenceParams) Reset ¶
func (x *EvidenceParams) Reset()
func (*EvidenceParams) String ¶
func (x *EvidenceParams) String() string
type Evidence_DuplicateVoteEvidence ¶
type Evidence_DuplicateVoteEvidence struct {
DuplicateVoteEvidence *DuplicateVoteEvidence `protobuf:"bytes,1,opt,name=duplicate_vote_evidence,json=duplicateVoteEvidence,proto3,oneof"`
}
type Evidence_LightClientAttackEvidence ¶
type Evidence_LightClientAttackEvidence struct {
LightClientAttackEvidence *LightClientAttackEvidence `protobuf:"bytes,2,opt,name=light_client_attack_evidence,json=lightClientAttackEvidence,proto3,oneof"`
}
type Fee ¶ added in v0.2.1
type Fee struct { // amount is the amount of coins to be paid as a fee Amount []*Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"` // gas_limit is the maximum gas that can be used in transaction processing // before an out of gas error occurs GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"` // if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. // the payer must be a tx signer (and thus have signed this field in AuthInfo). // setting this field does *not* change the ordering of required signers for the transaction. Payer string `protobuf:"bytes,3,opt,name=payer,proto3" json:"payer,omitempty"` // if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used // to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does // not support fee grants, this will fail Granter string `protobuf:"bytes,4,opt,name=granter,proto3" json:"granter,omitempty"` // contains filtered or unexported fields }
func (*Fee) Descriptor
deprecated
added in
v0.2.1
func (*Fee) GetGasLimit ¶ added in v0.2.1
func (*Fee) GetGranter ¶ added in v0.2.1
func (*Fee) ProtoMessage ¶ added in v0.2.1
func (*Fee) ProtoMessage()
func (*Fee) ProtoReflect ¶ added in v0.2.1
func (x *Fee) ProtoReflect() protoreflect.Message
type Header ¶
type Header 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 uint64 `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"` // hash 256 32 bytes DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` // hash 256 32 bytes ValidatorsHash []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"` // hash 256 32 bytes NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"` // hash 256 32 bytes ConsensusHash []byte `protobuf:"bytes,10,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"` // hash 256 32 bytes AppHash []byte `protobuf:"bytes,11,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // determined by application, not a fixed length LastResultsHash []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"` // hash 256 32 bytes - first block will be results of an empty hash EvidenceHash []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"` // hash sha256 32 bytes ProposerAddress []byte `protobuf:"bytes,14,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"` // hash 256 20 bytes - this is the first 20 characters of a 32-byte key - // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetAppHash ¶
func (*Header) GetChainId ¶
func (*Header) GetConsensusHash ¶
func (*Header) GetDataHash ¶
func (*Header) GetEvidenceHash ¶
func (*Header) GetLastBlockId ¶
func (*Header) GetLastCommitHash ¶
func (*Header) GetLastResultsHash ¶
func (*Header) GetNextValidatorsHash ¶
func (*Header) GetProposerAddress ¶
func (*Header) GetValidatorsHash ¶
func (*Header) GetVersion ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type IntProto ¶ added in v0.2.1
type IntProto struct { Int string `protobuf:"bytes,1,opt,name=int,proto3" json:"int,omitempty"` // contains filtered or unexported fields }
func (*IntProto) Descriptor
deprecated
added in
v0.2.1
func (*IntProto) ProtoMessage ¶ added in v0.2.1
func (*IntProto) ProtoMessage()
func (*IntProto) ProtoReflect ¶ added in v0.2.1
func (x *IntProto) ProtoReflect() protoreflect.Message
type InterfaceDescriptor ¶ added in v0.2.1
type InterfaceDescriptor struct { // name is the name of the interface. It should be a short-name (without // a period) such that the fully qualified name of the interface will be // package.name, ex. for the package a.b and interface named C, the // fully-qualified name will be a.b.C. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // description is a human-readable description of the interface and its // purpose. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*InterfaceDescriptor) Descriptor
deprecated
added in
v0.2.1
func (*InterfaceDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceDescriptor.ProtoReflect.Descriptor instead.
func (*InterfaceDescriptor) GetDescription ¶ added in v0.2.1
func (x *InterfaceDescriptor) GetDescription() string
func (*InterfaceDescriptor) GetName ¶ added in v0.2.1
func (x *InterfaceDescriptor) GetName() string
func (*InterfaceDescriptor) ProtoMessage ¶ added in v0.2.1
func (*InterfaceDescriptor) ProtoMessage()
func (*InterfaceDescriptor) ProtoReflect ¶ added in v0.2.1
func (x *InterfaceDescriptor) ProtoReflect() protoreflect.Message
func (*InterfaceDescriptor) Reset ¶ added in v0.2.1
func (x *InterfaceDescriptor) Reset()
func (*InterfaceDescriptor) String ¶ added in v0.2.1
func (x *InterfaceDescriptor) String() string
type LightBlock ¶
type LightBlock struct { SignedHeader *SignedHeader `protobuf:"bytes,1,opt,name=signed_header,json=signedHeader,proto3" json:"signed_header,omitempty"` // cannot be nil ValidatorSet *ValidatorSet `protobuf:"bytes,2,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"` // cannot be nil // contains filtered or unexported fields }
func (*LightBlock) Descriptor
deprecated
func (*LightBlock) Descriptor() ([]byte, []int)
Deprecated: Use LightBlock.ProtoReflect.Descriptor instead.
func (*LightBlock) GetSignedHeader ¶
func (x *LightBlock) GetSignedHeader() *SignedHeader
func (*LightBlock) GetValidatorSet ¶
func (x *LightBlock) GetValidatorSet() *ValidatorSet
func (*LightBlock) ProtoMessage ¶
func (*LightBlock) ProtoMessage()
func (*LightBlock) ProtoReflect ¶
func (x *LightBlock) ProtoReflect() protoreflect.Message
func (*LightBlock) Reset ¶
func (x *LightBlock) Reset()
func (*LightBlock) String ¶
func (x *LightBlock) String() string
type LightClientAttackEvidence ¶
type LightClientAttackEvidence struct { ConflictingBlock *LightBlock `protobuf:"bytes,1,opt,name=conflicting_block,json=conflictingBlock,proto3" json:"conflicting_block,omitempty"` CommonHeight int64 `protobuf:"varint,2,opt,name=common_height,json=commonHeight,proto3" json:"common_height,omitempty"` ByzantineValidators []*Validator `protobuf:"bytes,3,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators,omitempty"` TotalVotingPower int64 `protobuf:"varint,4,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` Timestamp *Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*LightClientAttackEvidence) Descriptor
deprecated
func (*LightClientAttackEvidence) Descriptor() ([]byte, []int)
Deprecated: Use LightClientAttackEvidence.ProtoReflect.Descriptor instead.
func (*LightClientAttackEvidence) GetByzantineValidators ¶
func (x *LightClientAttackEvidence) GetByzantineValidators() []*Validator
func (*LightClientAttackEvidence) GetCommonHeight ¶
func (x *LightClientAttackEvidence) GetCommonHeight() int64
func (*LightClientAttackEvidence) GetConflictingBlock ¶
func (x *LightClientAttackEvidence) GetConflictingBlock() *LightBlock
func (*LightClientAttackEvidence) GetTimestamp ¶
func (x *LightClientAttackEvidence) GetTimestamp() *Timestamp
func (*LightClientAttackEvidence) GetTotalVotingPower ¶
func (x *LightClientAttackEvidence) GetTotalVotingPower() int64
func (*LightClientAttackEvidence) ProtoMessage ¶
func (*LightClientAttackEvidence) ProtoMessage()
func (*LightClientAttackEvidence) ProtoReflect ¶
func (x *LightClientAttackEvidence) ProtoReflect() protoreflect.Message
func (*LightClientAttackEvidence) Reset ¶
func (x *LightClientAttackEvidence) Reset()
func (*LightClientAttackEvidence) String ¶
func (x *LightClientAttackEvidence) String() string
type ModeInfo ¶ added in v0.2.1
type ModeInfo struct { // sum is the oneof that specifies whether this represents a single or nested // multisig signer // // Types that are assignable to Sum: // *ModeInfo_Single // *ModeInfo_Multi Sum isModeInfo_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
func (*ModeInfo) Descriptor
deprecated
added in
v0.2.1
func (*ModeInfo) GetMulti ¶ added in v0.2.1
func (x *ModeInfo) GetMulti() *ModeInfoMulti
func (*ModeInfo) GetSingle ¶ added in v0.2.1
func (x *ModeInfo) GetSingle() *ModeInfoSingle
func (*ModeInfo) ProtoMessage ¶ added in v0.2.1
func (*ModeInfo) ProtoMessage()
func (*ModeInfo) ProtoReflect ¶ added in v0.2.1
func (x *ModeInfo) ProtoReflect() protoreflect.Message
type ModeInfoMulti ¶ added in v0.2.1
type ModeInfoMulti struct { // bitarray specifies which keys within the multisig are signing Bitarray *CompactBitArray `protobuf:"bytes,1,opt,name=bitarray,proto3" json:"bitarray,omitempty"` // mode_infos is the corresponding modes of the signers of the multisig // which could include nested multisig public keys ModeInfos []*ModeInfo `protobuf:"bytes,2,rep,name=mode_infos,json=modeInfos,proto3" json:"mode_infos,omitempty"` // contains filtered or unexported fields }
Multi is the mode info for a multisig public key
func (*ModeInfoMulti) Descriptor
deprecated
added in
v0.2.1
func (*ModeInfoMulti) Descriptor() ([]byte, []int)
Deprecated: Use ModeInfoMulti.ProtoReflect.Descriptor instead.
func (*ModeInfoMulti) GetBitarray ¶ added in v0.2.1
func (x *ModeInfoMulti) GetBitarray() *CompactBitArray
func (*ModeInfoMulti) GetModeInfos ¶ added in v0.2.1
func (x *ModeInfoMulti) GetModeInfos() []*ModeInfo
func (*ModeInfoMulti) ProtoMessage ¶ added in v0.2.1
func (*ModeInfoMulti) ProtoMessage()
func (*ModeInfoMulti) ProtoReflect ¶ added in v0.2.1
func (x *ModeInfoMulti) ProtoReflect() protoreflect.Message
func (*ModeInfoMulti) Reset ¶ added in v0.2.1
func (x *ModeInfoMulti) Reset()
func (*ModeInfoMulti) String ¶ added in v0.2.1
func (x *ModeInfoMulti) String() string
type ModeInfoSingle ¶ added in v0.2.1
type ModeInfoSingle struct { // mode is the signing mode of the single signer Mode SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=tendermint.SignMode" json:"mode,omitempty"` // contains filtered or unexported fields }
Single is the mode info for a single signer. It is structured as a message to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future
func (*ModeInfoSingle) Descriptor
deprecated
added in
v0.2.1
func (*ModeInfoSingle) Descriptor() ([]byte, []int)
Deprecated: Use ModeInfoSingle.ProtoReflect.Descriptor instead.
func (*ModeInfoSingle) GetMode ¶ added in v0.2.1
func (x *ModeInfoSingle) GetMode() SignMode
func (*ModeInfoSingle) ProtoMessage ¶ added in v0.2.1
func (*ModeInfoSingle) ProtoMessage()
func (*ModeInfoSingle) ProtoReflect ¶ added in v0.2.1
func (x *ModeInfoSingle) ProtoReflect() protoreflect.Message
func (*ModeInfoSingle) Reset ¶ added in v0.2.1
func (x *ModeInfoSingle) Reset()
func (*ModeInfoSingle) String ¶ added in v0.2.1
func (x *ModeInfoSingle) String() string
type ModeInfo_Multi ¶ added in v0.2.1
type ModeInfo_Multi struct { // multi represents a nested multisig signer Multi *ModeInfoMulti `protobuf:"bytes,2,opt,name=multi,proto3,oneof"` }
type ModeInfo_Single ¶ added in v0.2.1
type ModeInfo_Single struct { // single represents a single signer Single *ModeInfoSingle `protobuf:"bytes,1,opt,name=single,proto3,oneof"` }
type Multi ¶ added in v0.2.1
type Multi struct { // bitarray specifies which keys within the multisig are signing Bitarray *CompactBitArray `protobuf:"bytes,1,opt,name=bitarray,proto3" json:"bitarray,omitempty"` // signatures is the signatures of the multi-signature Signatures []*Data `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*Multi) Descriptor
deprecated
added in
v0.2.1
func (*Multi) GetBitarray ¶ added in v0.2.1
func (x *Multi) GetBitarray() *CompactBitArray
func (*Multi) GetSignatures ¶ added in v0.2.1
func (*Multi) ProtoMessage ¶ added in v0.2.1
func (*Multi) ProtoMessage()
func (*Multi) ProtoReflect ¶ added in v0.2.1
func (x *Multi) ProtoReflect() protoreflect.Message
type MultiSignature ¶ added in v0.2.1
type MultiSignature struct { Signatures [][]byte `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*MultiSignature) Descriptor
deprecated
added in
v0.2.1
func (*MultiSignature) Descriptor() ([]byte, []int)
Deprecated: Use MultiSignature.ProtoReflect.Descriptor instead.
func (*MultiSignature) GetSignatures ¶ added in v0.2.1
func (x *MultiSignature) GetSignatures() [][]byte
func (*MultiSignature) ProtoMessage ¶ added in v0.2.1
func (*MultiSignature) ProtoMessage()
func (*MultiSignature) ProtoReflect ¶ added in v0.2.1
func (x *MultiSignature) ProtoReflect() protoreflect.Message
func (*MultiSignature) Reset ¶ added in v0.2.1
func (x *MultiSignature) Reset()
func (*MultiSignature) String ¶ added in v0.2.1
func (x *MultiSignature) String() string
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"` // hash 256 32 bytes // 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 PublicKey ¶
type PublicKey struct { // Types that are assignable 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 ResponseBeginBlock ¶
type ResponseBeginBlock struct { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ResponseBeginBlock) Descriptor
deprecated
func (*ResponseBeginBlock) Descriptor() ([]byte, []int)
Deprecated: Use ResponseBeginBlock.ProtoReflect.Descriptor instead.
func (*ResponseBeginBlock) GetEvents ¶
func (x *ResponseBeginBlock) GetEvents() []*Event
func (*ResponseBeginBlock) ProtoMessage ¶
func (*ResponseBeginBlock) ProtoMessage()
func (*ResponseBeginBlock) ProtoReflect ¶
func (x *ResponseBeginBlock) ProtoReflect() protoreflect.Message
func (*ResponseBeginBlock) Reset ¶
func (x *ResponseBeginBlock) Reset()
func (*ResponseBeginBlock) String ¶
func (x *ResponseBeginBlock) String() string
type ResponseDeliverTx ¶
type ResponseDeliverTx struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Events []*Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` // contains filtered or unexported fields }
func (*ResponseDeliverTx) Descriptor
deprecated
func (*ResponseDeliverTx) Descriptor() ([]byte, []int)
Deprecated: Use ResponseDeliverTx.ProtoReflect.Descriptor instead.
func (*ResponseDeliverTx) GetCode ¶
func (x *ResponseDeliverTx) GetCode() uint32
func (*ResponseDeliverTx) GetCodespace ¶
func (x *ResponseDeliverTx) GetCodespace() string
func (*ResponseDeliverTx) GetData ¶
func (x *ResponseDeliverTx) GetData() []byte
func (*ResponseDeliverTx) GetEvents ¶
func (x *ResponseDeliverTx) GetEvents() []*Event
func (*ResponseDeliverTx) GetGasUsed ¶
func (x *ResponseDeliverTx) GetGasUsed() int64
func (*ResponseDeliverTx) GetGasWanted ¶
func (x *ResponseDeliverTx) GetGasWanted() int64
func (*ResponseDeliverTx) GetInfo ¶
func (x *ResponseDeliverTx) GetInfo() string
func (*ResponseDeliverTx) GetLog ¶
func (x *ResponseDeliverTx) GetLog() string
func (*ResponseDeliverTx) ProtoMessage ¶
func (*ResponseDeliverTx) ProtoMessage()
func (*ResponseDeliverTx) ProtoReflect ¶
func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message
func (*ResponseDeliverTx) Reset ¶
func (x *ResponseDeliverTx) Reset()
func (*ResponseDeliverTx) String ¶
func (x *ResponseDeliverTx) String() string
type ResponseEndBlock ¶
type ResponseEndBlock struct { ValidatorUpdates []*ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` ConsensusParamUpdates *ConsensusParams `` /* 126-byte string literal not displayed */ Events []*Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ResponseEndBlock) Descriptor
deprecated
func (*ResponseEndBlock) Descriptor() ([]byte, []int)
Deprecated: Use ResponseEndBlock.ProtoReflect.Descriptor instead.
func (*ResponseEndBlock) GetConsensusParamUpdates ¶
func (x *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams
func (*ResponseEndBlock) GetEvents ¶
func (x *ResponseEndBlock) GetEvents() []*Event
func (*ResponseEndBlock) GetValidatorUpdates ¶
func (x *ResponseEndBlock) GetValidatorUpdates() []*ValidatorUpdate
func (*ResponseEndBlock) ProtoMessage ¶
func (*ResponseEndBlock) ProtoMessage()
func (*ResponseEndBlock) ProtoReflect ¶
func (x *ResponseEndBlock) ProtoReflect() protoreflect.Message
func (*ResponseEndBlock) Reset ¶
func (x *ResponseEndBlock) Reset()
func (*ResponseEndBlock) String ¶
func (x *ResponseEndBlock) String() string
type ScalarDescriptor ¶ added in v0.2.1
type ScalarDescriptor struct { // name is the name of the scalar. It should be a short-name (without // a period) such that the fully qualified name of the scalar will be // package.name, ex. for the package a.b and scalar named C, the // fully-qualified name will be a.b.C. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // description is a human-readable description of the scalar and its // encoding format. For instance a big integer or decimal scalar should // specify precisely the expected encoding format. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // field_type is the type of field with which this scalar can be used. // Scalars can be used with one and only one type of field so that // encoding standards and simple and clear. Currently only string and // bytes fields are supported for scalars. FieldType []ScalarType `protobuf:"varint,3,rep,packed,name=field_type,json=fieldType,proto3,enum=tendermint.ScalarType" json:"field_type,omitempty"` // contains filtered or unexported fields }
func (*ScalarDescriptor) Descriptor
deprecated
added in
v0.2.1
func (*ScalarDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use ScalarDescriptor.ProtoReflect.Descriptor instead.
func (*ScalarDescriptor) GetDescription ¶ added in v0.2.1
func (x *ScalarDescriptor) GetDescription() string
func (*ScalarDescriptor) GetFieldType ¶ added in v0.2.1
func (x *ScalarDescriptor) GetFieldType() []ScalarType
func (*ScalarDescriptor) GetName ¶ added in v0.2.1
func (x *ScalarDescriptor) GetName() string
func (*ScalarDescriptor) ProtoMessage ¶ added in v0.2.1
func (*ScalarDescriptor) ProtoMessage()
func (*ScalarDescriptor) ProtoReflect ¶ added in v0.2.1
func (x *ScalarDescriptor) ProtoReflect() protoreflect.Message
func (*ScalarDescriptor) Reset ¶ added in v0.2.1
func (x *ScalarDescriptor) Reset()
func (*ScalarDescriptor) String ¶ added in v0.2.1
func (x *ScalarDescriptor) String() string
type ScalarType ¶ added in v0.2.1
type ScalarType int32
const ( ScalarType_SCALAR_TYPE_UNSPECIFIED ScalarType = 0 ScalarType_SCALAR_TYPE_STRING ScalarType = 1 ScalarType_SCALAR_TYPE_BYTES ScalarType = 2 )
func (ScalarType) Descriptor ¶ added in v0.2.1
func (ScalarType) Descriptor() protoreflect.EnumDescriptor
func (ScalarType) Enum ¶ added in v0.2.1
func (x ScalarType) Enum() *ScalarType
func (ScalarType) EnumDescriptor
deprecated
added in
v0.2.1
func (ScalarType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalarType.Descriptor instead.
func (ScalarType) Number ¶ added in v0.2.1
func (x ScalarType) Number() protoreflect.EnumNumber
func (ScalarType) String ¶ added in v0.2.1
func (x ScalarType) String() string
func (ScalarType) Type ¶ added in v0.2.1
func (ScalarType) Type() protoreflect.EnumType
type SignDoc ¶ added in v0.2.1
type SignDoc struct { // body_bytes is protobuf serialization of a TxBody that matches the // representation in TxRaw. BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"` // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the // representation in TxRaw. AuthInfoBytes []byte `protobuf:"bytes,2,opt,name=auth_info_bytes,json=authInfoBytes,proto3" json:"auth_info_bytes,omitempty"` // chain_id is the unique identifier of the chain this transaction targets. // It prevents signed transactions from being used on another chain by an // attacker ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // account_number is the account number of the account in state AccountNumber uint64 `protobuf:"varint,4,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` // contains filtered or unexported fields }
func (*SignDoc) Descriptor
deprecated
added in
v0.2.1
func (*SignDoc) GetAccountNumber ¶ added in v0.2.1
func (*SignDoc) GetAuthInfoBytes ¶ added in v0.2.1
func (*SignDoc) GetBodyBytes ¶ added in v0.2.1
func (*SignDoc) GetChainId ¶ added in v0.2.1
func (*SignDoc) ProtoMessage ¶ added in v0.2.1
func (*SignDoc) ProtoMessage()
func (*SignDoc) ProtoReflect ¶ added in v0.2.1
func (x *SignDoc) ProtoReflect() protoreflect.Message
type SignDocDirectAux ¶ added in v0.2.1
type SignDocDirectAux struct { // body_bytes is protobuf serialization of a TxBody that matches the // representation in TxRaw. BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"` // public_key is the public key of the signing account. PublicKey *anypb.Any `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // chain_id is the identifier of the chain this transaction targets. // It prevents signed transactions from being used on another chain by an // attacker. ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // account_number is the account number of the account in state. AccountNumber uint64 `protobuf:"varint,4,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` // sequence is the sequence number of the signing account. Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` // Tip is the optional tip used for meta-transactions. It should be left // empty if the signer is not the tipper for this transaction. Tip *Tip `protobuf:"bytes,6,opt,name=tip,proto3" json:"tip,omitempty"` // contains filtered or unexported fields }
func (*SignDocDirectAux) Descriptor
deprecated
added in
v0.2.1
func (*SignDocDirectAux) Descriptor() ([]byte, []int)
Deprecated: Use SignDocDirectAux.ProtoReflect.Descriptor instead.
func (*SignDocDirectAux) GetAccountNumber ¶ added in v0.2.1
func (x *SignDocDirectAux) GetAccountNumber() uint64
func (*SignDocDirectAux) GetBodyBytes ¶ added in v0.2.1
func (x *SignDocDirectAux) GetBodyBytes() []byte
func (*SignDocDirectAux) GetChainId ¶ added in v0.2.1
func (x *SignDocDirectAux) GetChainId() string
func (*SignDocDirectAux) GetPublicKey ¶ added in v0.2.1
func (x *SignDocDirectAux) GetPublicKey() *anypb.Any
func (*SignDocDirectAux) GetSequence ¶ added in v0.2.1
func (x *SignDocDirectAux) GetSequence() uint64
func (*SignDocDirectAux) GetTip ¶ added in v0.2.1
func (x *SignDocDirectAux) GetTip() *Tip
func (*SignDocDirectAux) ProtoMessage ¶ added in v0.2.1
func (*SignDocDirectAux) ProtoMessage()
func (*SignDocDirectAux) ProtoReflect ¶ added in v0.2.1
func (x *SignDocDirectAux) ProtoReflect() protoreflect.Message
func (*SignDocDirectAux) Reset ¶ added in v0.2.1
func (x *SignDocDirectAux) Reset()
func (*SignDocDirectAux) String ¶ added in v0.2.1
func (x *SignDocDirectAux) String() string
type SignMode ¶ added in v0.2.1
type SignMode int32
const ( // SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be // rejected SignMode_SIGN_MODE_UNSPECIFIED SignMode = 0 // SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is // verified with raw bytes from Tx SignMode_SIGN_MODE_DIRECT SignMode = 1 // SIGN_MODE_TEXTUAL is a future signing mode that will verify some // human-readable textual representation on top of the binary representation // from SIGN_MODE_DIRECT SignMode_SIGN_MODE_TEXTUAL SignMode = 2 // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses // Amino JSON and will be removed in the future SignMode_SIGN_MODE_LEGACY_AMINO_JSON SignMode = 127 )
func (SignMode) Descriptor ¶ added in v0.2.1
func (SignMode) Descriptor() protoreflect.EnumDescriptor
func (SignMode) EnumDescriptor
deprecated
added in
v0.2.1
func (SignMode) Number ¶ added in v0.2.1
func (x SignMode) Number() protoreflect.EnumNumber
func (SignMode) Type ¶ added in v0.2.1
func (SignMode) Type() protoreflect.EnumType
type SignatureDescriptor ¶ added in v0.2.1
type SignatureDescriptor struct { // public_key is the public key of the signer PublicKey *anypb.Any `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // sequence is the sequence of the account, which describes the // number of committed transactions signed by a given address. It is used to prevent // replay attacks. Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*SignatureDescriptor) Descriptor
deprecated
added in
v0.2.1
func (*SignatureDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use SignatureDescriptor.ProtoReflect.Descriptor instead.
func (*SignatureDescriptor) GetData ¶ added in v0.2.1
func (x *SignatureDescriptor) GetData() *Data
func (*SignatureDescriptor) GetPublicKey ¶ added in v0.2.1
func (x *SignatureDescriptor) GetPublicKey() *anypb.Any
func (*SignatureDescriptor) GetSequence ¶ added in v0.2.1
func (x *SignatureDescriptor) GetSequence() uint64
func (*SignatureDescriptor) ProtoMessage ¶ added in v0.2.1
func (*SignatureDescriptor) ProtoMessage()
func (*SignatureDescriptor) ProtoReflect ¶ added in v0.2.1
func (x *SignatureDescriptor) ProtoReflect() protoreflect.Message
func (*SignatureDescriptor) Reset ¶ added in v0.2.1
func (x *SignatureDescriptor) Reset()
func (*SignatureDescriptor) String ¶ added in v0.2.1
func (x *SignatureDescriptor) String() string
type SignatureDescriptors ¶ added in v0.2.1
type SignatureDescriptors struct { // signatures are the signature descriptors Signatures []*SignatureDescriptor `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*SignatureDescriptors) Descriptor
deprecated
added in
v0.2.1
func (*SignatureDescriptors) Descriptor() ([]byte, []int)
Deprecated: Use SignatureDescriptors.ProtoReflect.Descriptor instead.
func (*SignatureDescriptors) GetSignatures ¶ added in v0.2.1
func (x *SignatureDescriptors) GetSignatures() []*SignatureDescriptor
func (*SignatureDescriptors) ProtoMessage ¶ added in v0.2.1
func (*SignatureDescriptors) ProtoMessage()
func (*SignatureDescriptors) ProtoReflect ¶ added in v0.2.1
func (x *SignatureDescriptors) ProtoReflect() protoreflect.Message
func (*SignatureDescriptors) Reset ¶ added in v0.2.1
func (x *SignatureDescriptors) Reset()
func (*SignatureDescriptors) String ¶ added in v0.2.1
func (x *SignatureDescriptors) String() string
type SignedHeader ¶
type SignedHeader struct { Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Commit *Commit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` // contains filtered or unexported fields }
func (*SignedHeader) Descriptor
deprecated
func (*SignedHeader) Descriptor() ([]byte, []int)
Deprecated: Use SignedHeader.ProtoReflect.Descriptor instead.
func (*SignedHeader) GetCommit ¶
func (x *SignedHeader) GetCommit() *Commit
func (*SignedHeader) GetHeader ¶
func (x *SignedHeader) GetHeader() *Header
func (*SignedHeader) ProtoMessage ¶
func (*SignedHeader) ProtoMessage()
func (*SignedHeader) ProtoReflect ¶
func (x *SignedHeader) ProtoReflect() protoreflect.Message
func (*SignedHeader) Reset ¶
func (x *SignedHeader) Reset()
func (*SignedHeader) String ¶
func (x *SignedHeader) String() string
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) 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 SignerInfo ¶ added in v0.2.1
type SignerInfo struct { // public_key is the public key of the signer. It is optional for accounts // that already exist in state. If unset, the verifier can use the required \ // signer address for this position and lookup the public key. PublicKey *anypb.Any `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // mode_info describes the signing mode of the signer and is a nested // structure to support nested multisig pubkey's ModeInfo *ModeInfo `protobuf:"bytes,2,opt,name=mode_info,json=modeInfo,proto3" json:"mode_info,omitempty"` // sequence is the sequence of the account, which describes the // number of committed transactions signed by a given address. It is used to // prevent replay attacks. Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*SignerInfo) Descriptor
deprecated
added in
v0.2.1
func (*SignerInfo) Descriptor() ([]byte, []int)
Deprecated: Use SignerInfo.ProtoReflect.Descriptor instead.
func (*SignerInfo) GetModeInfo ¶ added in v0.2.1
func (x *SignerInfo) GetModeInfo() *ModeInfo
func (*SignerInfo) GetPublicKey ¶ added in v0.2.1
func (x *SignerInfo) GetPublicKey() *anypb.Any
func (*SignerInfo) GetSequence ¶ added in v0.2.1
func (x *SignerInfo) GetSequence() uint64
func (*SignerInfo) ProtoMessage ¶ added in v0.2.1
func (*SignerInfo) ProtoMessage()
func (*SignerInfo) ProtoReflect ¶ added in v0.2.1
func (x *SignerInfo) ProtoReflect() protoreflect.Message
func (*SignerInfo) Reset ¶ added in v0.2.1
func (x *SignerInfo) Reset()
func (*SignerInfo) String ¶ added in v0.2.1
func (x *SignerInfo) String() string
type Single ¶ added in v0.2.1
type Single struct { // mode is the signing mode of the single signer Mode SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=tendermint.SignMode" json:"mode,omitempty"` // signature is the raw signature bytes Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*Single) Descriptor
deprecated
added in
v0.2.1
func (*Single) GetSignature ¶ added in v0.2.1
func (*Single) ProtoMessage ¶ added in v0.2.1
func (*Single) ProtoMessage()
func (*Single) ProtoReflect ¶ added in v0.2.1
func (x *Single) ProtoReflect() protoreflect.Message
type Timestamp ¶
type Timestamp 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"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type Tip ¶ added in v0.2.1
type Tip struct { // amount is the amount of the tip Amount []*Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"` // tipper is the address of the account paying for the tip Tipper string `protobuf:"bytes,2,opt,name=tipper,proto3" json:"tipper,omitempty"` // contains filtered or unexported fields }
func (*Tip) Descriptor
deprecated
added in
v0.2.1
func (*Tip) ProtoMessage ¶ added in v0.2.1
func (*Tip) ProtoMessage()
func (*Tip) ProtoReflect ¶ added in v0.2.1
func (x *Tip) ProtoReflect() protoreflect.Message
type TransactionData ¶
type TransactionData struct { Tx *TxResult `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Block *EventBlock `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*TransactionData) Descriptor
deprecated
func (*TransactionData) Descriptor() ([]byte, []int)
Deprecated: Use TransactionData.ProtoReflect.Descriptor instead.
func (*TransactionData) GetBlock ¶
func (x *TransactionData) GetBlock() *EventBlock
func (*TransactionData) GetTx ¶
func (x *TransactionData) GetTx() *TxResult
func (*TransactionData) ProtoMessage ¶
func (*TransactionData) ProtoMessage()
func (*TransactionData) ProtoReflect ¶
func (x *TransactionData) ProtoReflect() protoreflect.Message
func (*TransactionData) Reset ¶
func (x *TransactionData) Reset()
func (*TransactionData) String ¶
func (x *TransactionData) String() string
type Tx ¶ added in v0.2.1
type Tx struct { // body is the processable content of the transaction Body *TxBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // auth_info is the authorization related content of the transaction, // specifically signers, signer modes and fee AuthInfo *AuthInfo `protobuf:"bytes,2,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // signatures is a list of signatures that matches the length and order of // AuthInfo's signer_infos to allow connecting signature meta information like // public key and signing mode by position. Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*Tx) Descriptor
deprecated
added in
v0.2.1
func (*Tx) GetAuthInfo ¶ added in v0.2.1
func (*Tx) GetSignatures ¶ added in v0.2.1
func (*Tx) ProtoMessage ¶ added in v0.2.1
func (*Tx) ProtoMessage()
func (*Tx) ProtoReflect ¶ added in v0.2.1
func (x *Tx) ProtoReflect() protoreflect.Message
type TxBody ¶ added in v0.2.1
type TxBody struct { // messages is a list of messages to be executed. The required signers of // those messages define the number and order of elements in AuthInfo's // signer_infos and Tx's signatures. Each required signer address is added to // the list only the first time it occurs. // By convention, the first required signer (usually from the first message) // is referred to as the primary signer and pays the fee for the whole // transaction. Messages []*anypb.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // memo is any arbitrary note/comment to be added to the transaction. // WARNING: in clients, any publicly exposed text should not be called memo, // but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"` // timeout is the block height after which this transaction will not // be processed by the chain TimeoutHeight uint64 `protobuf:"varint,3,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"` // extension_options are arbitrary options that can be added by chains // when the default options are not sufficient. If any of these are present // and can't be handled, the transaction will be rejected ExtensionOptions []*anypb.Any `protobuf:"bytes,1023,rep,name=extension_options,json=extensionOptions,proto3" json:"extension_options,omitempty"` // extension_options are arbitrary options that can be added by chains // when the default options are not sufficient. If any of these are present // and can't be handled, they will be ignored NonCriticalExtensionOptions []*anypb.Any `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TxBody) Descriptor
deprecated
added in
v0.2.1
func (*TxBody) GetExtensionOptions ¶ added in v0.2.1
func (*TxBody) GetMessages ¶ added in v0.2.1
func (*TxBody) GetNonCriticalExtensionOptions ¶ added in v0.2.1
func (*TxBody) GetTimeoutHeight ¶ added in v0.2.1
func (*TxBody) ProtoMessage ¶ added in v0.2.1
func (*TxBody) ProtoMessage()
func (*TxBody) ProtoReflect ¶ added in v0.2.1
func (x *TxBody) ProtoReflect() protoreflect.Message
type TxRaw ¶ added in v0.2.1
type TxRaw struct { // body_bytes is a protobuf serialization of a TxBody that matches the // representation in SignDoc. BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"` // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the // representation in SignDoc. AuthInfoBytes []byte `protobuf:"bytes,2,opt,name=auth_info_bytes,json=authInfoBytes,proto3" json:"auth_info_bytes,omitempty"` // signatures is a list of signatures that matches the length and order of // AuthInfo's signer_infos to allow connecting signature meta information like // public key and signing mode by position. Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` // contains filtered or unexported fields }
func (*TxRaw) Descriptor
deprecated
added in
v0.2.1
func (*TxRaw) GetAuthInfoBytes ¶ added in v0.2.1
func (*TxRaw) GetBodyBytes ¶ added in v0.2.1
func (*TxRaw) GetSignatures ¶ added in v0.2.1
func (*TxRaw) ProtoMessage ¶ added in v0.2.1
func (*TxRaw) ProtoMessage()
func (*TxRaw) ProtoReflect ¶ added in v0.2.1
func (x *TxRaw) ProtoReflect() protoreflect.Message
type TxResult ¶
type TxResult struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Tx *Tx `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"` Result *ResponseDeliverTx `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` Hash []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*TxResult) Descriptor
deprecated
func (*TxResult) GetResult ¶
func (x *TxResult) GetResult() *ResponseDeliverTx
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) ProtoReflect ¶
func (x *TxResult) ProtoReflect() protoreflect.Message
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"` // must be > 0 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"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) GetAddress ¶
func (*Validator) GetProposerPriority ¶
func (*Validator) GetVotingPower ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
type ValidatorParams ¶
type ValidatorParams struct { PubKeyTypes []string `protobuf:"bytes,1,rep,name=pub_key_types,json=pubKeyTypes,proto3" json:"pub_key_types,omitempty"` // contains filtered or unexported fields }
func (*ValidatorParams) Descriptor
deprecated
func (*ValidatorParams) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorParams.ProtoReflect.Descriptor instead.
func (*ValidatorParams) GetPubKeyTypes ¶
func (x *ValidatorParams) GetPubKeyTypes() []string
func (*ValidatorParams) ProtoMessage ¶
func (*ValidatorParams) ProtoMessage()
func (*ValidatorParams) ProtoReflect ¶
func (x *ValidatorParams) ProtoReflect() protoreflect.Message
func (*ValidatorParams) Reset ¶
func (x *ValidatorParams) Reset()
func (*ValidatorParams) String ¶
func (x *ValidatorParams) String() string
type ValidatorSet ¶
type ValidatorSet struct { Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"` // cannot be empty or nil Proposer *Validator `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // cannot be nil TotalVotingPower int64 `protobuf:"varint,3,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` // contains filtered or unexported fields }
func (*ValidatorSet) Descriptor
deprecated
func (*ValidatorSet) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorSet.ProtoReflect.Descriptor instead.
func (*ValidatorSet) GetProposer ¶
func (x *ValidatorSet) GetProposer() *Validator
func (*ValidatorSet) GetTotalVotingPower ¶
func (x *ValidatorSet) GetTotalVotingPower() int64
func (*ValidatorSet) GetValidators ¶
func (x *ValidatorSet) GetValidators() []*Validator
func (*ValidatorSet) ProtoMessage ¶
func (*ValidatorSet) ProtoMessage()
func (*ValidatorSet) ProtoReflect ¶
func (x *ValidatorSet) ProtoReflect() protoreflect.Message
func (*ValidatorSet) Reset ¶
func (x *ValidatorSet) Reset()
func (*ValidatorSet) String ¶
func (x *ValidatorSet) String() string
type ValidatorUpdate ¶
type ValidatorUpdate 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"` Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // contains filtered or unexported fields }
func (*ValidatorUpdate) Descriptor
deprecated
func (*ValidatorUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ValidatorUpdate.ProtoReflect.Descriptor instead.
func (*ValidatorUpdate) GetAddress ¶
func (x *ValidatorUpdate) GetAddress() []byte
func (*ValidatorUpdate) GetPower ¶
func (x *ValidatorUpdate) GetPower() int64
func (*ValidatorUpdate) GetPubKey ¶
func (x *ValidatorUpdate) GetPubKey() *PublicKey
func (*ValidatorUpdate) ProtoMessage ¶
func (*ValidatorUpdate) ProtoMessage()
func (*ValidatorUpdate) ProtoReflect ¶
func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message
func (*ValidatorUpdate) Reset ¶
func (x *ValidatorUpdate) Reset()
func (*ValidatorUpdate) String ¶
func (x *ValidatorUpdate) String() string
type VersionParams ¶
type VersionParams struct { AppVersion uint64 `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"` // contains filtered or unexported fields }
func (*VersionParams) Descriptor
deprecated
func (*VersionParams) Descriptor() ([]byte, []int)
Deprecated: Use VersionParams.ProtoReflect.Descriptor instead.
func (*VersionParams) GetAppVersion ¶
func (x *VersionParams) GetAppVersion() uint64
func (*VersionParams) ProtoMessage ¶
func (*VersionParams) ProtoMessage()
func (*VersionParams) ProtoReflect ¶
func (x *VersionParams) ProtoReflect() protoreflect.Message
func (*VersionParams) Reset ¶
func (x *VersionParams) Reset()
func (*VersionParams) String ¶
func (x *VersionParams) String() string