// 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=LastResultsHash,proto3" json:"LastResultsHash,omitempty"` // the latest AppHash we've received from calling abci.Commit() AppHash []byte `protobuf:"bytes,13,opt,name=AppHash,proto3" json:"AppHash,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{ // 722 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5d, 0x6a, 0xdb, 0x40, 0x10, 0xae, 0xea, 0x24, 0xb6, 0x47, 0x71, 0xdc, 0x6e, 0x20, 0x15, 0x0e, 0xd4, 0xc6, 0x0d,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