// Code generated by protoc-gen-gogo. DO NOT EDIT. // source: proto/state/types.proto package state import ( fmt "fmt" _ "github.com/gogo/protobuf/gogoproto" proto "github.com/gogo/protobuf/proto" _ "github.com/golang/protobuf/ptypes/timestamp" types "github.com/tendermint/tendermint/abci/types" types1 "github.com/tendermint/tendermint/proto/types" version "github.com/tendermint/tendermint/proto/version" math "math" time "time" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // ABCIResponses retains the responses // of the various ABCI calls during block processing. // It is persisted to disk for each height before calling Commit. 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ABCIResponses) Reset() { *m = ABCIResponses{} } func (m *ABCIResponses) String() string { return proto.CompactTextString(m) } func (*ABCIResponses) ProtoMessage() {} func (*ABCIResponses) Descriptor() ([]byte, []int) { return fileDescriptor_00e69fef8162ea9b, []int{0} } func (m *ABCIResponses) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ABCIResponses.Unmarshal(m, b) } func (m *ABCIResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ABCIResponses.Marshal(b, m, deterministic) } func (m *ABCIResponses) XXX_Merge(src proto.Message) { xxx_messageInfo_ABCIResponses.Merge(m, src) } func (m *ABCIResponses) XXX_Size() int { return xxx_messageInfo_ABCIResponses.Size(m) } func (m *ABCIResponses) XXX_DiscardUnknown() { xxx_messageInfo_ABCIResponses.DiscardUnknown(m) } var xxx_messageInfo_ABCIResponses proto.InternalMessageInfo func (m *ABCIResponses) GetDeliverTxs() []*types.ResponseDeliverTx { if m != nil { return m.DeliverTxs } return nil } func (m *ABCIResponses) GetEndBlock() *types.ResponseEndBlock { if m != nil { return m.EndBlock } return nil } func (m *ABCIResponses) GetBeginBlock() *types.ResponseBeginBlock { if m != nil { return m.BeginBlock } return nil } // ValidatorsInfo represents the latest validator set, or the last height it changed 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ValidatorsInfo) Reset() { *m = ValidatorsInfo{} } func (m *ValidatorsInfo) String() string { return proto.CompactTextString(m) } func (*ValidatorsInfo) ProtoMessage() {} func (*ValidatorsInfo) Descriptor() ([]byte, []int) { return fileDescriptor_00e69fef8162ea9b, []int{1} } func (m *ValidatorsInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValidatorsInfo.Unmarshal(m, b) } func (m *ValidatorsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ValidatorsInfo.Marshal(b, m, deterministic) } func (m *ValidatorsInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_ValidatorsInfo.Merge(m, src) } func (m *ValidatorsInfo) XXX_Size() int { return xxx_messageInfo_ValidatorsInfo.Size(m) } func (m *ValidatorsInfo) XXX_DiscardUnknown() { xxx_messageInfo_ValidatorsInfo.DiscardUnknown(m) } var xxx_messageInfo_ValidatorsInfo proto.InternalMessageInfo func (m *ValidatorsInfo) GetValidatorSet() *types1.ValidatorSet { if m != nil { return m.ValidatorSet } return nil } func (m *ValidatorsInfo) GetLastHeightChanged() int64 { if m != nil { return m.LastHeightChanged } return 0 } // ConsensusParamsInfo represents the latest consensus params, or the last height it changed 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ConsensusParamsInfo) Reset() { *m = ConsensusParamsInfo{} } func (m *ConsensusParamsInfo) String() string { return proto.CompactTextString(m) } func (*ConsensusParamsInfo) ProtoMessage() {} func (*ConsensusParamsInfo) Descriptor() ([]byte, []int) { return fileDescriptor_00e69fef8162ea9b, []int{2} } func (m *ConsensusParamsInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ConsensusParamsInfo.Unmarshal(m, b) } func (m *ConsensusParamsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ConsensusParamsInfo.Marshal(b, m, deterministic) } func (m *ConsensusParamsInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_ConsensusParamsInfo.Merge(m, src) } func (m *ConsensusParamsInfo) XXX_Size() int { return xxx_messageInfo_ConsensusParamsInfo.Size(m) } func (m *ConsensusParamsInfo) XXX_DiscardUnknown() { xxx_messageInfo_ConsensusParamsInfo.DiscardUnknown(m) } var xxx_messageInfo_ConsensusParamsInfo proto.InternalMessageInfo func (m *ConsensusParamsInfo) GetConsensusParams() types1.ConsensusParams { if m != nil { return m.ConsensusParams } return types1.ConsensusParams{} } func (m *ConsensusParamsInfo) GetLastHeightChanged() int64 { if m != nil { return m.LastHeightChanged } return 0 } 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Version) Reset() { *m = Version{} } func (m *Version) String() string { return proto.CompactTextString(m) } func (*Version) ProtoMessage() {} func (*Version) Descriptor() ([]byte, []int) { return fileDescriptor_00e69fef8162ea9b, []int{3} } func (m *Version) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Version.Unmarshal(m, b) } func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Version.Marshal(b, m, deterministic) } func (m *Version) XXX_Merge(src proto.Message) { xxx_messageInfo_Version.Merge(m, src) } func (m *Version) XXX_Size() int { return xxx_messageInfo_Version.Size(m) } func (m *Version) XXX_DiscardUnknown() { xxx_messageInfo_Version.DiscardUnknown(m) } var xxx_messageInfo_Version proto.InternalMessageInfo func (m *Version) GetConsensus() version.Consensus { if m != nil { return m.Consensus } return version.Consensus{} } func (m *Version) GetSoftware() string { if m != nil { return m.Software } return "" } 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"` // 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 `protobuf:"varint,9,opt,name=last_height_validators_changed,json=lastHeightValidatorsChanged,proto3" json:"last_height_validators_changed,omitempty"` // 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 `protobuf:"varint,11,opt,name=last_height_consensus_params_changed,json=lastHeightConsensusParamsChanged,proto3" json:"last_height_consensus_params_changed,omitempty"` // 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *State) Reset() { *m = State{} } func (m *State) String() string { return proto.CompactTextString(m) } func (*State) ProtoMessage() {} func (*State) Descriptor() ([]byte, []int) { return fileDescriptor_00e69fef8162ea9b, []int{4} } func (m *State) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_State.Unmarshal(m, b) } func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_State.Marshal(b, m, deterministic) } func (m *State) XXX_Merge(src proto.Message) { xxx_messageInfo_State.Merge(m, src) } func (m *State) XXX_Size() int { return xxx_messageInfo_State.Size(m) } func (m *State) XXX_DiscardUnknown() { xxx_messageInfo_State.DiscardUnknown(m) } var xxx_messageInfo_State proto.InternalMessageInfo func (m *State) GetVersion() Version { if m != nil { return m.Version } return Version{} } func (m *State) GetChainID() string { if m != nil { return m.ChainID } return "" } func (m *State) GetLastBlockHeight() int64 { if m != nil { return m.LastBlockHeight } return 0 } func (m *State) GetLastBlockID() types1.BlockID { if m != nil { return m.LastBlockID } return types1.BlockID{} } func (m *State) GetLastBlockTime() time.Time { if m != nil { return m.LastBlockTime } return time.Time{} } func (m *State) GetNextValidators() *types1.ValidatorSet { if m != nil { return m.NextValidators } return nil } func (m *State) GetValidators() *types1.ValidatorSet { if m != nil { return m.Validators } return nil } func (m *State) GetLastValidators() *types1.ValidatorSet { if m != nil { return m.LastValidators } return nil } func (m *State) GetLastHeightValidatorsChanged() int64 { if m != nil { return m.LastHeightValidatorsChanged } return 0 } func (m *State) GetConsensusParams() types1.ConsensusParams { if m != nil { return m.ConsensusParams } return types1.ConsensusParams{} } func (m *State) GetLastHeightConsensusParamsChanged() int64 { if m != nil { return m.LastHeightConsensusParamsChanged } return 0 } func (m *State) GetLastResultsHash() []byte { if m != nil { return m.LastResultsHash } return nil } func (m *State) GetAppHash() []byte { if m != nil { return m.AppHash } return nil } func init() { proto.RegisterType((*ABCIResponses)(nil), "tendermint.proto.state.ABCIResponses") proto.RegisterType((*ValidatorsInfo)(nil), "tendermint.proto.state.ValidatorsInfo") proto.RegisterType((*ConsensusParamsInfo)(nil), "tendermint.proto.state.ConsensusParamsInfo") proto.RegisterType((*Version)(nil), "tendermint.proto.state.Version") proto.RegisterType((*State)(nil), "tendermint.proto.state.State") } func init() { proto.RegisterFile("proto/state/types.proto", fileDescriptor_00e69fef8162ea9b) } var fileDescriptor_00e69fef8162ea9b = []byte{ // 729 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x6a, 0xdb, 0x4a, 0x18, 0xbd, 0xba, 0x4e, 0x62, 0xfb, 0x53, 0x1c, 0xdf, 0x3b, 0x81, 0x5c, 0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