Documentation ¶
Index ¶
- Variables
- 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 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 Event
- type EventAttribute
- func (*EventAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *EventAttribute) GetIndex() bool
- func (x *EventAttribute) GetKey() []byte
- func (x *EventAttribute) GetValue() []byte
- func (*EventAttribute) ProtoMessage()
- func (x *EventAttribute) ProtoReflect() protoreflect.Message
- func (x *EventAttribute) Reset()
- func (x *EventAttribute) String() string
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetHeight() int64
- func (x *Evidence) GetTime() int64
- func (x *Evidence) GetTotalVotingPower() int64
- func (x *Evidence) GetType() EvidenceType
- func (x *Evidence) GetValidator() *Validator
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- type EvidenceParams
- func (*EvidenceParams) Descriptor() ([]byte, []int)deprecated
- func (x *EvidenceParams) GetMaxAgeDuration() int64
- func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
- func (x *EvidenceParams) GetMaxNum() uint32
- func (*EvidenceParams) ProtoMessage()
- func (x *EvidenceParams) ProtoReflect() protoreflect.Message
- func (x *EvidenceParams) Reset()
- func (x *EvidenceParams) String() string
- type EvidenceType
- func (EvidenceType) Descriptor() protoreflect.EnumDescriptor
- func (x EvidenceType) Enum() *EvidenceType
- func (EvidenceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EvidenceType) Number() protoreflect.EnumNumber
- func (x EvidenceType) String() string
- func (EvidenceType) Type() protoreflect.EnumType
- type Header
- type LastCommitInfo
- func (*LastCommitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LastCommitInfo) GetRound() int32
- func (x *LastCommitInfo) GetVotes() []*VoteInfo
- func (*LastCommitInfo) ProtoMessage()
- func (x *LastCommitInfo) ProtoReflect() protoreflect.Message
- func (x *LastCommitInfo) Reset()
- func (x *LastCommitInfo) String() string
- type PublicKey
- type PublicKey_Ed25519
- type RequestBeginBlock
- func (*RequestBeginBlock) Descriptor() ([]byte, []int)deprecated
- func (RequestBeginBlock) FromTM(t *types.RequestBeginBlock) *RequestBeginBlock
- func (x *RequestBeginBlock) GetByzantineValidators() []*Evidence
- func (x *RequestBeginBlock) GetHash() []byte
- func (x *RequestBeginBlock) GetHeader() *Header
- func (x *RequestBeginBlock) GetLastCommitInfo() *LastCommitInfo
- func (r *RequestBeginBlock) IntoTM() types.RequestBeginBlock
- func (*RequestBeginBlock) ProtoMessage()
- func (x *RequestBeginBlock) ProtoReflect() protoreflect.Message
- func (x *RequestBeginBlock) Reset()
- func (x *RequestBeginBlock) String() string
- type RequestDeliverTx
- func (*RequestDeliverTx) Descriptor() ([]byte, []int)deprecated
- func (RequestDeliverTx) FromTM(t *types.RequestDeliverTx) *RequestDeliverTx
- func (x *RequestDeliverTx) GetTx() []byte
- func (r *RequestDeliverTx) IntoTM() types.RequestDeliverTx
- func (*RequestDeliverTx) ProtoMessage()
- func (x *RequestDeliverTx) ProtoReflect() protoreflect.Message
- func (x *RequestDeliverTx) Reset()
- func (x *RequestDeliverTx) String() string
- type RequestInitChain
- func (*RequestInitChain) Descriptor() ([]byte, []int)deprecated
- func (RequestInitChain) FromTM(t *types.RequestInitChain) *RequestInitChain
- func (x *RequestInitChain) GetAppStateBytes() []byte
- func (x *RequestInitChain) GetChainId() string
- func (x *RequestInitChain) GetConsensusParams() *ConsensusParams
- func (x *RequestInitChain) GetInitialHeight() int64
- func (x *RequestInitChain) GetTime() int64
- func (x *RequestInitChain) GetValidators() []*ValidatorUpdate
- func (r *RequestInitChain) IntoTM() types.RequestInitChain
- func (*RequestInitChain) ProtoMessage()
- func (x *RequestInitChain) ProtoReflect() protoreflect.Message
- func (x *RequestInitChain) Reset()
- func (x *RequestInitChain) String() string
- 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 ResponseInitChain
- func (*ResponseInitChain) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseInitChain) GetAppHash() []byte
- func (x *ResponseInitChain) GetConsensusParams() *ConsensusParams
- func (x *ResponseInitChain) GetValidators() []*ValidatorUpdate
- func (*ResponseInitChain) ProtoMessage()
- func (x *ResponseInitChain) ProtoReflect() protoreflect.Message
- func (x *ResponseInitChain) Reset()
- func (x *ResponseInitChain) String() string
- type TmEvent
- func (*TmEvent) Descriptor() ([]byte, []int)deprecated
- func (m *TmEvent) GetAction() isTmEvent_Action
- func (x *TmEvent) GetReqBeginBlock() *RequestBeginBlock
- func (x *TmEvent) GetReqDeliverTx() *RequestDeliverTx
- func (x *TmEvent) GetReqInitChain() *RequestInitChain
- func (x *TmEvent) GetResBeginBlock() *ResponseBeginBlock
- func (x *TmEvent) GetResDeliverTx() *ResponseDeliverTx
- func (x *TmEvent) GetResInitChain() *ResponseInitChain
- func (*TmEvent) ProtoMessage()
- func (x *TmEvent) ProtoReflect() protoreflect.Message
- func (x *TmEvent) Reset()
- func (x *TmEvent) String() string
- type TmEvent_ReqBeginBlock
- type TmEvent_ReqDeliverTx
- type TmEvent_ReqInitChain
- type TmEvent_ResBeginBlock
- type TmEvent_ResDeliverTx
- type TmEvent_ResInitChain
- type Validator
- type ValidatorParams
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)deprecated
- 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
- type VoteInfo
Constants ¶
This section is empty.
Variables ¶
var ( EvidenceType_name = map[int32]string{ 0: "UNKNOWN", 1: "DUPLICATE_VOTE", 2: "LIGHT_CLIENT_ATTACK", } EvidenceType_value = map[string]int32{ "UNKNOWN": 0, "DUPLICATE_VOTE": 1, "LIGHT_CLIENT_ATTACK": 2, } )
Enum value maps for EvidenceType.
var File_vega_tm_replay_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlockParams ¶
type BlockParams struct { MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"` // 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 ¶ added in v0.49.0
func (x *BlockParams) ProtoReflect() protoreflect.Message
func (*BlockParams) Reset ¶
func (x *BlockParams) Reset()
func (*BlockParams) String ¶
func (x *BlockParams) String() string
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 ¶ added in v0.49.0
func (x *ConsensusParams) ProtoReflect() protoreflect.Message
func (*ConsensusParams) Reset ¶
func (x *ConsensusParams) Reset()
func (*ConsensusParams) String ¶
func (x *ConsensusParams) String() string
type Event ¶
type Event struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"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) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.49.0
func (x *Event) ProtoReflect() protoreflect.Message
type EventAttribute ¶
type EventAttribute struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `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() []byte
func (*EventAttribute) GetValue ¶
func (x *EventAttribute) GetValue() []byte
func (*EventAttribute) ProtoMessage ¶
func (*EventAttribute) ProtoMessage()
func (*EventAttribute) ProtoReflect ¶ added in v0.49.0
func (x *EventAttribute) ProtoReflect() protoreflect.Message
func (*EventAttribute) Reset ¶
func (x *EventAttribute) Reset()
func (*EventAttribute) String ¶
func (x *EventAttribute) String() string
type Evidence ¶
type Evidence struct { Type EvidenceType `protobuf:"varint,1,opt,name=type,proto3,enum=tm.EvidenceType" json:"type,omitempty"` Validator *Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Time int64 `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"` TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"` // contains filtered or unexported fields }
func (*Evidence) Descriptor
deprecated
func (*Evidence) GetTotalVotingPower ¶
func (*Evidence) GetType ¶
func (x *Evidence) GetType() EvidenceType
func (*Evidence) GetValidator ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶ added in v0.49.0
func (x *Evidence) ProtoReflect() protoreflect.Message
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 int64 `protobuf:"varint,2,opt,name=max_age_duration,json=maxAgeDuration,proto3" json:"max_age_duration,omitempty"` MaxNum uint32 `protobuf:"varint,3,opt,name=max_num,json=maxNum,proto3" json:"max_num,omitempty"` // 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() int64
func (*EvidenceParams) GetMaxAgeNumBlocks ¶
func (x *EvidenceParams) GetMaxAgeNumBlocks() int64
func (*EvidenceParams) GetMaxNum ¶
func (x *EvidenceParams) GetMaxNum() uint32
func (*EvidenceParams) ProtoMessage ¶
func (*EvidenceParams) ProtoMessage()
func (*EvidenceParams) ProtoReflect ¶ added in v0.49.0
func (x *EvidenceParams) ProtoReflect() protoreflect.Message
func (*EvidenceParams) Reset ¶
func (x *EvidenceParams) Reset()
func (*EvidenceParams) String ¶
func (x *EvidenceParams) String() string
type EvidenceType ¶
type EvidenceType int32
const ( EvidenceType_UNKNOWN EvidenceType = 0 EvidenceType_DUPLICATE_VOTE EvidenceType = 1 EvidenceType_LIGHT_CLIENT_ATTACK EvidenceType = 2 )
func (EvidenceType) Descriptor ¶ added in v0.49.0
func (EvidenceType) Descriptor() protoreflect.EnumDescriptor
func (EvidenceType) Enum ¶ added in v0.49.0
func (x EvidenceType) Enum() *EvidenceType
func (EvidenceType) EnumDescriptor
deprecated
func (EvidenceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EvidenceType.Descriptor instead.
func (EvidenceType) Number ¶ added in v0.49.0
func (x EvidenceType) Number() protoreflect.EnumNumber
func (EvidenceType) String ¶
func (x EvidenceType) String() string
func (EvidenceType) Type ¶ added in v0.49.0
func (EvidenceType) Type() protoreflect.EnumType
type Header ¶
type Header struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*Header) Descriptor
deprecated
func (*Header) GetChainId ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶ added in v0.49.0
func (x *Header) ProtoReflect() protoreflect.Message
type LastCommitInfo ¶
type LastCommitInfo struct { Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"` Votes []*VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes,omitempty"` // contains filtered or unexported fields }
func (*LastCommitInfo) Descriptor
deprecated
func (*LastCommitInfo) Descriptor() ([]byte, []int)
Deprecated: Use LastCommitInfo.ProtoReflect.Descriptor instead.
func (*LastCommitInfo) GetRound ¶
func (x *LastCommitInfo) GetRound() int32
func (*LastCommitInfo) GetVotes ¶
func (x *LastCommitInfo) GetVotes() []*VoteInfo
func (*LastCommitInfo) ProtoMessage ¶
func (*LastCommitInfo) ProtoMessage()
func (*LastCommitInfo) ProtoReflect ¶ added in v0.49.0
func (x *LastCommitInfo) ProtoReflect() protoreflect.Message
func (*LastCommitInfo) Reset ¶
func (x *LastCommitInfo) Reset()
func (*LastCommitInfo) String ¶
func (x *LastCommitInfo) String() string
type PublicKey ¶
type PublicKey struct { // Types that are assignable to Sum: // *PublicKey_Ed25519 Sum isPublicKey_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) GetEd25519 ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶ added in v0.49.0
func (x *PublicKey) ProtoReflect() protoreflect.Message
type PublicKey_Ed25519 ¶
type PublicKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof"`
}
type RequestBeginBlock ¶
type RequestBeginBlock struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Header *Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` LastCommitInfo *LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info,omitempty"` ByzantineValidators []*Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators,omitempty"` // contains filtered or unexported fields }
func (*RequestBeginBlock) Descriptor
deprecated
func (*RequestBeginBlock) Descriptor() ([]byte, []int)
Deprecated: Use RequestBeginBlock.ProtoReflect.Descriptor instead.
func (RequestBeginBlock) FromTM ¶
func (RequestBeginBlock) FromTM(t *types.RequestBeginBlock) *RequestBeginBlock
func (*RequestBeginBlock) GetByzantineValidators ¶
func (x *RequestBeginBlock) GetByzantineValidators() []*Evidence
func (*RequestBeginBlock) GetHash ¶
func (x *RequestBeginBlock) GetHash() []byte
func (*RequestBeginBlock) GetHeader ¶
func (x *RequestBeginBlock) GetHeader() *Header
func (*RequestBeginBlock) GetLastCommitInfo ¶
func (x *RequestBeginBlock) GetLastCommitInfo() *LastCommitInfo
func (*RequestBeginBlock) IntoTM ¶
func (r *RequestBeginBlock) IntoTM() types.RequestBeginBlock
func (*RequestBeginBlock) ProtoMessage ¶
func (*RequestBeginBlock) ProtoMessage()
func (*RequestBeginBlock) ProtoReflect ¶ added in v0.49.0
func (x *RequestBeginBlock) ProtoReflect() protoreflect.Message
func (*RequestBeginBlock) Reset ¶
func (x *RequestBeginBlock) Reset()
func (*RequestBeginBlock) String ¶
func (x *RequestBeginBlock) String() string
type RequestDeliverTx ¶
type RequestDeliverTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*RequestDeliverTx) Descriptor
deprecated
func (*RequestDeliverTx) Descriptor() ([]byte, []int)
Deprecated: Use RequestDeliverTx.ProtoReflect.Descriptor instead.
func (RequestDeliverTx) FromTM ¶
func (RequestDeliverTx) FromTM(t *types.RequestDeliverTx) *RequestDeliverTx
func (*RequestDeliverTx) GetTx ¶
func (x *RequestDeliverTx) GetTx() []byte
func (*RequestDeliverTx) IntoTM ¶
func (r *RequestDeliverTx) IntoTM() types.RequestDeliverTx
func (*RequestDeliverTx) ProtoMessage ¶
func (*RequestDeliverTx) ProtoMessage()
func (*RequestDeliverTx) ProtoReflect ¶ added in v0.49.0
func (x *RequestDeliverTx) ProtoReflect() protoreflect.Message
func (*RequestDeliverTx) Reset ¶
func (x *RequestDeliverTx) Reset()
func (*RequestDeliverTx) String ¶
func (x *RequestDeliverTx) String() string
type RequestInitChain ¶
type RequestInitChain struct { Time int64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ConsensusParams *ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` Validators []*ValidatorUpdate `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators,omitempty"` AppStateBytes []byte `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"` InitialHeight int64 `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"` // contains filtered or unexported fields }
func (*RequestInitChain) Descriptor
deprecated
func (*RequestInitChain) Descriptor() ([]byte, []int)
Deprecated: Use RequestInitChain.ProtoReflect.Descriptor instead.
func (RequestInitChain) FromTM ¶
func (RequestInitChain) FromTM(t *types.RequestInitChain) *RequestInitChain
func (*RequestInitChain) GetAppStateBytes ¶
func (x *RequestInitChain) GetAppStateBytes() []byte
func (*RequestInitChain) GetChainId ¶
func (x *RequestInitChain) GetChainId() string
func (*RequestInitChain) GetConsensusParams ¶
func (x *RequestInitChain) GetConsensusParams() *ConsensusParams
func (*RequestInitChain) GetInitialHeight ¶
func (x *RequestInitChain) GetInitialHeight() int64
func (*RequestInitChain) GetTime ¶
func (x *RequestInitChain) GetTime() int64
func (*RequestInitChain) GetValidators ¶
func (x *RequestInitChain) GetValidators() []*ValidatorUpdate
func (*RequestInitChain) IntoTM ¶
func (r *RequestInitChain) IntoTM() types.RequestInitChain
func (*RequestInitChain) ProtoMessage ¶
func (*RequestInitChain) ProtoMessage()
func (*RequestInitChain) ProtoReflect ¶ added in v0.49.0
func (x *RequestInitChain) ProtoReflect() protoreflect.Message
func (*RequestInitChain) Reset ¶
func (x *RequestInitChain) Reset()
func (*RequestInitChain) String ¶
func (x *RequestInitChain) String() string
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 ¶ added in v0.49.0
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"` // nondeterministic Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` // nondeterministic 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 ¶ added in v0.49.0
func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message
func (*ResponseDeliverTx) Reset ¶
func (x *ResponseDeliverTx) Reset()
func (*ResponseDeliverTx) String ¶
func (x *ResponseDeliverTx) String() string
type ResponseInitChain ¶
type ResponseInitChain struct { ConsensusParams *ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"` Validators []*ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"` AppHash []byte `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` // contains filtered or unexported fields }
func (*ResponseInitChain) Descriptor
deprecated
func (*ResponseInitChain) Descriptor() ([]byte, []int)
Deprecated: Use ResponseInitChain.ProtoReflect.Descriptor instead.
func (*ResponseInitChain) GetAppHash ¶
func (x *ResponseInitChain) GetAppHash() []byte
func (*ResponseInitChain) GetConsensusParams ¶
func (x *ResponseInitChain) GetConsensusParams() *ConsensusParams
func (*ResponseInitChain) GetValidators ¶
func (x *ResponseInitChain) GetValidators() []*ValidatorUpdate
func (*ResponseInitChain) ProtoMessage ¶
func (*ResponseInitChain) ProtoMessage()
func (*ResponseInitChain) ProtoReflect ¶ added in v0.49.0
func (x *ResponseInitChain) ProtoReflect() protoreflect.Message
func (*ResponseInitChain) Reset ¶
func (x *ResponseInitChain) Reset()
func (*ResponseInitChain) String ¶
func (x *ResponseInitChain) String() string
type TmEvent ¶
type TmEvent struct { // Types that are assignable to Action: // *TmEvent_ReqInitChain // *TmEvent_ResInitChain // *TmEvent_ReqDeliverTx // *TmEvent_ResDeliverTx // *TmEvent_ReqBeginBlock // *TmEvent_ResBeginBlock Action isTmEvent_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
func (*TmEvent) Descriptor
deprecated
func (*TmEvent) GetReqBeginBlock ¶
func (x *TmEvent) GetReqBeginBlock() *RequestBeginBlock
func (*TmEvent) GetReqDeliverTx ¶
func (x *TmEvent) GetReqDeliverTx() *RequestDeliverTx
func (*TmEvent) GetReqInitChain ¶
func (x *TmEvent) GetReqInitChain() *RequestInitChain
func (*TmEvent) GetResBeginBlock ¶
func (x *TmEvent) GetResBeginBlock() *ResponseBeginBlock
func (*TmEvent) GetResDeliverTx ¶
func (x *TmEvent) GetResDeliverTx() *ResponseDeliverTx
func (*TmEvent) GetResInitChain ¶
func (x *TmEvent) GetResInitChain() *ResponseInitChain
func (*TmEvent) ProtoMessage ¶
func (*TmEvent) ProtoMessage()
func (*TmEvent) ProtoReflect ¶ added in v0.49.0
func (x *TmEvent) ProtoReflect() protoreflect.Message
type TmEvent_ReqBeginBlock ¶
type TmEvent_ReqBeginBlock struct {
ReqBeginBlock *RequestBeginBlock `protobuf:"bytes,5,opt,name=req_begin_block,json=reqBeginBlock,proto3,oneof"`
}
type TmEvent_ReqDeliverTx ¶
type TmEvent_ReqDeliverTx struct {
ReqDeliverTx *RequestDeliverTx `protobuf:"bytes,3,opt,name=req_deliver_tx,json=reqDeliverTx,proto3,oneof"`
}
type TmEvent_ReqInitChain ¶
type TmEvent_ReqInitChain struct {
ReqInitChain *RequestInitChain `protobuf:"bytes,1,opt,name=req_init_chain,json=reqInitChain,proto3,oneof"`
}
type TmEvent_ResBeginBlock ¶
type TmEvent_ResBeginBlock struct {
ResBeginBlock *ResponseBeginBlock `protobuf:"bytes,6,opt,name=res_begin_block,json=resBeginBlock,proto3,oneof"`
}
type TmEvent_ResDeliverTx ¶
type TmEvent_ResDeliverTx struct {
ResDeliverTx *ResponseDeliverTx `protobuf:"bytes,4,opt,name=res_deliver_tx,json=resDeliverTx,proto3,oneof"`
}
type TmEvent_ResInitChain ¶
type TmEvent_ResInitChain struct {
ResInitChain *ResponseInitChain `protobuf:"bytes,2,opt,name=res_init_chain,json=resInitChain,proto3,oneof"`
}
type Validator ¶
type Validator struct { Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) GetAddress ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶ added in v0.49.0
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 ¶ added in v0.49.0
func (x *ValidatorParams) ProtoReflect() protoreflect.Message
func (*ValidatorParams) Reset ¶
func (x *ValidatorParams) Reset()
func (*ValidatorParams) String ¶
func (x *ValidatorParams) String() string
type ValidatorUpdate ¶
type ValidatorUpdate struct { PubKey *PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` Power int64 `protobuf:"varint,2,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) GetPower ¶
func (x *ValidatorUpdate) GetPower() int64
func (*ValidatorUpdate) GetPubKey ¶
func (x *ValidatorUpdate) GetPubKey() *PublicKey
func (*ValidatorUpdate) ProtoMessage ¶
func (*ValidatorUpdate) ProtoMessage()
func (*ValidatorUpdate) ProtoReflect ¶ added in v0.49.0
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 ¶ added in v0.49.0
func (x *VersionParams) ProtoReflect() protoreflect.Message
func (*VersionParams) Reset ¶
func (x *VersionParams) Reset()
func (*VersionParams) String ¶
func (x *VersionParams) String() string
type VoteInfo ¶
type VoteInfo struct { Validator *Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"` SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"` // contains filtered or unexported fields }
func (*VoteInfo) Descriptor
deprecated
func (*VoteInfo) GetSignedLastBlock ¶
func (*VoteInfo) GetValidator ¶
func (*VoteInfo) ProtoMessage ¶
func (*VoteInfo) ProtoMessage()
func (*VoteInfo) ProtoReflect ¶ added in v0.49.0
func (x *VoteInfo) ProtoReflect() protoreflect.Message