state

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ABCIResponses

type ABCIResponses struct {
	DeliverTxs []*types.ResponseDeliverTx `protobuf:"bytes,1,rep,name=deliver_txs,json=deliverTxs,proto3" json:"deliver_txs,omitempty"`
	EndBlock   *types.ResponseEndBlock    `protobuf:"bytes,2,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	BeginBlock *types.ResponseBeginBlock  `protobuf:"bytes,3,opt,name=begin_block,json=beginBlock,proto3" json:"begin_block,omitempty"`
}

ABCIResponses retains the responses of the various ABCI calls during block processing. It is persisted to disk for each height before calling Commit.

func (*ABCIResponses) Descriptor

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

func (*ABCIResponses) GetBeginBlock

func (m *ABCIResponses) GetBeginBlock() *types.ResponseBeginBlock

func (*ABCIResponses) GetDeliverTxs

func (m *ABCIResponses) GetDeliverTxs() []*types.ResponseDeliverTx

func (*ABCIResponses) GetEndBlock

func (m *ABCIResponses) GetEndBlock() *types.ResponseEndBlock

func (*ABCIResponses) Marshal

func (m *ABCIResponses) Marshal() (dAtA []byte, err error)

func (*ABCIResponses) MarshalTo

func (m *ABCIResponses) MarshalTo(dAtA []byte) (int, error)

func (*ABCIResponses) MarshalToSizedBuffer

func (m *ABCIResponses) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ABCIResponses) ProtoMessage

func (*ABCIResponses) ProtoMessage()

func (*ABCIResponses) Reset

func (m *ABCIResponses) Reset()

func (*ABCIResponses) Size

func (m *ABCIResponses) Size() (n int)

func (*ABCIResponses) String

func (m *ABCIResponses) String() string

func (*ABCIResponses) Unmarshal

func (m *ABCIResponses) Unmarshal(dAtA []byte) error

func (*ABCIResponses) XXX_DiscardUnknown

func (m *ABCIResponses) XXX_DiscardUnknown()

func (*ABCIResponses) XXX_Marshal

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

func (*ABCIResponses) XXX_Merge

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

func (*ABCIResponses) XXX_Size

func (m *ABCIResponses) XXX_Size() int

func (*ABCIResponses) XXX_Unmarshal

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

type ConsensusParamsInfo

type ConsensusParamsInfo struct {
	ConsensusParams   types1.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params"`
	LastHeightChanged int64                  `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

ConsensusParamsInfo represents the latest consensus params, or the last height it changed

func (*ConsensusParamsInfo) Descriptor

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

func (*ConsensusParamsInfo) GetConsensusParams

func (m *ConsensusParamsInfo) GetConsensusParams() types1.ConsensusParams

func (*ConsensusParamsInfo) GetLastHeightChanged

func (m *ConsensusParamsInfo) GetLastHeightChanged() int64

func (*ConsensusParamsInfo) Marshal

func (m *ConsensusParamsInfo) Marshal() (dAtA []byte, err error)

func (*ConsensusParamsInfo) MarshalTo

func (m *ConsensusParamsInfo) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusParamsInfo) MarshalToSizedBuffer

func (m *ConsensusParamsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusParamsInfo) ProtoMessage

func (*ConsensusParamsInfo) ProtoMessage()

func (*ConsensusParamsInfo) Reset

func (m *ConsensusParamsInfo) Reset()

func (*ConsensusParamsInfo) Size

func (m *ConsensusParamsInfo) Size() (n int)

func (*ConsensusParamsInfo) String

func (m *ConsensusParamsInfo) String() string

func (*ConsensusParamsInfo) Unmarshal

func (m *ConsensusParamsInfo) Unmarshal(dAtA []byte) error

func (*ConsensusParamsInfo) XXX_DiscardUnknown

func (m *ConsensusParamsInfo) XXX_DiscardUnknown()

func (*ConsensusParamsInfo) XXX_Marshal

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

func (*ConsensusParamsInfo) XXX_Merge

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

func (*ConsensusParamsInfo) XXX_Size

func (m *ConsensusParamsInfo) XXX_Size() int

func (*ConsensusParamsInfo) XXX_Unmarshal

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

type ConsensusRoundInfo

type ConsensusRoundInfo struct {
	ConsensusRound    types1.ConsensusRound `protobuf:"bytes,1,opt,name=consensus_round,json=consensusRound,proto3" json:"consensus_round"`
	LastHeightChanged int64                 `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

func (*ConsensusRoundInfo) Descriptor

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

func (*ConsensusRoundInfo) GetConsensusRound

func (m *ConsensusRoundInfo) GetConsensusRound() types1.ConsensusRound

func (*ConsensusRoundInfo) GetLastHeightChanged

func (m *ConsensusRoundInfo) GetLastHeightChanged() int64

func (*ConsensusRoundInfo) Marshal

func (m *ConsensusRoundInfo) Marshal() (dAtA []byte, err error)

func (*ConsensusRoundInfo) MarshalTo

func (m *ConsensusRoundInfo) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusRoundInfo) MarshalToSizedBuffer

func (m *ConsensusRoundInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusRoundInfo) ProtoMessage

func (*ConsensusRoundInfo) ProtoMessage()

func (*ConsensusRoundInfo) Reset

func (m *ConsensusRoundInfo) Reset()

func (*ConsensusRoundInfo) Size

func (m *ConsensusRoundInfo) Size() (n int)

func (*ConsensusRoundInfo) String

func (m *ConsensusRoundInfo) String() string

func (*ConsensusRoundInfo) Unmarshal

func (m *ConsensusRoundInfo) Unmarshal(dAtA []byte) error

func (*ConsensusRoundInfo) XXX_DiscardUnknown

func (m *ConsensusRoundInfo) XXX_DiscardUnknown()

func (*ConsensusRoundInfo) XXX_Marshal

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

func (*ConsensusRoundInfo) XXX_Merge

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

func (*ConsensusRoundInfo) XXX_Size

func (m *ConsensusRoundInfo) XXX_Size() int

func (*ConsensusRoundInfo) XXX_Unmarshal

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

type QrnsInfo

type QrnsInfo struct {
	QrnSet            *types1.QrnSet `protobuf:"bytes,1,opt,name=qrn_set,json=qrnSet,proto3" json:"qrn_set,omitempty"`
	LastHeightChanged int64          `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

func (*QrnsInfo) Descriptor

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

func (*QrnsInfo) GetLastHeightChanged

func (m *QrnsInfo) GetLastHeightChanged() int64

func (*QrnsInfo) GetQrnSet

func (m *QrnsInfo) GetQrnSet() *types1.QrnSet

func (*QrnsInfo) Marshal

func (m *QrnsInfo) Marshal() (dAtA []byte, err error)

func (*QrnsInfo) MarshalTo

func (m *QrnsInfo) MarshalTo(dAtA []byte) (int, error)

func (*QrnsInfo) MarshalToSizedBuffer

func (m *QrnsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QrnsInfo) ProtoMessage

func (*QrnsInfo) ProtoMessage()

func (*QrnsInfo) Reset

func (m *QrnsInfo) Reset()

func (*QrnsInfo) Size

func (m *QrnsInfo) Size() (n int)

func (*QrnsInfo) String

func (m *QrnsInfo) String() string

func (*QrnsInfo) Unmarshal

func (m *QrnsInfo) Unmarshal(dAtA []byte) error

func (*QrnsInfo) XXX_DiscardUnknown

func (m *QrnsInfo) XXX_DiscardUnknown()

func (*QrnsInfo) XXX_Marshal

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

func (*QrnsInfo) XXX_Merge

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

func (*QrnsInfo) XXX_Size

func (m *QrnsInfo) XXX_Size() int

func (*QrnsInfo) XXX_Unmarshal

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

type SettingSteeringMemberInfo

type SettingSteeringMemberInfo struct {
	SettingSteeringMember *types1.SettingSteeringMember `` /* 126-byte string literal not displayed */
	LastHeightChanged     int64                         `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

func (*SettingSteeringMemberInfo) Descriptor

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

func (*SettingSteeringMemberInfo) GetLastHeightChanged

func (m *SettingSteeringMemberInfo) GetLastHeightChanged() int64

func (*SettingSteeringMemberInfo) GetSettingSteeringMember

func (m *SettingSteeringMemberInfo) GetSettingSteeringMember() *types1.SettingSteeringMember

func (*SettingSteeringMemberInfo) Marshal

func (m *SettingSteeringMemberInfo) Marshal() (dAtA []byte, err error)

func (*SettingSteeringMemberInfo) MarshalTo

func (m *SettingSteeringMemberInfo) MarshalTo(dAtA []byte) (int, error)

func (*SettingSteeringMemberInfo) MarshalToSizedBuffer

func (m *SettingSteeringMemberInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SettingSteeringMemberInfo) ProtoMessage

func (*SettingSteeringMemberInfo) ProtoMessage()

func (*SettingSteeringMemberInfo) Reset

func (m *SettingSteeringMemberInfo) Reset()

func (*SettingSteeringMemberInfo) Size

func (m *SettingSteeringMemberInfo) Size() (n int)

func (*SettingSteeringMemberInfo) String

func (m *SettingSteeringMemberInfo) String() string

func (*SettingSteeringMemberInfo) Unmarshal

func (m *SettingSteeringMemberInfo) Unmarshal(dAtA []byte) error

func (*SettingSteeringMemberInfo) XXX_DiscardUnknown

func (m *SettingSteeringMemberInfo) XXX_DiscardUnknown()

func (*SettingSteeringMemberInfo) XXX_Marshal

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

func (*SettingSteeringMemberInfo) XXX_Merge

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

func (*SettingSteeringMemberInfo) XXX_Size

func (m *SettingSteeringMemberInfo) XXX_Size() int

func (*SettingSteeringMemberInfo) XXX_Unmarshal

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

type StandingMembersInfo

type StandingMembersInfo struct {
	StandingMemberSet         *types1.StandingMemberSet `protobuf:"bytes,1,opt,name=standing_member_set,json=standingMemberSet,proto3" json:"standing_member_set,omitempty"`
	LastHeightChanged         int64                     `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
	CurrentCoordinatorRanking int64                     `` /* 139-byte string literal not displayed */
}

func (*StandingMembersInfo) Descriptor

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

func (*StandingMembersInfo) GetCurrentCoordinatorRanking

func (m *StandingMembersInfo) GetCurrentCoordinatorRanking() int64

func (*StandingMembersInfo) GetLastHeightChanged

func (m *StandingMembersInfo) GetLastHeightChanged() int64

func (*StandingMembersInfo) GetStandingMemberSet

func (m *StandingMembersInfo) GetStandingMemberSet() *types1.StandingMemberSet

func (*StandingMembersInfo) Marshal

func (m *StandingMembersInfo) Marshal() (dAtA []byte, err error)

func (*StandingMembersInfo) MarshalTo

func (m *StandingMembersInfo) MarshalTo(dAtA []byte) (int, error)

func (*StandingMembersInfo) MarshalToSizedBuffer

func (m *StandingMembersInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StandingMembersInfo) ProtoMessage

func (*StandingMembersInfo) ProtoMessage()

func (*StandingMembersInfo) Reset

func (m *StandingMembersInfo) Reset()

func (*StandingMembersInfo) Size

func (m *StandingMembersInfo) Size() (n int)

func (*StandingMembersInfo) String

func (m *StandingMembersInfo) String() string

func (*StandingMembersInfo) Unmarshal

func (m *StandingMembersInfo) Unmarshal(dAtA []byte) error

func (*StandingMembersInfo) XXX_DiscardUnknown

func (m *StandingMembersInfo) XXX_DiscardUnknown()

func (*StandingMembersInfo) XXX_Marshal

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

func (*StandingMembersInfo) XXX_Merge

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

func (*StandingMembersInfo) XXX_Size

func (m *StandingMembersInfo) XXX_Size() int

func (*StandingMembersInfo) XXX_Unmarshal

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

type State

type State struct {
	Version Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
	// immutable
	ChainID       string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	InitialHeight int64  `protobuf:"varint,14,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
	// LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)
	LastBlockHeight int64          `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
	LastBlockID     types1.BlockID `protobuf:"bytes,4,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
	LastBlockTime   time.Time      `protobuf:"bytes,5,opt,name=last_block_time,json=lastBlockTime,proto3,stdtime" json:"last_block_time"`
	// LastValidators is used to validate block.LastCommit.
	// Validators are persisted to the database separately every time they change,
	// so we can query for historical validator sets.
	// Note that if s.LastBlockHeight causes a valset change,
	// we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1
	// Extra +1 due to nextValSet delay.
	NextValidators              *types1.ValidatorSet `protobuf:"bytes,6,opt,name=next_validators,json=nextValidators,proto3" json:"next_validators,omitempty"`
	Validators                  *types1.ValidatorSet `protobuf:"bytes,7,opt,name=validators,proto3" json:"validators,omitempty"`
	LastValidators              *types1.ValidatorSet `protobuf:"bytes,8,opt,name=last_validators,json=lastValidators,proto3" json:"last_validators,omitempty"`
	LastHeightValidatorsChanged int64                `` /* 147-byte string literal not displayed */
	// Consensus parameters used for validating blocks.
	// Changes returned by EndBlock and updated after Commit.
	ConsensusParams                  types1.ConsensusParams `protobuf:"bytes,10,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params"`
	LastHeightConsensusParamsChanged int64                  `` /* 165-byte string literal not displayed */
	// Merkle root of the results from executing prev block
	LastResultsHash []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	// the latest AppHash we've received from calling abci.Commit()
	AppHash                                   []byte                             `protobuf:"bytes,13,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	StandingMemberSet                         *types1.StandingMemberSet          `protobuf:"bytes,15,opt,name=standing_member_set,json=standingMemberSet,proto3" json:"standing_member_set,omitempty"`
	ConsensusRound                            types1.ConsensusRound              `protobuf:"bytes,16,opt,name=consensus_round,json=consensusRound,proto3" json:"consensus_round"`
	QrnSet                                    *types1.QrnSet                     `protobuf:"bytes,17,opt,name=qrn_set,json=qrnSet,proto3" json:"qrn_set,omitempty"`
	NextQrnSet                                *types1.QrnSet                     `protobuf:"bytes,23,opt,name=next_qrn_set,json=nextQrnSet,proto3" json:"next_qrn_set,omitempty"`
	LastHeightStandingMembersChanged          int64                              `` /* 165-byte string literal not displayed */
	LastHeightConsensusRoundChanged           int64                              `` /* 162-byte string literal not displayed */
	SteeringMemberCandidateSet                *types1.SteeringMemberCandidateSet `` /* 144-byte string literal not displayed */
	LastHeightSteeringMemberCandidatesChanged int64                              `` /* 194-byte string literal not displayed */
	VrfSet                                    *types1.VrfSet                     `protobuf:"bytes,22,opt,name=vrf_set,json=vrfSet,proto3" json:"vrf_set,omitempty"`
	NextVrfSet                                *types1.VrfSet                     `protobuf:"bytes,24,opt,name=next_vrf_set,json=nextVrfSet,proto3" json:"next_vrf_set,omitempty"`
	SettingSteeringMember                     *types1.SettingSteeringMember      `` /* 127-byte string literal not displayed */
	IsSetSteeringMember                       bool                               `protobuf:"varint,26,opt,name=is_set_steering_member,json=isSetSteeringMember,proto3" json:"is_set_steering_member,omitempty"`
	LastHeightQrnChanged                      int64                              `` /* 127-byte string literal not displayed */
	LastHeightNextQrnChanged                  int64                              `` /* 141-byte string literal not displayed */
	LastHeightVrfChanged                      int64                              `` /* 127-byte string literal not displayed */
	LastHeightNextVrfChanged                  int64                              `` /* 141-byte string literal not displayed */
	LastHeightSettingSteeringMemberChanged    int64                              `` /* 185-byte string literal not displayed */
}

func (*State) Descriptor

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

func (*State) GetAppHash

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

func (*State) GetChainID

func (m *State) GetChainID() string

func (*State) GetConsensusParams

func (m *State) GetConsensusParams() types1.ConsensusParams

func (*State) GetConsensusRound

func (m *State) GetConsensusRound() types1.ConsensusRound

func (*State) GetInitialHeight

func (m *State) GetInitialHeight() int64

func (*State) GetIsSetSteeringMember

func (m *State) GetIsSetSteeringMember() bool

func (*State) GetLastBlockHeight

func (m *State) GetLastBlockHeight() int64

func (*State) GetLastBlockID

func (m *State) GetLastBlockID() types1.BlockID

func (*State) GetLastBlockTime

func (m *State) GetLastBlockTime() time.Time

func (*State) GetLastHeightConsensusParamsChanged

func (m *State) GetLastHeightConsensusParamsChanged() int64

func (*State) GetLastHeightConsensusRoundChanged

func (m *State) GetLastHeightConsensusRoundChanged() int64

func (*State) GetLastHeightNextQrnChanged added in v0.1.7

func (m *State) GetLastHeightNextQrnChanged() int64

func (*State) GetLastHeightNextVrfChanged added in v0.1.7

func (m *State) GetLastHeightNextVrfChanged() int64

func (*State) GetLastHeightQrnChanged added in v0.1.7

func (m *State) GetLastHeightQrnChanged() int64

func (*State) GetLastHeightSettingSteeringMemberChanged added in v0.1.7

func (m *State) GetLastHeightSettingSteeringMemberChanged() int64

func (*State) GetLastHeightStandingMembersChanged

func (m *State) GetLastHeightStandingMembersChanged() int64

func (*State) GetLastHeightSteeringMemberCandidatesChanged

func (m *State) GetLastHeightSteeringMemberCandidatesChanged() int64

func (*State) GetLastHeightValidatorsChanged

func (m *State) GetLastHeightValidatorsChanged() int64

func (*State) GetLastHeightVrfChanged added in v0.1.7

func (m *State) GetLastHeightVrfChanged() int64

func (*State) GetLastResultsHash

func (m *State) GetLastResultsHash() []byte

func (*State) GetLastValidators

func (m *State) GetLastValidators() *types1.ValidatorSet

func (*State) GetNextQrnSet

func (m *State) GetNextQrnSet() *types1.QrnSet

func (*State) GetNextValidators

func (m *State) GetNextValidators() *types1.ValidatorSet

func (*State) GetNextVrfSet

func (m *State) GetNextVrfSet() *types1.VrfSet

func (*State) GetQrnSet

func (m *State) GetQrnSet() *types1.QrnSet

func (*State) GetSettingSteeringMember

func (m *State) GetSettingSteeringMember() *types1.SettingSteeringMember

func (*State) GetStandingMemberSet

func (m *State) GetStandingMemberSet() *types1.StandingMemberSet

func (*State) GetSteeringMemberCandidateSet

func (m *State) GetSteeringMemberCandidateSet() *types1.SteeringMemberCandidateSet

func (*State) GetValidators

func (m *State) GetValidators() *types1.ValidatorSet

func (*State) GetVersion

func (m *State) GetVersion() Version

func (*State) GetVrfSet

func (m *State) GetVrfSet() *types1.VrfSet

func (*State) Marshal

func (m *State) Marshal() (dAtA []byte, err error)

func (*State) MarshalTo

func (m *State) MarshalTo(dAtA []byte) (int, error)

func (*State) MarshalToSizedBuffer

func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) Size

func (m *State) Size() (n int)

func (*State) String

func (m *State) String() string

func (*State) Unmarshal

func (m *State) Unmarshal(dAtA []byte) error

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

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

func (*State) XXX_Merge

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

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

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

type SteeringMemberCandidateSetInfo

type SteeringMemberCandidateSetInfo struct {
	SteeringMemberCandidateSet *types1.SteeringMemberCandidateSet `` /* 143-byte string literal not displayed */
	LastHeightChanged          int64                              `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

func (*SteeringMemberCandidateSetInfo) Descriptor

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

func (*SteeringMemberCandidateSetInfo) GetLastHeightChanged

func (m *SteeringMemberCandidateSetInfo) GetLastHeightChanged() int64

func (*SteeringMemberCandidateSetInfo) GetSteeringMemberCandidateSet

func (m *SteeringMemberCandidateSetInfo) GetSteeringMemberCandidateSet() *types1.SteeringMemberCandidateSet

func (*SteeringMemberCandidateSetInfo) Marshal

func (m *SteeringMemberCandidateSetInfo) Marshal() (dAtA []byte, err error)

func (*SteeringMemberCandidateSetInfo) MarshalTo

func (m *SteeringMemberCandidateSetInfo) MarshalTo(dAtA []byte) (int, error)

func (*SteeringMemberCandidateSetInfo) MarshalToSizedBuffer

func (m *SteeringMemberCandidateSetInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SteeringMemberCandidateSetInfo) ProtoMessage

func (*SteeringMemberCandidateSetInfo) ProtoMessage()

func (*SteeringMemberCandidateSetInfo) Reset

func (m *SteeringMemberCandidateSetInfo) Reset()

func (*SteeringMemberCandidateSetInfo) Size

func (m *SteeringMemberCandidateSetInfo) Size() (n int)

func (*SteeringMemberCandidateSetInfo) String

func (*SteeringMemberCandidateSetInfo) Unmarshal

func (m *SteeringMemberCandidateSetInfo) Unmarshal(dAtA []byte) error

func (*SteeringMemberCandidateSetInfo) XXX_DiscardUnknown

func (m *SteeringMemberCandidateSetInfo) XXX_DiscardUnknown()

func (*SteeringMemberCandidateSetInfo) XXX_Marshal

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

func (*SteeringMemberCandidateSetInfo) XXX_Merge

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

func (*SteeringMemberCandidateSetInfo) XXX_Size

func (m *SteeringMemberCandidateSetInfo) XXX_Size() int

func (*SteeringMemberCandidateSetInfo) XXX_Unmarshal

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

type ValidatorsInfo

type ValidatorsInfo struct {
	ValidatorSet      *types1.ValidatorSet `protobuf:"bytes,1,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
	LastHeightChanged int64                `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

ValidatorsInfo represents the latest validator set, or the last height it changed

func (*ValidatorsInfo) Descriptor

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

func (*ValidatorsInfo) GetLastHeightChanged

func (m *ValidatorsInfo) GetLastHeightChanged() int64

func (*ValidatorsInfo) GetValidatorSet

func (m *ValidatorsInfo) GetValidatorSet() *types1.ValidatorSet

func (*ValidatorsInfo) Marshal

func (m *ValidatorsInfo) Marshal() (dAtA []byte, err error)

func (*ValidatorsInfo) MarshalTo

func (m *ValidatorsInfo) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorsInfo) MarshalToSizedBuffer

func (m *ValidatorsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorsInfo) ProtoMessage

func (*ValidatorsInfo) ProtoMessage()

func (*ValidatorsInfo) Reset

func (m *ValidatorsInfo) Reset()

func (*ValidatorsInfo) Size

func (m *ValidatorsInfo) Size() (n int)

func (*ValidatorsInfo) String

func (m *ValidatorsInfo) String() string

func (*ValidatorsInfo) Unmarshal

func (m *ValidatorsInfo) Unmarshal(dAtA []byte) error

func (*ValidatorsInfo) XXX_DiscardUnknown

func (m *ValidatorsInfo) XXX_DiscardUnknown()

func (*ValidatorsInfo) XXX_Marshal

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

func (*ValidatorsInfo) XXX_Merge

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

func (*ValidatorsInfo) XXX_Size

func (m *ValidatorsInfo) XXX_Size() int

func (*ValidatorsInfo) XXX_Unmarshal

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

type Version

type Version struct {
	Consensus version.Consensus `protobuf:"bytes,1,opt,name=consensus,proto3" json:"consensus"`
	Software  string            `protobuf:"bytes,2,opt,name=software,proto3" json:"software,omitempty"`
}

func (*Version) Descriptor

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

func (*Version) GetConsensus

func (m *Version) GetConsensus() version.Consensus

func (*Version) GetSoftware

func (m *Version) GetSoftware() string

func (*Version) Marshal

func (m *Version) Marshal() (dAtA []byte, err error)

func (*Version) MarshalTo

func (m *Version) MarshalTo(dAtA []byte) (int, error)

func (*Version) MarshalToSizedBuffer

func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) Size

func (m *Version) Size() (n int)

func (*Version) String

func (m *Version) String() string

func (*Version) Unmarshal

func (m *Version) Unmarshal(dAtA []byte) error

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

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

func (*Version) XXX_Merge

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

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

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

type VrfsInfo

type VrfsInfo struct {
	VrfSet            *types1.VrfSet `protobuf:"bytes,1,opt,name=vrf_set,json=vrfSet,proto3" json:"vrf_set,omitempty"`
	LastHeightChanged int64          `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}

func (*VrfsInfo) Descriptor

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

func (*VrfsInfo) GetLastHeightChanged

func (m *VrfsInfo) GetLastHeightChanged() int64

func (*VrfsInfo) GetVrfSet

func (m *VrfsInfo) GetVrfSet() *types1.VrfSet

func (*VrfsInfo) Marshal

func (m *VrfsInfo) Marshal() (dAtA []byte, err error)

func (*VrfsInfo) MarshalTo

func (m *VrfsInfo) MarshalTo(dAtA []byte) (int, error)

func (*VrfsInfo) MarshalToSizedBuffer

func (m *VrfsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VrfsInfo) ProtoMessage

func (*VrfsInfo) ProtoMessage()

func (*VrfsInfo) Reset

func (m *VrfsInfo) Reset()

func (*VrfsInfo) Size

func (m *VrfsInfo) Size() (n int)

func (*VrfsInfo) String

func (m *VrfsInfo) String() string

func (*VrfsInfo) Unmarshal

func (m *VrfsInfo) Unmarshal(dAtA []byte) error

func (*VrfsInfo) XXX_DiscardUnknown

func (m *VrfsInfo) XXX_DiscardUnknown()

func (*VrfsInfo) XXX_Marshal

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

func (*VrfsInfo) XXX_Merge

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

func (*VrfsInfo) XXX_Size

func (m *VrfsInfo) XXX_Size() int

func (*VrfsInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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