tm

package
v0.0.0-...-bf88da5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_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

func (x *BlockParams) ProtoReflect() protoreflect.Message

func (*BlockParams) Reset

func (x *BlockParams) Reset()

func (*BlockParams) String

func (x *BlockParams) String() string

func (*BlockParams) Validate

func (this *BlockParams) Validate() error

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

func (*ConsensusParams) Validate

func (this *ConsensusParams) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAttributes

func (x *Event) GetAttributes() []*EventAttribute

func (*Event) GetType

func (x *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

func (*Event) Validate

func (this *Event) Validate() error

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

func (x *EventAttribute) ProtoReflect() protoreflect.Message

func (*EventAttribute) Reset

func (x *EventAttribute) Reset()

func (*EventAttribute) String

func (x *EventAttribute) String() string

func (*EventAttribute) Validate

func (this *EventAttribute) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Evidence.ProtoReflect.Descriptor instead.

func (*Evidence) GetHeight

func (x *Evidence) GetHeight() int64

func (*Evidence) GetTime

func (x *Evidence) GetTime() int64

func (*Evidence) GetTotalVotingPower

func (x *Evidence) GetTotalVotingPower() int64

func (*Evidence) GetType

func (x *Evidence) GetType() EvidenceType

func (*Evidence) GetValidator

func (x *Evidence) GetValidator() *Validator

func (*Evidence) ProtoMessage

func (*Evidence) ProtoMessage()

func (*Evidence) ProtoReflect

func (x *Evidence) ProtoReflect() protoreflect.Message

func (*Evidence) Reset

func (x *Evidence) Reset()

func (*Evidence) String

func (x *Evidence) String() string

func (*Evidence) Validate

func (this *Evidence) Validate() error

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

func (x *EvidenceParams) ProtoReflect() protoreflect.Message

func (*EvidenceParams) Reset

func (x *EvidenceParams) Reset()

func (*EvidenceParams) String

func (x *EvidenceParams) String() string

func (*EvidenceParams) Validate

func (this *EvidenceParams) Validate() error

type EvidenceType

type EvidenceType int32
const (
	EvidenceType_UNKNOWN             EvidenceType = 0
	EvidenceType_DUPLICATE_VOTE      EvidenceType = 1
	EvidenceType_LIGHT_CLIENT_ATTACK EvidenceType = 2
)

func (EvidenceType) Descriptor

func (EvidenceType) Enum

func (x EvidenceType) Enum() *EvidenceType

func (EvidenceType) EnumDescriptor deprecated

func (EvidenceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EvidenceType.Descriptor instead.

func (EvidenceType) Number

func (EvidenceType) String

func (x EvidenceType) String() string

func (EvidenceType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetChainId

func (x *Header) GetChainId() string

func (*Header) GetHeight

func (x *Header) GetHeight() int64

func (*Header) GetTime

func (x *Header) GetTime() int64

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

func (*Header) Validate

func (this *Header) Validate() error

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

func (x *LastCommitInfo) ProtoReflect() protoreflect.Message

func (*LastCommitInfo) Reset

func (x *LastCommitInfo) Reset()

func (*LastCommitInfo) String

func (x *LastCommitInfo) String() string

func (*LastCommitInfo) Validate

func (this *LastCommitInfo) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use PublicKey.ProtoReflect.Descriptor instead.

func (*PublicKey) GetEd25519

func (x *PublicKey) GetEd25519() []byte

func (*PublicKey) GetSum

func (m *PublicKey) GetSum() isPublicKey_Sum

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) ProtoReflect

func (x *PublicKey) ProtoReflect() protoreflect.Message

func (*PublicKey) Reset

func (x *PublicKey) Reset()

func (*PublicKey) String

func (x *PublicKey) String() string

func (*PublicKey) Validate

func (this *PublicKey) Validate() error

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) 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) ProtoMessage

func (*RequestBeginBlock) ProtoMessage()

func (*RequestBeginBlock) ProtoReflect

func (x *RequestBeginBlock) ProtoReflect() protoreflect.Message

func (*RequestBeginBlock) Reset

func (x *RequestBeginBlock) Reset()

func (*RequestBeginBlock) String

func (x *RequestBeginBlock) String() string

func (*RequestBeginBlock) Validate

func (this *RequestBeginBlock) Validate() error

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) GetTx

func (x *RequestDeliverTx) GetTx() []byte

func (*RequestDeliverTx) ProtoMessage

func (*RequestDeliverTx) ProtoMessage()

func (*RequestDeliverTx) ProtoReflect

func (x *RequestDeliverTx) ProtoReflect() protoreflect.Message

func (*RequestDeliverTx) Reset

func (x *RequestDeliverTx) Reset()

func (*RequestDeliverTx) String

func (x *RequestDeliverTx) String() string

func (*RequestDeliverTx) Validate

func (this *RequestDeliverTx) Validate() error

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) 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) ProtoMessage

func (*RequestInitChain) ProtoMessage()

func (*RequestInitChain) ProtoReflect

func (x *RequestInitChain) ProtoReflect() protoreflect.Message

func (*RequestInitChain) Reset

func (x *RequestInitChain) Reset()

func (*RequestInitChain) String

func (x *RequestInitChain) String() string

func (*RequestInitChain) Validate

func (this *RequestInitChain) Validate() error

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

func (*ResponseBeginBlock) Validate

func (this *ResponseBeginBlock) Validate() error

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

func (x *ResponseDeliverTx) ProtoReflect() protoreflect.Message

func (*ResponseDeliverTx) Reset

func (x *ResponseDeliverTx) Reset()

func (*ResponseDeliverTx) String

func (x *ResponseDeliverTx) String() string

func (*ResponseDeliverTx) Validate

func (this *ResponseDeliverTx) Validate() error

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

func (x *ResponseInitChain) ProtoReflect() protoreflect.Message

func (*ResponseInitChain) Reset

func (x *ResponseInitChain) Reset()

func (*ResponseInitChain) String

func (x *ResponseInitChain) String() string

func (*ResponseInitChain) Validate

func (this *ResponseInitChain) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use TmEvent.ProtoReflect.Descriptor instead.

func (*TmEvent) GetAction

func (m *TmEvent) GetAction() isTmEvent_Action

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

func (x *TmEvent) ProtoReflect() protoreflect.Message

func (*TmEvent) Reset

func (x *TmEvent) Reset()

func (*TmEvent) String

func (x *TmEvent) String() string

func (*TmEvent) Validate

func (this *TmEvent) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAddress

func (x *Validator) GetAddress() []byte

func (*Validator) GetPower

func (x *Validator) GetPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

func (x *Validator) ProtoReflect() protoreflect.Message

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

func (*Validator) Validate

func (this *Validator) Validate() error

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

func (*ValidatorParams) Validate

func (this *ValidatorParams) Validate() error

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

func (x *ValidatorUpdate) ProtoReflect() protoreflect.Message

func (*ValidatorUpdate) Reset

func (x *ValidatorUpdate) Reset()

func (*ValidatorUpdate) String

func (x *ValidatorUpdate) String() string

func (*ValidatorUpdate) Validate

func (this *ValidatorUpdate) Validate() error

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

func (*VersionParams) Validate

func (this *VersionParams) Validate() error

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) Descriptor() ([]byte, []int)

Deprecated: Use VoteInfo.ProtoReflect.Descriptor instead.

func (*VoteInfo) GetSignedLastBlock

func (x *VoteInfo) GetSignedLastBlock() bool

func (*VoteInfo) GetValidator

func (x *VoteInfo) GetValidator() *Validator

func (*VoteInfo) ProtoMessage

func (*VoteInfo) ProtoMessage()

func (*VoteInfo) ProtoReflect

func (x *VoteInfo) ProtoReflect() protoreflect.Message

func (*VoteInfo) Reset

func (x *VoteInfo) Reset()

func (*VoteInfo) String

func (x *VoteInfo) String() string

func (*VoteInfo) Validate

func (this *VoteInfo) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL