tm

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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",
}
View Source
var EvidenceType_value = map[string]int32{
	"UNKNOWN":             0,
	"DUPLICATE_VOTE":      1,
	"LIGHT_CLIENT_ATTACK": 2,
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BlockParams) Descriptor

func (*BlockParams) Descriptor() ([]byte, []int)

func (*BlockParams) GetMaxBytes

func (m *BlockParams) GetMaxBytes() int64

func (*BlockParams) GetMaxGas

func (m *BlockParams) GetMaxGas() int64

func (*BlockParams) ProtoMessage

func (*BlockParams) ProtoMessage()

func (*BlockParams) Reset

func (m *BlockParams) Reset()

func (*BlockParams) String

func (m *BlockParams) String() string

func (*BlockParams) Validate

func (this *BlockParams) Validate() error

func (*BlockParams) XXX_DiscardUnknown

func (m *BlockParams) XXX_DiscardUnknown()

func (*BlockParams) XXX_Marshal

func (m *BlockParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockParams) XXX_Merge

func (m *BlockParams) XXX_Merge(src proto.Message)

func (*BlockParams) XXX_Size

func (m *BlockParams) XXX_Size() int

func (*BlockParams) XXX_Unmarshal

func (m *BlockParams) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ConsensusParams) Descriptor

func (*ConsensusParams) Descriptor() ([]byte, []int)

func (*ConsensusParams) GetBlock

func (m *ConsensusParams) GetBlock() *BlockParams

func (*ConsensusParams) GetEvidence

func (m *ConsensusParams) GetEvidence() *EvidenceParams

func (*ConsensusParams) GetValidator

func (m *ConsensusParams) GetValidator() *ValidatorParams

func (*ConsensusParams) GetVersion

func (m *ConsensusParams) GetVersion() *VersionParams

func (*ConsensusParams) ProtoMessage

func (*ConsensusParams) ProtoMessage()

func (*ConsensusParams) Reset

func (m *ConsensusParams) Reset()

func (*ConsensusParams) String

func (m *ConsensusParams) String() string

func (*ConsensusParams) Validate

func (this *ConsensusParams) Validate() error

func (*ConsensusParams) XXX_DiscardUnknown

func (m *ConsensusParams) XXX_DiscardUnknown()

func (*ConsensusParams) XXX_Marshal

func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusParams) XXX_Merge

func (m *ConsensusParams) XXX_Merge(src proto.Message)

func (*ConsensusParams) XXX_Size

func (m *ConsensusParams) XXX_Size() int

func (*ConsensusParams) XXX_Unmarshal

func (m *ConsensusParams) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetAttributes

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

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) Validate

func (this *Event) Validate() error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventAttribute) Descriptor

func (*EventAttribute) Descriptor() ([]byte, []int)

func (*EventAttribute) GetIndex

func (m *EventAttribute) GetIndex() bool

func (*EventAttribute) GetKey

func (m *EventAttribute) GetKey() []byte

func (*EventAttribute) GetValue

func (m *EventAttribute) GetValue() []byte

func (*EventAttribute) ProtoMessage

func (*EventAttribute) ProtoMessage()

func (*EventAttribute) Reset

func (m *EventAttribute) Reset()

func (*EventAttribute) String

func (m *EventAttribute) String() string

func (*EventAttribute) Validate

func (this *EventAttribute) Validate() error

func (*EventAttribute) XXX_DiscardUnknown

func (m *EventAttribute) XXX_DiscardUnknown()

func (*EventAttribute) XXX_Marshal

func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAttribute) XXX_Merge

func (m *EventAttribute) XXX_Merge(src proto.Message)

func (*EventAttribute) XXX_Size

func (m *EventAttribute) XXX_Size() int

func (*EventAttribute) XXX_Unmarshal

func (m *EventAttribute) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*Evidence) Descriptor

func (*Evidence) Descriptor() ([]byte, []int)

func (*Evidence) GetHeight

func (m *Evidence) GetHeight() int64

func (*Evidence) GetTime

func (m *Evidence) GetTime() int64

func (*Evidence) GetTotalVotingPower

func (m *Evidence) GetTotalVotingPower() int64

func (*Evidence) GetType

func (m *Evidence) GetType() EvidenceType

func (*Evidence) GetValidator

func (m *Evidence) GetValidator() *Validator

func (*Evidence) ProtoMessage

func (*Evidence) ProtoMessage()

func (*Evidence) Reset

func (m *Evidence) Reset()

func (*Evidence) String

func (m *Evidence) String() string

func (*Evidence) Validate

func (this *Evidence) Validate() error

func (*Evidence) XXX_DiscardUnknown

func (m *Evidence) XXX_DiscardUnknown()

func (*Evidence) XXX_Marshal

func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Evidence) XXX_Merge

func (m *Evidence) XXX_Merge(src proto.Message)

func (*Evidence) XXX_Size

func (m *Evidence) XXX_Size() int

func (*Evidence) XXX_Unmarshal

func (m *Evidence) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EvidenceParams) Descriptor

func (*EvidenceParams) Descriptor() ([]byte, []int)

func (*EvidenceParams) GetMaxAgeDuration

func (m *EvidenceParams) GetMaxAgeDuration() int64

func (*EvidenceParams) GetMaxAgeNumBlocks

func (m *EvidenceParams) GetMaxAgeNumBlocks() int64

func (*EvidenceParams) GetMaxNum

func (m *EvidenceParams) GetMaxNum() uint32

func (*EvidenceParams) ProtoMessage

func (*EvidenceParams) ProtoMessage()

func (*EvidenceParams) Reset

func (m *EvidenceParams) Reset()

func (*EvidenceParams) String

func (m *EvidenceParams) String() string

func (*EvidenceParams) Validate

func (this *EvidenceParams) Validate() error

func (*EvidenceParams) XXX_DiscardUnknown

func (m *EvidenceParams) XXX_DiscardUnknown()

func (*EvidenceParams) XXX_Marshal

func (m *EvidenceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvidenceParams) XXX_Merge

func (m *EvidenceParams) XXX_Merge(src proto.Message)

func (*EvidenceParams) XXX_Size

func (m *EvidenceParams) XXX_Size() int

func (*EvidenceParams) XXX_Unmarshal

func (m *EvidenceParams) XXX_Unmarshal(b []byte) error

type EvidenceType

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

func (EvidenceType) EnumDescriptor

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

func (EvidenceType) String

func (x EvidenceType) String() string
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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetChainId

func (m *Header) GetChainId() string

func (*Header) GetHeight

func (m *Header) GetHeight() int64

func (*Header) GetTime

func (m *Header) GetTime() int64

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) String

func (m *Header) String() string

func (*Header) Validate

func (this *Header) Validate() error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*LastCommitInfo) Descriptor

func (*LastCommitInfo) Descriptor() ([]byte, []int)

func (*LastCommitInfo) GetRound

func (m *LastCommitInfo) GetRound() int32

func (*LastCommitInfo) GetVotes

func (m *LastCommitInfo) GetVotes() []*VoteInfo

func (*LastCommitInfo) ProtoMessage

func (*LastCommitInfo) ProtoMessage()

func (*LastCommitInfo) Reset

func (m *LastCommitInfo) Reset()

func (*LastCommitInfo) String

func (m *LastCommitInfo) String() string

func (*LastCommitInfo) Validate

func (this *LastCommitInfo) Validate() error

func (*LastCommitInfo) XXX_DiscardUnknown

func (m *LastCommitInfo) XXX_DiscardUnknown()

func (*LastCommitInfo) XXX_Marshal

func (m *LastCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LastCommitInfo) XXX_Merge

func (m *LastCommitInfo) XXX_Merge(src proto.Message)

func (*LastCommitInfo) XXX_Size

func (m *LastCommitInfo) XXX_Size() int

func (*LastCommitInfo) XXX_Unmarshal

func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	// Types that are valid to be assigned to Sum:
	//	*PublicKey_Ed25519
	Sum                  isPublicKey_Sum `protobuf_oneof:"sum"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*PublicKey) Descriptor

func (*PublicKey) Descriptor() ([]byte, []int)

func (*PublicKey) GetEd25519

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

func (*PublicKey) GetSum

func (m *PublicKey) GetSum() isPublicKey_Sum

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) Validate

func (this *PublicKey) Validate() error

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (m *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_OneofWrappers

func (*PublicKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*RequestBeginBlock) Descriptor

func (*RequestBeginBlock) Descriptor() ([]byte, []int)

func (RequestBeginBlock) FromTM

func (*RequestBeginBlock) GetByzantineValidators

func (m *RequestBeginBlock) GetByzantineValidators() []*Evidence

func (*RequestBeginBlock) GetHash

func (m *RequestBeginBlock) GetHash() []byte

func (*RequestBeginBlock) GetHeader

func (m *RequestBeginBlock) GetHeader() *Header

func (*RequestBeginBlock) GetLastCommitInfo

func (m *RequestBeginBlock) GetLastCommitInfo() *LastCommitInfo

func (*RequestBeginBlock) IntoTM

func (*RequestBeginBlock) ProtoMessage

func (*RequestBeginBlock) ProtoMessage()

func (*RequestBeginBlock) Reset

func (m *RequestBeginBlock) Reset()

func (*RequestBeginBlock) String

func (m *RequestBeginBlock) String() string

func (*RequestBeginBlock) Validate

func (this *RequestBeginBlock) Validate() error

func (*RequestBeginBlock) XXX_DiscardUnknown

func (m *RequestBeginBlock) XXX_DiscardUnknown()

func (*RequestBeginBlock) XXX_Marshal

func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestBeginBlock) XXX_Merge

func (m *RequestBeginBlock) XXX_Merge(src proto.Message)

func (*RequestBeginBlock) XXX_Size

func (m *RequestBeginBlock) XXX_Size() int

func (*RequestBeginBlock) XXX_Unmarshal

func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error

type RequestDeliverTx

type RequestDeliverTx struct {
	Tx                   []byte   `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestDeliverTx) Descriptor

func (*RequestDeliverTx) Descriptor() ([]byte, []int)

func (RequestDeliverTx) FromTM

func (*RequestDeliverTx) GetTx

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

func (*RequestDeliverTx) IntoTM

func (*RequestDeliverTx) ProtoMessage

func (*RequestDeliverTx) ProtoMessage()

func (*RequestDeliverTx) Reset

func (m *RequestDeliverTx) Reset()

func (*RequestDeliverTx) String

func (m *RequestDeliverTx) String() string

func (*RequestDeliverTx) Validate

func (this *RequestDeliverTx) Validate() error

func (*RequestDeliverTx) XXX_DiscardUnknown

func (m *RequestDeliverTx) XXX_DiscardUnknown()

func (*RequestDeliverTx) XXX_Marshal

func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestDeliverTx) XXX_Merge

func (m *RequestDeliverTx) XXX_Merge(src proto.Message)

func (*RequestDeliverTx) XXX_Size

func (m *RequestDeliverTx) XXX_Size() int

func (*RequestDeliverTx) XXX_Unmarshal

func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*RequestInitChain) Descriptor

func (*RequestInitChain) Descriptor() ([]byte, []int)

func (RequestInitChain) FromTM

func (*RequestInitChain) GetAppStateBytes

func (m *RequestInitChain) GetAppStateBytes() []byte

func (*RequestInitChain) GetChainId

func (m *RequestInitChain) GetChainId() string

func (*RequestInitChain) GetConsensusParams

func (m *RequestInitChain) GetConsensusParams() *ConsensusParams

func (*RequestInitChain) GetInitialHeight

func (m *RequestInitChain) GetInitialHeight() int64

func (*RequestInitChain) GetTime

func (m *RequestInitChain) GetTime() int64

func (*RequestInitChain) GetValidators

func (m *RequestInitChain) GetValidators() []*ValidatorUpdate

func (*RequestInitChain) IntoTM

func (*RequestInitChain) ProtoMessage

func (*RequestInitChain) ProtoMessage()

func (*RequestInitChain) Reset

func (m *RequestInitChain) Reset()

func (*RequestInitChain) String

func (m *RequestInitChain) String() string

func (*RequestInitChain) Validate

func (this *RequestInitChain) Validate() error

func (*RequestInitChain) XXX_DiscardUnknown

func (m *RequestInitChain) XXX_DiscardUnknown()

func (*RequestInitChain) XXX_Marshal

func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestInitChain) XXX_Merge

func (m *RequestInitChain) XXX_Merge(src proto.Message)

func (*RequestInitChain) XXX_Size

func (m *RequestInitChain) XXX_Size() int

func (*RequestInitChain) XXX_Unmarshal

func (m *RequestInitChain) XXX_Unmarshal(b []byte) error

type ResponseBeginBlock

type ResponseBeginBlock struct {
	Events               []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResponseBeginBlock) Descriptor

func (*ResponseBeginBlock) Descriptor() ([]byte, []int)

func (*ResponseBeginBlock) GetEvents

func (m *ResponseBeginBlock) GetEvents() []*Event

func (*ResponseBeginBlock) ProtoMessage

func (*ResponseBeginBlock) ProtoMessage()

func (*ResponseBeginBlock) Reset

func (m *ResponseBeginBlock) Reset()

func (*ResponseBeginBlock) String

func (m *ResponseBeginBlock) String() string

func (*ResponseBeginBlock) Validate

func (this *ResponseBeginBlock) Validate() error

func (*ResponseBeginBlock) XXX_DiscardUnknown

func (m *ResponseBeginBlock) XXX_DiscardUnknown()

func (*ResponseBeginBlock) XXX_Marshal

func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseBeginBlock) XXX_Merge

func (m *ResponseBeginBlock) XXX_Merge(src proto.Message)

func (*ResponseBeginBlock) XXX_Size

func (m *ResponseBeginBlock) XXX_Size() int

func (*ResponseBeginBlock) XXX_Unmarshal

func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) 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"`
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResponseDeliverTx) Descriptor

func (*ResponseDeliverTx) Descriptor() ([]byte, []int)

func (*ResponseDeliverTx) GetCode

func (m *ResponseDeliverTx) GetCode() uint32

func (*ResponseDeliverTx) GetCodespace

func (m *ResponseDeliverTx) GetCodespace() string

func (*ResponseDeliverTx) GetData

func (m *ResponseDeliverTx) GetData() []byte

func (*ResponseDeliverTx) GetEvents

func (m *ResponseDeliverTx) GetEvents() []*Event

func (*ResponseDeliverTx) GetGasUsed

func (m *ResponseDeliverTx) GetGasUsed() int64

func (*ResponseDeliverTx) GetGasWanted

func (m *ResponseDeliverTx) GetGasWanted() int64

func (*ResponseDeliverTx) GetInfo

func (m *ResponseDeliverTx) GetInfo() string

func (*ResponseDeliverTx) GetLog

func (m *ResponseDeliverTx) GetLog() string

func (*ResponseDeliverTx) ProtoMessage

func (*ResponseDeliverTx) ProtoMessage()

func (*ResponseDeliverTx) Reset

func (m *ResponseDeliverTx) Reset()

func (*ResponseDeliverTx) String

func (m *ResponseDeliverTx) String() string

func (*ResponseDeliverTx) Validate

func (this *ResponseDeliverTx) Validate() error

func (*ResponseDeliverTx) XXX_DiscardUnknown

func (m *ResponseDeliverTx) XXX_DiscardUnknown()

func (*ResponseDeliverTx) XXX_Marshal

func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseDeliverTx) XXX_Merge

func (m *ResponseDeliverTx) XXX_Merge(src proto.Message)

func (*ResponseDeliverTx) XXX_Size

func (m *ResponseDeliverTx) XXX_Size() int

func (*ResponseDeliverTx) XXX_Unmarshal

func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ResponseInitChain) Descriptor

func (*ResponseInitChain) Descriptor() ([]byte, []int)

func (*ResponseInitChain) GetAppHash

func (m *ResponseInitChain) GetAppHash() []byte

func (*ResponseInitChain) GetConsensusParams

func (m *ResponseInitChain) GetConsensusParams() *ConsensusParams

func (*ResponseInitChain) GetValidators

func (m *ResponseInitChain) GetValidators() []*ValidatorUpdate

func (*ResponseInitChain) ProtoMessage

func (*ResponseInitChain) ProtoMessage()

func (*ResponseInitChain) Reset

func (m *ResponseInitChain) Reset()

func (*ResponseInitChain) String

func (m *ResponseInitChain) String() string

func (*ResponseInitChain) Validate

func (this *ResponseInitChain) Validate() error

func (*ResponseInitChain) XXX_DiscardUnknown

func (m *ResponseInitChain) XXX_DiscardUnknown()

func (*ResponseInitChain) XXX_Marshal

func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseInitChain) XXX_Merge

func (m *ResponseInitChain) XXX_Merge(src proto.Message)

func (*ResponseInitChain) XXX_Size

func (m *ResponseInitChain) XXX_Size() int

func (*ResponseInitChain) XXX_Unmarshal

func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error

type TmEvent

type TmEvent struct {
	// Types that are valid to be assigned to Action:
	//	*TmEvent_ReqInitChain
	//	*TmEvent_ResInitChain
	//	*TmEvent_ReqDeliverTx
	//	*TmEvent_ResDeliverTx
	//	*TmEvent_ReqBeginBlock
	//	*TmEvent_ResBeginBlock
	Action               isTmEvent_Action `protobuf_oneof:"action"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TmEvent) Descriptor

func (*TmEvent) Descriptor() ([]byte, []int)

func (*TmEvent) GetAction

func (m *TmEvent) GetAction() isTmEvent_Action

func (*TmEvent) GetReqBeginBlock

func (m *TmEvent) GetReqBeginBlock() *RequestBeginBlock

func (*TmEvent) GetReqDeliverTx

func (m *TmEvent) GetReqDeliverTx() *RequestDeliverTx

func (*TmEvent) GetReqInitChain

func (m *TmEvent) GetReqInitChain() *RequestInitChain

func (*TmEvent) GetResBeginBlock

func (m *TmEvent) GetResBeginBlock() *ResponseBeginBlock

func (*TmEvent) GetResDeliverTx

func (m *TmEvent) GetResDeliverTx() *ResponseDeliverTx

func (*TmEvent) GetResInitChain

func (m *TmEvent) GetResInitChain() *ResponseInitChain

func (*TmEvent) ProtoMessage

func (*TmEvent) ProtoMessage()

func (*TmEvent) Reset

func (m *TmEvent) Reset()

func (*TmEvent) String

func (m *TmEvent) String() string

func (*TmEvent) Validate

func (this *TmEvent) Validate() error

func (*TmEvent) XXX_DiscardUnknown

func (m *TmEvent) XXX_DiscardUnknown()

func (*TmEvent) XXX_Marshal

func (m *TmEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TmEvent) XXX_Merge

func (m *TmEvent) XXX_Merge(src proto.Message)

func (*TmEvent) XXX_OneofWrappers

func (*TmEvent) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TmEvent) XXX_Size

func (m *TmEvent) XXX_Size() int

func (*TmEvent) XXX_Unmarshal

func (m *TmEvent) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Validator) Descriptor

func (*Validator) Descriptor() ([]byte, []int)

func (*Validator) GetAddress

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

func (*Validator) GetPower

func (m *Validator) GetPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Validate

func (this *Validator) Validate() error

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Validator) XXX_Merge

func (m *Validator) XXX_Merge(src proto.Message)

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

func (m *Validator) XXX_Unmarshal(b []byte) error

type ValidatorParams

type ValidatorParams struct {
	PubKeyTypes          []string `protobuf:"bytes,1,rep,name=pub_key_types,json=pubKeyTypes,proto3" json:"pub_key_types,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValidatorParams) Descriptor

func (*ValidatorParams) Descriptor() ([]byte, []int)

func (*ValidatorParams) GetPubKeyTypes

func (m *ValidatorParams) GetPubKeyTypes() []string

func (*ValidatorParams) ProtoMessage

func (*ValidatorParams) ProtoMessage()

func (*ValidatorParams) Reset

func (m *ValidatorParams) Reset()

func (*ValidatorParams) String

func (m *ValidatorParams) String() string

func (*ValidatorParams) Validate

func (this *ValidatorParams) Validate() error

func (*ValidatorParams) XXX_DiscardUnknown

func (m *ValidatorParams) XXX_DiscardUnknown()

func (*ValidatorParams) XXX_Marshal

func (m *ValidatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorParams) XXX_Merge

func (m *ValidatorParams) XXX_Merge(src proto.Message)

func (*ValidatorParams) XXX_Size

func (m *ValidatorParams) XXX_Size() int

func (*ValidatorParams) XXX_Unmarshal

func (m *ValidatorParams) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ValidatorUpdate) Descriptor

func (*ValidatorUpdate) Descriptor() ([]byte, []int)

func (*ValidatorUpdate) GetPower

func (m *ValidatorUpdate) GetPower() int64

func (*ValidatorUpdate) GetPubKey

func (m *ValidatorUpdate) GetPubKey() *PublicKey

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) Reset

func (m *ValidatorUpdate) Reset()

func (*ValidatorUpdate) String

func (m *ValidatorUpdate) String() string

func (*ValidatorUpdate) Validate

func (this *ValidatorUpdate) Validate() error

func (*ValidatorUpdate) XXX_DiscardUnknown

func (m *ValidatorUpdate) XXX_DiscardUnknown()

func (*ValidatorUpdate) XXX_Marshal

func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorUpdate) XXX_Merge

func (m *ValidatorUpdate) XXX_Merge(src proto.Message)

func (*ValidatorUpdate) XXX_Size

func (m *ValidatorUpdate) XXX_Size() int

func (*ValidatorUpdate) XXX_Unmarshal

func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error

type VersionParams

type VersionParams struct {
	AppVersion           uint64   `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionParams) Descriptor

func (*VersionParams) Descriptor() ([]byte, []int)

func (*VersionParams) GetAppVersion

func (m *VersionParams) GetAppVersion() uint64

func (*VersionParams) ProtoMessage

func (*VersionParams) ProtoMessage()

func (*VersionParams) Reset

func (m *VersionParams) Reset()

func (*VersionParams) String

func (m *VersionParams) String() string

func (*VersionParams) Validate

func (this *VersionParams) Validate() error

func (*VersionParams) XXX_DiscardUnknown

func (m *VersionParams) XXX_DiscardUnknown()

func (*VersionParams) XXX_Marshal

func (m *VersionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionParams) XXX_Merge

func (m *VersionParams) XXX_Merge(src proto.Message)

func (*VersionParams) XXX_Size

func (m *VersionParams) XXX_Size() int

func (*VersionParams) XXX_Unmarshal

func (m *VersionParams) XXX_Unmarshal(b []byte) 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"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*VoteInfo) Descriptor

func (*VoteInfo) Descriptor() ([]byte, []int)

func (*VoteInfo) GetSignedLastBlock

func (m *VoteInfo) GetSignedLastBlock() bool

func (*VoteInfo) GetValidator

func (m *VoteInfo) GetValidator() *Validator

func (*VoteInfo) ProtoMessage

func (*VoteInfo) ProtoMessage()

func (*VoteInfo) Reset

func (m *VoteInfo) Reset()

func (*VoteInfo) String

func (m *VoteInfo) String() string

func (*VoteInfo) Validate

func (this *VoteInfo) Validate() error

func (*VoteInfo) XXX_DiscardUnknown

func (m *VoteInfo) XXX_DiscardUnknown()

func (*VoteInfo) XXX_Marshal

func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VoteInfo) XXX_Merge

func (m *VoteInfo) XXX_Merge(src proto.Message)

func (*VoteInfo) XXX_Size

func (m *VoteInfo) XXX_Size() int

func (*VoteInfo) XXX_Unmarshal

func (m *VoteInfo) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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