Documentation ¶
Index ¶
- Variables
- type BlockParams
- func (*BlockParams) Descriptor() ([]byte, []int)
- func (m *BlockParams) GetMaxBytes() int64
- func (m *BlockParams) GetMaxGas() int64
- func (*BlockParams) ProtoMessage()
- func (m *BlockParams) Reset()
- func (m *BlockParams) String() string
- func (m *BlockParams) XXX_DiscardUnknown()
- func (m *BlockParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockParams) XXX_Merge(src proto.Message)
- func (m *BlockParams) XXX_Size() int
- func (m *BlockParams) XXX_Unmarshal(b []byte) error
- type ConsensusParams
- func (*ConsensusParams) Descriptor() ([]byte, []int)
- func (m *ConsensusParams) GetBlock() *BlockParams
- func (m *ConsensusParams) GetEvidence() *EvidenceParams
- func (m *ConsensusParams) GetValidator() *ValidatorParams
- func (m *ConsensusParams) GetVersion() *VersionParams
- func (*ConsensusParams) ProtoMessage()
- func (m *ConsensusParams) Reset()
- func (m *ConsensusParams) String() string
- func (m *ConsensusParams) XXX_DiscardUnknown()
- func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusParams) XXX_Merge(src proto.Message)
- func (m *ConsensusParams) XXX_Size() int
- func (m *ConsensusParams) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetAttributes() []*EventAttribute
- func (m *Event) GetType() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventAttribute
- func (*EventAttribute) Descriptor() ([]byte, []int)
- func (m *EventAttribute) GetIndex() bool
- func (m *EventAttribute) GetKey() []byte
- func (m *EventAttribute) GetValue() []byte
- func (*EventAttribute) ProtoMessage()
- func (m *EventAttribute) Reset()
- func (m *EventAttribute) String() string
- func (m *EventAttribute) XXX_DiscardUnknown()
- func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAttribute) XXX_Merge(src proto.Message)
- func (m *EventAttribute) XXX_Size() int
- func (m *EventAttribute) XXX_Unmarshal(b []byte) error
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)
- func (m *Evidence) GetHeight() int64
- func (m *Evidence) GetTime() int64
- func (m *Evidence) GetTotalVotingPower() int64
- func (m *Evidence) GetType() EvidenceType
- func (m *Evidence) GetValidator() *Validator
- func (*Evidence) ProtoMessage()
- func (m *Evidence) Reset()
- func (m *Evidence) String() string
- func (m *Evidence) XXX_DiscardUnknown()
- func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Evidence) XXX_Merge(src proto.Message)
- func (m *Evidence) XXX_Size() int
- func (m *Evidence) XXX_Unmarshal(b []byte) error
- type EvidenceParams
- func (*EvidenceParams) Descriptor() ([]byte, []int)
- func (m *EvidenceParams) GetMaxAgeDuration() int64
- func (m *EvidenceParams) GetMaxAgeNumBlocks() int64
- func (m *EvidenceParams) GetMaxNum() uint32
- func (*EvidenceParams) ProtoMessage()
- func (m *EvidenceParams) Reset()
- func (m *EvidenceParams) String() string
- func (m *EvidenceParams) XXX_DiscardUnknown()
- func (m *EvidenceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EvidenceParams) XXX_Merge(src proto.Message)
- func (m *EvidenceParams) XXX_Size() int
- func (m *EvidenceParams) XXX_Unmarshal(b []byte) error
- type EvidenceType
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetChainId() string
- func (m *Header) GetHeight() int64
- func (m *Header) GetTime() int64
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
- type LastCommitInfo
- func (*LastCommitInfo) Descriptor() ([]byte, []int)
- func (m *LastCommitInfo) GetRound() int32
- func (m *LastCommitInfo) GetVotes() []*VoteInfo
- func (*LastCommitInfo) ProtoMessage()
- func (m *LastCommitInfo) Reset()
- func (m *LastCommitInfo) String() string
- func (m *LastCommitInfo) XXX_DiscardUnknown()
- func (m *LastCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LastCommitInfo) XXX_Merge(src proto.Message)
- func (m *LastCommitInfo) XXX_Size() int
- func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetEd25519() []byte
- func (m *PublicKey) GetSum() isPublicKey_Sum
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (*PublicKey) XXX_OneofWrappers() []interface{}
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKey_Ed25519
- type RequestBeginBlock
- func (*RequestBeginBlock) Descriptor() ([]byte, []int)
- func (RequestBeginBlock) FromTM(t *types.RequestBeginBlock) *RequestBeginBlock
- func (m *RequestBeginBlock) GetByzantineValidators() []*Evidence
- func (m *RequestBeginBlock) GetHash() []byte
- func (m *RequestBeginBlock) GetHeader() *Header
- func (m *RequestBeginBlock) GetLastCommitInfo() *LastCommitInfo
- func (r *RequestBeginBlock) IntoTM() types.RequestBeginBlock
- func (*RequestBeginBlock) ProtoMessage()
- func (m *RequestBeginBlock) Reset()
- func (m *RequestBeginBlock) String() string
- func (m *RequestBeginBlock) XXX_DiscardUnknown()
- func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestBeginBlock) XXX_Merge(src proto.Message)
- func (m *RequestBeginBlock) XXX_Size() int
- func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error
- type RequestDeliverTx
- func (*RequestDeliverTx) Descriptor() ([]byte, []int)
- func (RequestDeliverTx) FromTM(t *types.RequestDeliverTx) *RequestDeliverTx
- func (m *RequestDeliverTx) GetTx() []byte
- func (r *RequestDeliverTx) IntoTM() types.RequestDeliverTx
- func (*RequestDeliverTx) ProtoMessage()
- func (m *RequestDeliverTx) Reset()
- func (m *RequestDeliverTx) String() string
- func (m *RequestDeliverTx) XXX_DiscardUnknown()
- func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestDeliverTx) XXX_Merge(src proto.Message)
- func (m *RequestDeliverTx) XXX_Size() int
- func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error
- type RequestInitChain
- func (*RequestInitChain) Descriptor() ([]byte, []int)
- func (RequestInitChain) FromTM(t *types.RequestInitChain) *RequestInitChain
- func (m *RequestInitChain) GetAppStateBytes() []byte
- func (m *RequestInitChain) GetChainId() string
- func (m *RequestInitChain) GetConsensusParams() *ConsensusParams
- func (m *RequestInitChain) GetInitialHeight() int64
- func (m *RequestInitChain) GetTime() int64
- func (m *RequestInitChain) GetValidators() []*ValidatorUpdate
- func (r *RequestInitChain) IntoTM() types.RequestInitChain
- func (*RequestInitChain) ProtoMessage()
- func (m *RequestInitChain) Reset()
- func (m *RequestInitChain) String() string
- func (m *RequestInitChain) XXX_DiscardUnknown()
- func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestInitChain) XXX_Merge(src proto.Message)
- func (m *RequestInitChain) XXX_Size() int
- func (m *RequestInitChain) XXX_Unmarshal(b []byte) error
- type ResponseBeginBlock
- func (*ResponseBeginBlock) Descriptor() ([]byte, []int)
- func (m *ResponseBeginBlock) GetEvents() []*Event
- func (*ResponseBeginBlock) ProtoMessage()
- func (m *ResponseBeginBlock) Reset()
- func (m *ResponseBeginBlock) String() string
- func (m *ResponseBeginBlock) XXX_DiscardUnknown()
- func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseBeginBlock) XXX_Merge(src proto.Message)
- func (m *ResponseBeginBlock) XXX_Size() int
- func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error
- type ResponseDeliverTx
- func (*ResponseDeliverTx) Descriptor() ([]byte, []int)
- func (m *ResponseDeliverTx) GetCode() uint32
- func (m *ResponseDeliverTx) GetCodespace() string
- func (m *ResponseDeliverTx) GetData() []byte
- func (m *ResponseDeliverTx) GetEvents() []*Event
- func (m *ResponseDeliverTx) GetGasUsed() int64
- func (m *ResponseDeliverTx) GetGasWanted() int64
- func (m *ResponseDeliverTx) GetInfo() string
- func (m *ResponseDeliverTx) GetLog() string
- func (*ResponseDeliverTx) ProtoMessage()
- func (m *ResponseDeliverTx) Reset()
- func (m *ResponseDeliverTx) String() string
- func (m *ResponseDeliverTx) XXX_DiscardUnknown()
- func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseDeliverTx) XXX_Merge(src proto.Message)
- func (m *ResponseDeliverTx) XXX_Size() int
- func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error
- type ResponseInitChain
- func (*ResponseInitChain) Descriptor() ([]byte, []int)
- func (m *ResponseInitChain) GetAppHash() []byte
- func (m *ResponseInitChain) GetConsensusParams() *ConsensusParams
- func (m *ResponseInitChain) GetValidators() []*ValidatorUpdate
- func (*ResponseInitChain) ProtoMessage()
- func (m *ResponseInitChain) Reset()
- func (m *ResponseInitChain) String() string
- func (m *ResponseInitChain) XXX_DiscardUnknown()
- func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseInitChain) XXX_Merge(src proto.Message)
- func (m *ResponseInitChain) XXX_Size() int
- func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error
- type TmEvent
- func (*TmEvent) Descriptor() ([]byte, []int)
- func (m *TmEvent) GetAction() isTmEvent_Action
- func (m *TmEvent) GetReqBeginBlock() *RequestBeginBlock
- func (m *TmEvent) GetReqDeliverTx() *RequestDeliverTx
- func (m *TmEvent) GetReqInitChain() *RequestInitChain
- func (m *TmEvent) GetResBeginBlock() *ResponseBeginBlock
- func (m *TmEvent) GetResDeliverTx() *ResponseDeliverTx
- func (m *TmEvent) GetResInitChain() *ResponseInitChain
- func (*TmEvent) ProtoMessage()
- func (m *TmEvent) Reset()
- func (m *TmEvent) String() string
- func (m *TmEvent) XXX_DiscardUnknown()
- func (m *TmEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TmEvent) XXX_Merge(src proto.Message)
- func (*TmEvent) XXX_OneofWrappers() []interface{}
- func (m *TmEvent) XXX_Size() int
- func (m *TmEvent) XXX_Unmarshal(b []byte) error
- type TmEvent_ReqBeginBlock
- type TmEvent_ReqDeliverTx
- type TmEvent_ReqInitChain
- type TmEvent_ResBeginBlock
- type TmEvent_ResDeliverTx
- type TmEvent_ResInitChain
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAddress() []byte
- func (m *Validator) GetPower() int64
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) String() string
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorParams
- func (*ValidatorParams) Descriptor() ([]byte, []int)
- func (m *ValidatorParams) GetPubKeyTypes() []string
- func (*ValidatorParams) ProtoMessage()
- func (m *ValidatorParams) Reset()
- func (m *ValidatorParams) String() string
- func (m *ValidatorParams) XXX_DiscardUnknown()
- func (m *ValidatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorParams) XXX_Merge(src proto.Message)
- func (m *ValidatorParams) XXX_Size() int
- func (m *ValidatorParams) XXX_Unmarshal(b []byte) error
- type ValidatorUpdate
- func (*ValidatorUpdate) Descriptor() ([]byte, []int)
- func (m *ValidatorUpdate) GetPower() int64
- func (m *ValidatorUpdate) GetPubKey() *PublicKey
- func (*ValidatorUpdate) ProtoMessage()
- func (m *ValidatorUpdate) Reset()
- func (m *ValidatorUpdate) String() string
- func (m *ValidatorUpdate) XXX_DiscardUnknown()
- func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorUpdate) XXX_Merge(src proto.Message)
- func (m *ValidatorUpdate) XXX_Size() int
- func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error
- type VersionParams
- func (*VersionParams) Descriptor() ([]byte, []int)
- func (m *VersionParams) GetAppVersion() uint64
- func (*VersionParams) ProtoMessage()
- func (m *VersionParams) Reset()
- func (m *VersionParams) String() string
- func (m *VersionParams) XXX_DiscardUnknown()
- func (m *VersionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionParams) XXX_Merge(src proto.Message)
- func (m *VersionParams) XXX_Size() int
- func (m *VersionParams) XXX_Unmarshal(b []byte) error
- type VoteInfo
- func (*VoteInfo) Descriptor() ([]byte, []int)
- func (m *VoteInfo) GetSignedLastBlock() bool
- func (m *VoteInfo) GetValidator() *Validator
- func (*VoteInfo) ProtoMessage()
- func (m *VoteInfo) Reset()
- func (m *VoteInfo) String() string
- func (m *VoteInfo) XXX_DiscardUnknown()
- func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteInfo) XXX_Merge(src proto.Message)
- func (m *VoteInfo) XXX_Size() int
- func (m *VoteInfo) XXX_Unmarshal(b []byte) error
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) 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) 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) GetAttributes ¶
func (m *Event) GetAttributes() []*EventAttribute
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
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) 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) GetTotalVotingPower ¶
func (*Evidence) GetType ¶
func (m *Evidence) GetType() EvidenceType
func (*Evidence) GetValidator ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) XXX_DiscardUnknown ¶
func (m *Evidence) XXX_DiscardUnknown()
func (*Evidence) XXX_Marshal ¶
func (*Evidence) XXX_Unmarshal ¶
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) 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 ¶
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) GetChainId ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
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) 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) GetEd25519 ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_OneofWrappers ¶
func (*PublicKey) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PublicKey) XXX_Unmarshal ¶
type PublicKey_Ed25519 ¶
type PublicKey_Ed25519 struct {
Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof"`
}
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) FromTM(t *types.RequestBeginBlock) *RequestBeginBlock
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 (r *RequestBeginBlock) IntoTM() types.RequestBeginBlock
func (*RequestBeginBlock) ProtoMessage ¶
func (*RequestBeginBlock) ProtoMessage()
func (*RequestBeginBlock) Reset ¶
func (m *RequestBeginBlock) Reset()
func (*RequestBeginBlock) String ¶
func (m *RequestBeginBlock) String() string
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) FromTM(t *types.RequestDeliverTx) *RequestDeliverTx
func (*RequestDeliverTx) GetTx ¶
func (m *RequestDeliverTx) GetTx() []byte
func (*RequestDeliverTx) IntoTM ¶
func (r *RequestDeliverTx) IntoTM() types.RequestDeliverTx
func (*RequestDeliverTx) ProtoMessage ¶
func (*RequestDeliverTx) ProtoMessage()
func (*RequestDeliverTx) Reset ¶
func (m *RequestDeliverTx) Reset()
func (*RequestDeliverTx) String ¶
func (m *RequestDeliverTx) String() string
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) FromTM(t *types.RequestInitChain) *RequestInitChain
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 (r *RequestInitChain) IntoTM() types.RequestInitChain
func (*RequestInitChain) ProtoMessage ¶
func (*RequestInitChain) ProtoMessage()
func (*RequestInitChain) Reset ¶
func (m *RequestInitChain) Reset()
func (*RequestInitChain) String ¶
func (m *RequestInitChain) String() string
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) 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) 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) 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) 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) XXX_DiscardUnknown ¶
func (m *TmEvent) XXX_DiscardUnknown()
func (*TmEvent) XXX_Marshal ¶
func (*TmEvent) XXX_OneofWrappers ¶
func (*TmEvent) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TmEvent) XXX_Unmarshal ¶
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) GetAddress ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
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) 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) 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) 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) GetSignedLastBlock ¶
func (*VoteInfo) GetValidator ¶
func (*VoteInfo) ProtoMessage ¶
func (*VoteInfo) ProtoMessage()
func (*VoteInfo) XXX_DiscardUnknown ¶
func (m *VoteInfo) XXX_DiscardUnknown()
func (*VoteInfo) XXX_Marshal ¶
func (*VoteInfo) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.