diff --git a/release/go/spacemesh/smesher/smeshing_identities.pb.go b/release/go/spacemesh/smesher/smeshing_identities.pb.go new file mode 100644 index 00000000..875bb95d --- /dev/null +++ b/release/go/spacemesh/smesher/smeshing_identities.pb.go @@ -0,0 +1,2267 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc (unknown) +// source: spacemesh/smesher/smeshing_identities.proto + +package smesherv1 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + _ "google.golang.org/protobuf/types/known/emptypb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IdentityState int32 + +const ( + IdentityState_UNSPECIFIED IdentityState = 0 + IdentityState_WAIT_FOR_ATX_SYNCED IdentityState = 1 + IdentityState_RETRYING IdentityState = 2 + IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 3 + IdentityState_POET_CHALLENGE_READY IdentityState = 4 + IdentityState_POET_REGISTERED IdentityState = 5 + IdentityState_WAIT_FOR_POET_ROUND_END IdentityState = 6 + IdentityState_POET_PROOF_RECEIVED IdentityState = 7 + IdentityState_GENERATING_POST_PROOF IdentityState = 8 + IdentityState_POST_PROOF_READY IdentityState = 9 + IdentityState_ATX_READY IdentityState = 10 + IdentityState_ATX_BROADCASTED IdentityState = 11 + IdentityState_PROPOSAL_BUILD_FAILED IdentityState = 12 + IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 13 + IdentityState_PROPOSAL_PUBLISHED IdentityState = 14 + IdentityState_ELIGIBLE IdentityState = 15 +) + +// Enum value maps for IdentityState. +var ( + IdentityState_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "WAIT_FOR_ATX_SYNCED", + 2: "RETRYING", + 3: "WAITING_FOR_POET_REGISTRATION_WINDOW", + 4: "POET_CHALLENGE_READY", + 5: "POET_REGISTERED", + 6: "WAIT_FOR_POET_ROUND_END", + 7: "POET_PROOF_RECEIVED", + 8: "GENERATING_POST_PROOF", + 9: "POST_PROOF_READY", + 10: "ATX_READY", + 11: "ATX_BROADCASTED", + 12: "PROPOSAL_BUILD_FAILED", + 13: "PROPOSAL_PUBLISH_FAILED", + 14: "PROPOSAL_PUBLISHED", + 15: "ELIGIBLE", + } + IdentityState_value = map[string]int32{ + "UNSPECIFIED": 0, + "WAIT_FOR_ATX_SYNCED": 1, + "RETRYING": 2, + "WAITING_FOR_POET_REGISTRATION_WINDOW": 3, + "POET_CHALLENGE_READY": 4, + "POET_REGISTERED": 5, + "WAIT_FOR_POET_ROUND_END": 6, + "POET_PROOF_RECEIVED": 7, + "GENERATING_POST_PROOF": 8, + "POST_PROOF_READY": 9, + "ATX_READY": 10, + "ATX_BROADCASTED": 11, + "PROPOSAL_BUILD_FAILED": 12, + "PROPOSAL_PUBLISH_FAILED": 13, + "PROPOSAL_PUBLISHED": 14, + "ELIGIBLE": 15, + } +) + +func (x IdentityState) Enum() *IdentityState { + p := new(IdentityState) + *p = x + return p +} + +func (x IdentityState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IdentityState) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_smesher_smeshing_identities_proto_enumTypes[0].Descriptor() +} + +func (IdentityState) Type() protoreflect.EnumType { + return &file_spacemesh_smesher_smeshing_identities_proto_enumTypes[0] +} + +func (x IdentityState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IdentityState.Descriptor instead. +func (IdentityState) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +type RetryingState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *RetryingState) Reset() { + *x = RetryingState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetryingState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetryingState) ProtoMessage() {} + +func (x *RetryingState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetryingState.ProtoReflect.Descriptor instead. +func (*RetryingState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +func (x *RetryingState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type WaitForAtxSyncedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitForAtxSyncedState) Reset() { + *x = WaitForAtxSyncedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForAtxSyncedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForAtxSyncedState) ProtoMessage() {} + +func (x *WaitForAtxSyncedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForAtxSyncedState.ProtoReflect.Descriptor instead. +func (*WaitForAtxSyncedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{1} +} + +type WaitingForPoetRegistrationWindowState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitingForPoetRegistrationWindowState) Reset() { + *x = WaitingForPoetRegistrationWindowState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitingForPoetRegistrationWindowState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitingForPoetRegistrationWindowState) ProtoMessage() {} + +func (x *WaitingForPoetRegistrationWindowState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitingForPoetRegistrationWindowState.ProtoReflect.Descriptor instead. +func (*WaitingForPoetRegistrationWindowState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{2} +} + +type PoetChallengeReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PoetChallengeReadyState) Reset() { + *x = PoetChallengeReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetChallengeReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetChallengeReadyState) ProtoMessage() {} + +func (x *PoetChallengeReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetChallengeReadyState.ProtoReflect.Descriptor instead. +func (*PoetChallengeReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{3} +} + +type PoETRegistration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeHash []byte `protobuf:"bytes,1,opt,name=challenge_hash,json=challengeHash,proto3" json:"challenge_hash,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + RoundId string `protobuf:"bytes,3,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` +} + +func (x *PoETRegistration) Reset() { + *x = PoETRegistration{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoETRegistration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoETRegistration) ProtoMessage() {} + +func (x *PoETRegistration) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoETRegistration.ProtoReflect.Descriptor instead. +func (*PoETRegistration) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{4} +} + +func (x *PoETRegistration) GetChallengeHash() []byte { + if x != nil { + return x.ChallengeHash + } + return nil +} + +func (x *PoETRegistration) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *PoETRegistration) GetRoundId() string { + if x != nil { + return x.RoundId + } + return "" +} + +func (x *PoETRegistration) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +type PoetRegisteredState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Registrations []*PoETRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` +} + +func (x *PoetRegisteredState) Reset() { + *x = PoetRegisteredState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetRegisteredState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetRegisteredState) ProtoMessage() {} + +func (x *PoetRegisteredState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetRegisteredState.ProtoReflect.Descriptor instead. +func (*PoetRegisteredState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{5} +} + +func (x *PoetRegisteredState) GetRegistrations() []*PoETRegistration { + if x != nil { + return x.Registrations + } + return nil +} + +type WaitForPoetRoundEndState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` + PublishEpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=publish_epoch_end,json=publishEpochEnd,proto3" json:"publish_epoch_end,omitempty"` +} + +func (x *WaitForPoetRoundEndState) Reset() { + *x = WaitForPoetRoundEndState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForPoetRoundEndState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForPoetRoundEndState) ProtoMessage() {} + +func (x *WaitForPoetRoundEndState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForPoetRoundEndState.ProtoReflect.Descriptor instead. +func (*WaitForPoetRoundEndState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{6} +} + +func (x *WaitForPoetRoundEndState) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +func (x *WaitForPoetRoundEndState) GetPublishEpochEnd() *timestamppb.Timestamp { + if x != nil { + return x.PublishEpochEnd + } + return nil +} + +type PoetProofReceivedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PoetUrl string `protobuf:"bytes,1,opt,name=poet_url,json=poetUrl,proto3" json:"poet_url,omitempty"` +} + +func (x *PoetProofReceivedState) Reset() { + *x = PoetProofReceivedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetProofReceivedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetProofReceivedState) ProtoMessage() {} + +func (x *PoetProofReceivedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetProofReceivedState.ProtoReflect.Descriptor instead. +func (*PoetProofReceivedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{7} +} + +func (x *PoetProofReceivedState) GetPoetUrl() string { + if x != nil { + return x.PoetUrl + } + return "" +} + +type GeneratingPostProofState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GeneratingPostProofState) Reset() { + *x = GeneratingPostProofState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneratingPostProofState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneratingPostProofState) ProtoMessage() {} + +func (x *GeneratingPostProofState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneratingPostProofState.ProtoReflect.Descriptor instead. +func (*GeneratingPostProofState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{8} +} + +type PostProofReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PostProofReadyState) Reset() { + *x = PostProofReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostProofReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostProofReadyState) ProtoMessage() {} + +func (x *PostProofReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostProofReadyState.ProtoReflect.Descriptor instead. +func (*PostProofReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{9} +} + +type AtxReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AtxReadyState) Reset() { + *x = AtxReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxReadyState) ProtoMessage() {} + +func (x *AtxReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxReadyState.ProtoReflect.Descriptor instead. +func (*AtxReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{10} +} + +type AtxBroadcastedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AtxId []byte `protobuf:"bytes,1,opt,name=atx_id,json=atxId,proto3" json:"atx_id,omitempty"` +} + +func (x *AtxBroadcastedState) Reset() { + *x = AtxBroadcastedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxBroadcastedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxBroadcastedState) ProtoMessage() {} + +func (x *AtxBroadcastedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxBroadcastedState.ProtoReflect.Descriptor instead. +func (*AtxBroadcastedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{11} +} + +func (x *AtxBroadcastedState) GetAtxId() []byte { + if x != nil { + return x.AtxId + } + return nil +} + +type ProposalBuildFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalBuildFailedState) Reset() { + *x = ProposalBuildFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalBuildFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalBuildFailedState) ProtoMessage() {} + +func (x *ProposalBuildFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalBuildFailedState.ProtoReflect.Descriptor instead. +func (*ProposalBuildFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{12} +} + +func (x *ProposalBuildFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalBuildFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type ProposalPublishFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,3,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishFailedState) Reset() { + *x = ProposalPublishFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishFailedState) ProtoMessage() {} + +func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishFailedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *ProposalPublishFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalPublishFailedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type ProposalPublishedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposal []byte `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishedState) Reset() { + *x = ProposalPublishedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishedState) ProtoMessage() {} + +func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{14} +} + +func (x *ProposalPublishedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type Eligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *Eligibility) Reset() { + *x = Eligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibility) ProtoMessage() {} + +func (x *Eligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibility.ProtoReflect.Descriptor instead. +func (*Eligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{15} +} + +func (x *Eligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Eligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +type Eligible struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layers []*Eligibility `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` +} + +func (x *Eligible) Reset() { + *x = Eligible{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligible) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligible) ProtoMessage() {} + +func (x *Eligible) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligible.ProtoReflect.Descriptor instead. +func (*Eligible) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{16} +} + +func (x *Eligible) GetLayers() []*Eligibility { + if x != nil { + return x.Layers + } + return nil +} + +type IdentityStateInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.smesher.v1.IdentityState" json:"state,omitempty"` + PublishEpoch *uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3,oneof" json:"publish_epoch,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + // Types that are assignable to Metadata: + // + // *IdentityStateInfo_Retrying + // *IdentityStateInfo_WaitForAtxSynced + // *IdentityStateInfo_WaitingForPoetRegistrationWindow + // *IdentityStateInfo_PoetChallengeReady + // *IdentityStateInfo_PoetRegistered + // *IdentityStateInfo_WaitForPoetRoundEnd + // *IdentityStateInfo_PoetProofReceived + // *IdentityStateInfo_GeneratingPostProof + // *IdentityStateInfo_PostProofReady + // *IdentityStateInfo_AtxReady + // *IdentityStateInfo_AtxBroadcasted + // *IdentityStateInfo_ProposalBuildFailed + // *IdentityStateInfo_ProposalPublishFailed + // *IdentityStateInfo_ProposalPublished + // *IdentityStateInfo_Eligible + Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` +} + +func (x *IdentityStateInfo) Reset() { + *x = IdentityStateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IdentityStateInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdentityStateInfo) ProtoMessage() {} + +func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. +func (*IdentityStateInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{17} +} + +func (x *IdentityStateInfo) GetState() IdentityState { + if x != nil { + return x.State + } + return IdentityState_UNSPECIFIED +} + +func (x *IdentityStateInfo) GetPublishEpoch() uint32 { + if x != nil && x.PublishEpoch != nil { + return *x.PublishEpoch + } + return 0 +} + +func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { + if m != nil { + return m.Metadata + } + return nil +} + +func (x *IdentityStateInfo) GetRetrying() *RetryingState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Retrying); ok { + return x.Retrying + } + return nil +} + +func (x *IdentityStateInfo) GetWaitForAtxSynced() *WaitForAtxSyncedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForAtxSynced); ok { + return x.WaitForAtxSynced + } + return nil +} + +func (x *IdentityStateInfo) GetWaitingForPoetRegistrationWindow() *WaitingForPoetRegistrationWindowState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitingForPoetRegistrationWindow); ok { + return x.WaitingForPoetRegistrationWindow + } + return nil +} + +func (x *IdentityStateInfo) GetPoetChallengeReady() *PoetChallengeReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetChallengeReady); ok { + return x.PoetChallengeReady + } + return nil +} + +func (x *IdentityStateInfo) GetPoetRegistered() *PoetRegisteredState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetRegistered); ok { + return x.PoetRegistered + } + return nil +} + +func (x *IdentityStateInfo) GetWaitForPoetRoundEnd() *WaitForPoetRoundEndState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForPoetRoundEnd); ok { + return x.WaitForPoetRoundEnd + } + return nil +} + +func (x *IdentityStateInfo) GetPoetProofReceived() *PoetProofReceivedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetProofReceived); ok { + return x.PoetProofReceived + } + return nil +} + +func (x *IdentityStateInfo) GetGeneratingPostProof() *GeneratingPostProofState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_GeneratingPostProof); ok { + return x.GeneratingPostProof + } + return nil +} + +func (x *IdentityStateInfo) GetPostProofReady() *PostProofReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PostProofReady); ok { + return x.PostProofReady + } + return nil +} + +func (x *IdentityStateInfo) GetAtxReady() *AtxReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxReady); ok { + return x.AtxReady + } + return nil +} + +func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxBroadcasted); ok { + return x.AtxBroadcasted + } + return nil +} + +func (x *IdentityStateInfo) GetProposalBuildFailed() *ProposalBuildFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalBuildFailed); ok { + return x.ProposalBuildFailed + } + return nil +} + +func (x *IdentityStateInfo) GetProposalPublishFailed() *ProposalPublishFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublishFailed); ok { + return x.ProposalPublishFailed + } + return nil +} + +func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublished); ok { + return x.ProposalPublished + } + return nil +} + +func (x *IdentityStateInfo) GetEligible() *Eligible { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Eligible); ok { + return x.Eligible + } + return nil +} + +type isIdentityStateInfo_Metadata interface { + isIdentityStateInfo_Metadata() +} + +type IdentityStateInfo_Retrying struct { + Retrying *RetryingState `protobuf:"bytes,4,opt,name=retrying,proto3,oneof"` +} + +type IdentityStateInfo_WaitForAtxSynced struct { + WaitForAtxSynced *WaitForAtxSyncedState `protobuf:"bytes,5,opt,name=wait_for_atx_synced,json=waitForAtxSynced,proto3,oneof"` +} + +type IdentityStateInfo_WaitingForPoetRegistrationWindow struct { + WaitingForPoetRegistrationWindow *WaitingForPoetRegistrationWindowState `protobuf:"bytes,6,opt,name=waiting_for_poet_registration_window,json=waitingForPoetRegistrationWindow,proto3,oneof"` +} + +type IdentityStateInfo_PoetChallengeReady struct { + PoetChallengeReady *PoetChallengeReadyState `protobuf:"bytes,7,opt,name=poet_challenge_ready,json=poetChallengeReady,proto3,oneof"` +} + +type IdentityStateInfo_PoetRegistered struct { + PoetRegistered *PoetRegisteredState `protobuf:"bytes,8,opt,name=poet_registered,json=poetRegistered,proto3,oneof"` +} + +type IdentityStateInfo_WaitForPoetRoundEnd struct { + WaitForPoetRoundEnd *WaitForPoetRoundEndState `protobuf:"bytes,9,opt,name=wait_for_poet_round_end,json=waitForPoetRoundEnd,proto3,oneof"` +} + +type IdentityStateInfo_PoetProofReceived struct { + PoetProofReceived *PoetProofReceivedState `protobuf:"bytes,10,opt,name=poet_proof_received,json=poetProofReceived,proto3,oneof"` +} + +type IdentityStateInfo_GeneratingPostProof struct { + GeneratingPostProof *GeneratingPostProofState `protobuf:"bytes,11,opt,name=generating_post_proof,json=generatingPostProof,proto3,oneof"` +} + +type IdentityStateInfo_PostProofReady struct { + PostProofReady *PostProofReadyState `protobuf:"bytes,12,opt,name=post_proof_ready,json=postProofReady,proto3,oneof"` +} + +type IdentityStateInfo_AtxReady struct { + AtxReady *AtxReadyState `protobuf:"bytes,13,opt,name=atx_ready,json=atxReady,proto3,oneof"` +} + +type IdentityStateInfo_AtxBroadcasted struct { + AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` +} + +type IdentityStateInfo_ProposalBuildFailed struct { + ProposalBuildFailed *ProposalBuildFailedState `protobuf:"bytes,15,opt,name=proposal_build_failed,json=proposalBuildFailed,proto3,oneof"` +} + +type IdentityStateInfo_ProposalPublishFailed struct { + ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,16,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` +} + +type IdentityStateInfo_ProposalPublished struct { + ProposalPublished *ProposalPublishedState `protobuf:"bytes,17,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` +} + +type IdentityStateInfo_Eligible struct { + Eligible *Eligible `protobuf:"bytes,18,opt,name=eligible,proto3,oneof"` +} + +func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForAtxSynced) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitingForPoetRegistrationWindow) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetChallengeReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetRegistered) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForPoetRoundEnd) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetProofReceived) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_GeneratingPostProof) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PostProofReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalBuildFailed) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_Eligible) isIdentityStateInfo_Metadata() {} + +type Identity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + History []*IdentityStateInfo `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` +} + +func (x *Identity) Reset() { + *x = Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Identity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Identity) ProtoMessage() {} + +func (x *Identity) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Identity.ProtoReflect.Descriptor instead. +func (*Identity) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{18} +} + +func (x *Identity) GetHistory() []*IdentityStateInfo { + if x != nil { + return x.History + } + return nil +} + +type PoetConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseShift *durationpb.Duration `protobuf:"bytes,1,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` + CycleGap *durationpb.Duration `protobuf:"bytes,2,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` +} + +func (x *PoetConfig) Reset() { + *x = PoetConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetConfig) ProtoMessage() {} + +func (x *PoetConfig) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. +func (*PoetConfig) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{19} +} + +func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { + if x != nil { + return x.PhaseShift + } + return nil +} + +func (x *PoetConfig) GetCycleGap() *durationpb.Duration { + if x != nil { + return x.CycleGap + } + return nil +} + +// Proposals and eligibilities +type Eligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` +} + +func (x *Eligibilities) Reset() { + *x = Eligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibilities) ProtoMessage() {} + +func (x *Eligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. +func (*Eligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{20} +} + +func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { + if x != nil { + return x.Eligibilities + } + return nil +} + +type ProposalEligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *ProposalEligibility) Reset() { + *x = ProposalEligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalEligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalEligibility) ProtoMessage() {} + +func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. +func (*ProposalEligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{21} +} + +func (x *ProposalEligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *ProposalEligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +type EpochEligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epochs map[uint32]*Eligibilities `protobuf:"bytes,1,rep,name=epochs,proto3" json:"epochs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EpochEligibilities) Reset() { + *x = EpochEligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EpochEligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EpochEligibilities) ProtoMessage() {} + +func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. +func (*EpochEligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{22} +} + +func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { + if x != nil { + return x.Epochs + } + return nil +} + +type Proposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` +} + +func (x *Proposal) Reset() { + *x = Proposal{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposal) ProtoMessage() {} + +func (x *Proposal) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposal.ProtoReflect.Descriptor instead. +func (*Proposal) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{23} +} + +func (x *Proposal) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Proposal) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +type Proposals struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` +} + +func (x *Proposals) Reset() { + *x = Proposals{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposals) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposals) ProtoMessage() {} + +func (x *Proposals) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_smeshing_identities_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposals.ProtoReflect.Descriptor instead. +func (*Proposals) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP(), []int{24} +} + +func (x *Proposals) GetProposals() []*Proposal { + if x != nil { + return x.Proposals + } + return nil +} + +var File_spacemesh_smesher_smeshing_identities_proto protoreflect.FileDescriptor + +var file_spacemesh_smesher_smeshing_identities_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x17, 0x0a, 0x15, + 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x27, 0x0a, 0x25, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, + 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x19, + 0x0a, 0x17, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x50, 0x6f, + 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, + 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x45, 0x6e, 0x64, 0x22, 0x63, 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x57, 0x61, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, + 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x46, + 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, + 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x0f, + 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, + 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, 0x22, 0x4a, 0x0a, + 0x18, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, + 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x68, 0x0a, 0x1a, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, + 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, + 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x45, 0x0a, 0x08, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x73, 0x22, 0xbe, 0x0c, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, + 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x08, + 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, + 0x5c, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, + 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, + 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8d, 0x01, + 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, + 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, + 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, + 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, + 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x61, 0x0a, + 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, + 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, + 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, + 0x12, 0x54, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, + 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x66, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, + 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, + 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, + 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, + 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5e, + 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x64, + 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, + 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, + 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, + 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x55, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, + 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x73, + 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x42, 0x0a, 0x09, 0x61, + 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, + 0x54, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, + 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x6a, 0x0a, 0x17, 0x70, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, + 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, + 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x22, 0x4d, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x41, + 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, + 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, 0x66, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, 0x36, 0x0a, 0x09, + 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, 0x79, 0x63, 0x6c, + 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc2, 0x01, 0x0a, 0x12, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x4c, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, + 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5e, + 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3c, + 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, 0x49, 0x0a, 0x09, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3c, 0x0a, 0x09, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x2a, 0x89, 0x03, 0x0a, 0x0d, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x41, + 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x45, + 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, 0x4e, 0x47, 0x10, + 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x46, 0x4f, 0x52, + 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, + 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, 0x5f, 0x52, 0x45, + 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, + 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x41, + 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x4f, 0x55, 0x4e, + 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, 0x45, 0x54, 0x5f, + 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, 0x44, 0x10, 0x07, + 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x50, + 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, + 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x0a, + 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, 0x43, 0x41, 0x53, + 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, + 0x4c, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0c, + 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, + 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x16, 0x0a, + 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, + 0x48, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, 0x4c, + 0x45, 0x10, 0x0f, 0x42, 0xe8, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x41, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, + 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x6d, 0x65, + 0x73, 0x68, 0x65, 0x72, 0x3b, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, + 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x14, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x14, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x20, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x53, + 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x3a, 0x3a, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_spacemesh_smesher_smeshing_identities_proto_rawDescOnce sync.Once + file_spacemesh_smesher_smeshing_identities_proto_rawDescData = file_spacemesh_smesher_smeshing_identities_proto_rawDesc +) + +func file_spacemesh_smesher_smeshing_identities_proto_rawDescGZIP() []byte { + file_spacemesh_smesher_smeshing_identities_proto_rawDescOnce.Do(func() { + file_spacemesh_smesher_smeshing_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_smesher_smeshing_identities_proto_rawDescData) + }) + return file_spacemesh_smesher_smeshing_identities_proto_rawDescData +} + +var file_spacemesh_smesher_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_spacemesh_smesher_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_spacemesh_smesher_smeshing_identities_proto_goTypes = []interface{}{ + (IdentityState)(0), // 0: spacemesh.smesher.v1.IdentityState + (*RetryingState)(nil), // 1: spacemesh.smesher.v1.RetryingState + (*WaitForAtxSyncedState)(nil), // 2: spacemesh.smesher.v1.WaitForAtxSyncedState + (*WaitingForPoetRegistrationWindowState)(nil), // 3: spacemesh.smesher.v1.WaitingForPoetRegistrationWindowState + (*PoetChallengeReadyState)(nil), // 4: spacemesh.smesher.v1.PoetChallengeReadyState + (*PoETRegistration)(nil), // 5: spacemesh.smesher.v1.PoETRegistration + (*PoetRegisteredState)(nil), // 6: spacemesh.smesher.v1.PoetRegisteredState + (*WaitForPoetRoundEndState)(nil), // 7: spacemesh.smesher.v1.WaitForPoetRoundEndState + (*PoetProofReceivedState)(nil), // 8: spacemesh.smesher.v1.PoetProofReceivedState + (*GeneratingPostProofState)(nil), // 9: spacemesh.smesher.v1.GeneratingPostProofState + (*PostProofReadyState)(nil), // 10: spacemesh.smesher.v1.PostProofReadyState + (*AtxReadyState)(nil), // 11: spacemesh.smesher.v1.AtxReadyState + (*AtxBroadcastedState)(nil), // 12: spacemesh.smesher.v1.AtxBroadcastedState + (*ProposalBuildFailedState)(nil), // 13: spacemesh.smesher.v1.ProposalBuildFailedState + (*ProposalPublishFailedState)(nil), // 14: spacemesh.smesher.v1.ProposalPublishFailedState + (*ProposalPublishedState)(nil), // 15: spacemesh.smesher.v1.ProposalPublishedState + (*Eligibility)(nil), // 16: spacemesh.smesher.v1.Eligibility + (*Eligible)(nil), // 17: spacemesh.smesher.v1.Eligible + (*IdentityStateInfo)(nil), // 18: spacemesh.smesher.v1.IdentityStateInfo + (*Identity)(nil), // 19: spacemesh.smesher.v1.Identity + (*PoetConfig)(nil), // 20: spacemesh.smesher.v1.PoetConfig + (*Eligibilities)(nil), // 21: spacemesh.smesher.v1.Eligibilities + (*ProposalEligibility)(nil), // 22: spacemesh.smesher.v1.ProposalEligibility + (*EpochEligibilities)(nil), // 23: spacemesh.smesher.v1.EpochEligibilities + (*Proposal)(nil), // 24: spacemesh.smesher.v1.Proposal + (*Proposals)(nil), // 25: spacemesh.smesher.v1.Proposals + nil, // 26: spacemesh.smesher.v1.EpochEligibilities.EpochsEntry + (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 28: google.protobuf.Duration +} +var file_spacemesh_smesher_smeshing_identities_proto_depIdxs = []int32{ + 27, // 0: spacemesh.smesher.v1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 5, // 1: spacemesh.smesher.v1.PoetRegisteredState.registrations:type_name -> spacemesh.smesher.v1.PoETRegistration + 27, // 2: spacemesh.smesher.v1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 27, // 3: spacemesh.smesher.v1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 16, // 4: spacemesh.smesher.v1.Eligible.layers:type_name -> spacemesh.smesher.v1.Eligibility + 0, // 5: spacemesh.smesher.v1.IdentityStateInfo.state:type_name -> spacemesh.smesher.v1.IdentityState + 27, // 6: spacemesh.smesher.v1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 1, // 7: spacemesh.smesher.v1.IdentityStateInfo.retrying:type_name -> spacemesh.smesher.v1.RetryingState + 2, // 8: spacemesh.smesher.v1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.smesher.v1.WaitForAtxSyncedState + 3, // 9: spacemesh.smesher.v1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.smesher.v1.WaitingForPoetRegistrationWindowState + 4, // 10: spacemesh.smesher.v1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.smesher.v1.PoetChallengeReadyState + 6, // 11: spacemesh.smesher.v1.IdentityStateInfo.poet_registered:type_name -> spacemesh.smesher.v1.PoetRegisteredState + 7, // 12: spacemesh.smesher.v1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.smesher.v1.WaitForPoetRoundEndState + 8, // 13: spacemesh.smesher.v1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.smesher.v1.PoetProofReceivedState + 9, // 14: spacemesh.smesher.v1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.smesher.v1.GeneratingPostProofState + 10, // 15: spacemesh.smesher.v1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.smesher.v1.PostProofReadyState + 11, // 16: spacemesh.smesher.v1.IdentityStateInfo.atx_ready:type_name -> spacemesh.smesher.v1.AtxReadyState + 12, // 17: spacemesh.smesher.v1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.smesher.v1.AtxBroadcastedState + 13, // 18: spacemesh.smesher.v1.IdentityStateInfo.proposal_build_failed:type_name -> spacemesh.smesher.v1.ProposalBuildFailedState + 14, // 19: spacemesh.smesher.v1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.smesher.v1.ProposalPublishFailedState + 15, // 20: spacemesh.smesher.v1.IdentityStateInfo.proposal_published:type_name -> spacemesh.smesher.v1.ProposalPublishedState + 17, // 21: spacemesh.smesher.v1.IdentityStateInfo.eligible:type_name -> spacemesh.smesher.v1.Eligible + 18, // 22: spacemesh.smesher.v1.Identity.history:type_name -> spacemesh.smesher.v1.IdentityStateInfo + 28, // 23: spacemesh.smesher.v1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 28, // 24: spacemesh.smesher.v1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 22, // 25: spacemesh.smesher.v1.Eligibilities.eligibilities:type_name -> spacemesh.smesher.v1.ProposalEligibility + 26, // 26: spacemesh.smesher.v1.EpochEligibilities.epochs:type_name -> spacemesh.smesher.v1.EpochEligibilities.EpochsEntry + 24, // 27: spacemesh.smesher.v1.Proposals.proposals:type_name -> spacemesh.smesher.v1.Proposal + 21, // 28: spacemesh.smesher.v1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.smesher.v1.Eligibilities + 29, // [29:29] is the sub-list for method output_type + 29, // [29:29] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_spacemesh_smesher_smeshing_identities_proto_init() } +func file_spacemesh_smesher_smeshing_identities_proto_init() { + if File_spacemesh_smesher_smeshing_identities_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetryingState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitForAtxSyncedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitingForPoetRegistrationWindowState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetChallengeReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoETRegistration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetRegisteredState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitForPoetRoundEndState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetProofReceivedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneratingPostProofState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostProofReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AtxReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AtxBroadcastedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalBuildFailedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalPublishFailedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalPublishedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligible); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalEligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EpochEligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_spacemesh_smesher_smeshing_identities_proto_msgTypes[17].OneofWrappers = []interface{}{ + (*IdentityStateInfo_Retrying)(nil), + (*IdentityStateInfo_WaitForAtxSynced)(nil), + (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), + (*IdentityStateInfo_PoetChallengeReady)(nil), + (*IdentityStateInfo_PoetRegistered)(nil), + (*IdentityStateInfo_WaitForPoetRoundEnd)(nil), + (*IdentityStateInfo_PoetProofReceived)(nil), + (*IdentityStateInfo_GeneratingPostProof)(nil), + (*IdentityStateInfo_PostProofReady)(nil), + (*IdentityStateInfo_AtxReady)(nil), + (*IdentityStateInfo_AtxBroadcasted)(nil), + (*IdentityStateInfo_ProposalBuildFailed)(nil), + (*IdentityStateInfo_ProposalPublishFailed)(nil), + (*IdentityStateInfo_ProposalPublished)(nil), + (*IdentityStateInfo_Eligible)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_spacemesh_smesher_smeshing_identities_proto_rawDesc, + NumEnums: 1, + NumMessages: 26, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_spacemesh_smesher_smeshing_identities_proto_goTypes, + DependencyIndexes: file_spacemesh_smesher_smeshing_identities_proto_depIdxs, + EnumInfos: file_spacemesh_smesher_smeshing_identities_proto_enumTypes, + MessageInfos: file_spacemesh_smesher_smeshing_identities_proto_msgTypes, + }.Build() + File_spacemesh_smesher_smeshing_identities_proto = out.File + file_spacemesh_smesher_smeshing_identities_proto_rawDesc = nil + file_spacemesh_smesher_smeshing_identities_proto_goTypes = nil + file_spacemesh_smesher_smeshing_identities_proto_depIdxs = nil +} diff --git a/release/go/spacemesh/smesher/v2/smeshing_identities.pb.go b/release/go/spacemesh/smesher/v2/smeshing_identities.pb.go new file mode 100644 index 00000000..7e01e9cc --- /dev/null +++ b/release/go/spacemesh/smesher/v2/smeshing_identities.pb.go @@ -0,0 +1,2267 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc (unknown) +// source: spacemesh/smesher/v2/smeshing_identities.proto + +package smesherv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + _ "google.golang.org/protobuf/types/known/emptypb" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type IdentityState int32 + +const ( + IdentityState_UNSPECIFIED IdentityState = 0 + IdentityState_WAIT_FOR_ATX_SYNCED IdentityState = 1 + IdentityState_RETRYING IdentityState = 2 + IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 3 + IdentityState_POET_CHALLENGE_READY IdentityState = 4 + IdentityState_POET_REGISTERED IdentityState = 5 + IdentityState_WAIT_FOR_POET_ROUND_END IdentityState = 6 + IdentityState_POET_PROOF_RECEIVED IdentityState = 7 + IdentityState_GENERATING_POST_PROOF IdentityState = 8 + IdentityState_POST_PROOF_READY IdentityState = 9 + IdentityState_ATX_READY IdentityState = 10 + IdentityState_ATX_BROADCASTED IdentityState = 11 + IdentityState_PROPOSAL_BUILD_FAILED IdentityState = 12 + IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 13 + IdentityState_PROPOSAL_PUBLISHED IdentityState = 14 + IdentityState_ELIGIBLE IdentityState = 15 +) + +// Enum value maps for IdentityState. +var ( + IdentityState_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "WAIT_FOR_ATX_SYNCED", + 2: "RETRYING", + 3: "WAITING_FOR_POET_REGISTRATION_WINDOW", + 4: "POET_CHALLENGE_READY", + 5: "POET_REGISTERED", + 6: "WAIT_FOR_POET_ROUND_END", + 7: "POET_PROOF_RECEIVED", + 8: "GENERATING_POST_PROOF", + 9: "POST_PROOF_READY", + 10: "ATX_READY", + 11: "ATX_BROADCASTED", + 12: "PROPOSAL_BUILD_FAILED", + 13: "PROPOSAL_PUBLISH_FAILED", + 14: "PROPOSAL_PUBLISHED", + 15: "ELIGIBLE", + } + IdentityState_value = map[string]int32{ + "UNSPECIFIED": 0, + "WAIT_FOR_ATX_SYNCED": 1, + "RETRYING": 2, + "WAITING_FOR_POET_REGISTRATION_WINDOW": 3, + "POET_CHALLENGE_READY": 4, + "POET_REGISTERED": 5, + "WAIT_FOR_POET_ROUND_END": 6, + "POET_PROOF_RECEIVED": 7, + "GENERATING_POST_PROOF": 8, + "POST_PROOF_READY": 9, + "ATX_READY": 10, + "ATX_BROADCASTED": 11, + "PROPOSAL_BUILD_FAILED": 12, + "PROPOSAL_PUBLISH_FAILED": 13, + "PROPOSAL_PUBLISHED": 14, + "ELIGIBLE": 15, + } +) + +func (x IdentityState) Enum() *IdentityState { + p := new(IdentityState) + *p = x + return p +} + +func (x IdentityState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (IdentityState) Descriptor() protoreflect.EnumDescriptor { + return file_spacemesh_smesher_v2_smeshing_identities_proto_enumTypes[0].Descriptor() +} + +func (IdentityState) Type() protoreflect.EnumType { + return &file_spacemesh_smesher_v2_smeshing_identities_proto_enumTypes[0] +} + +func (x IdentityState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use IdentityState.Descriptor instead. +func (IdentityState) EnumDescriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +type RetryingState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *RetryingState) Reset() { + *x = RetryingState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RetryingState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RetryingState) ProtoMessage() {} + +func (x *RetryingState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RetryingState.ProtoReflect.Descriptor instead. +func (*RetryingState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{0} +} + +func (x *RetryingState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +type WaitForAtxSyncedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitForAtxSyncedState) Reset() { + *x = WaitForAtxSyncedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForAtxSyncedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForAtxSyncedState) ProtoMessage() {} + +func (x *WaitForAtxSyncedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForAtxSyncedState.ProtoReflect.Descriptor instead. +func (*WaitForAtxSyncedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{1} +} + +type WaitingForPoetRegistrationWindowState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WaitingForPoetRegistrationWindowState) Reset() { + *x = WaitingForPoetRegistrationWindowState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitingForPoetRegistrationWindowState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitingForPoetRegistrationWindowState) ProtoMessage() {} + +func (x *WaitingForPoetRegistrationWindowState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitingForPoetRegistrationWindowState.ProtoReflect.Descriptor instead. +func (*WaitingForPoetRegistrationWindowState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{2} +} + +type PoetChallengeReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PoetChallengeReadyState) Reset() { + *x = PoetChallengeReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetChallengeReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetChallengeReadyState) ProtoMessage() {} + +func (x *PoetChallengeReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetChallengeReadyState.ProtoReflect.Descriptor instead. +func (*PoetChallengeReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{3} +} + +type PoETRegistration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChallengeHash []byte `protobuf:"bytes,1,opt,name=challenge_hash,json=challengeHash,proto3" json:"challenge_hash,omitempty"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` + RoundId string `protobuf:"bytes,3,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` +} + +func (x *PoETRegistration) Reset() { + *x = PoETRegistration{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoETRegistration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoETRegistration) ProtoMessage() {} + +func (x *PoETRegistration) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoETRegistration.ProtoReflect.Descriptor instead. +func (*PoETRegistration) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{4} +} + +func (x *PoETRegistration) GetChallengeHash() []byte { + if x != nil { + return x.ChallengeHash + } + return nil +} + +func (x *PoETRegistration) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *PoETRegistration) GetRoundId() string { + if x != nil { + return x.RoundId + } + return "" +} + +func (x *PoETRegistration) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +type PoetRegisteredState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Registrations []*PoETRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` +} + +func (x *PoetRegisteredState) Reset() { + *x = PoetRegisteredState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetRegisteredState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetRegisteredState) ProtoMessage() {} + +func (x *PoetRegisteredState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetRegisteredState.ProtoReflect.Descriptor instead. +func (*PoetRegisteredState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{5} +} + +func (x *PoetRegisteredState) GetRegistrations() []*PoETRegistration { + if x != nil { + return x.Registrations + } + return nil +} + +type WaitForPoetRoundEndState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RoundEnd *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` + PublishEpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=publish_epoch_end,json=publishEpochEnd,proto3" json:"publish_epoch_end,omitempty"` +} + +func (x *WaitForPoetRoundEndState) Reset() { + *x = WaitForPoetRoundEndState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WaitForPoetRoundEndState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WaitForPoetRoundEndState) ProtoMessage() {} + +func (x *WaitForPoetRoundEndState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WaitForPoetRoundEndState.ProtoReflect.Descriptor instead. +func (*WaitForPoetRoundEndState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{6} +} + +func (x *WaitForPoetRoundEndState) GetRoundEnd() *timestamppb.Timestamp { + if x != nil { + return x.RoundEnd + } + return nil +} + +func (x *WaitForPoetRoundEndState) GetPublishEpochEnd() *timestamppb.Timestamp { + if x != nil { + return x.PublishEpochEnd + } + return nil +} + +type PoetProofReceivedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PoetUrl string `protobuf:"bytes,1,opt,name=poet_url,json=poetUrl,proto3" json:"poet_url,omitempty"` +} + +func (x *PoetProofReceivedState) Reset() { + *x = PoetProofReceivedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetProofReceivedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetProofReceivedState) ProtoMessage() {} + +func (x *PoetProofReceivedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetProofReceivedState.ProtoReflect.Descriptor instead. +func (*PoetProofReceivedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{7} +} + +func (x *PoetProofReceivedState) GetPoetUrl() string { + if x != nil { + return x.PoetUrl + } + return "" +} + +type GeneratingPostProofState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GeneratingPostProofState) Reset() { + *x = GeneratingPostProofState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GeneratingPostProofState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GeneratingPostProofState) ProtoMessage() {} + +func (x *GeneratingPostProofState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GeneratingPostProofState.ProtoReflect.Descriptor instead. +func (*GeneratingPostProofState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{8} +} + +type PostProofReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PostProofReadyState) Reset() { + *x = PostProofReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostProofReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostProofReadyState) ProtoMessage() {} + +func (x *PostProofReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostProofReadyState.ProtoReflect.Descriptor instead. +func (*PostProofReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{9} +} + +type AtxReadyState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AtxReadyState) Reset() { + *x = AtxReadyState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxReadyState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxReadyState) ProtoMessage() {} + +func (x *AtxReadyState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxReadyState.ProtoReflect.Descriptor instead. +func (*AtxReadyState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{10} +} + +type AtxBroadcastedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AtxId []byte `protobuf:"bytes,1,opt,name=atx_id,json=atxId,proto3" json:"atx_id,omitempty"` +} + +func (x *AtxBroadcastedState) Reset() { + *x = AtxBroadcastedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AtxBroadcastedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AtxBroadcastedState) ProtoMessage() {} + +func (x *AtxBroadcastedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AtxBroadcastedState.ProtoReflect.Descriptor instead. +func (*AtxBroadcastedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{11} +} + +func (x *AtxBroadcastedState) GetAtxId() []byte { + if x != nil { + return x.AtxId + } + return nil +} + +type ProposalBuildFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalBuildFailedState) Reset() { + *x = ProposalBuildFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalBuildFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalBuildFailedState) ProtoMessage() {} + +func (x *ProposalBuildFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalBuildFailedState.ProtoReflect.Descriptor instead. +func (*ProposalBuildFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{12} +} + +func (x *ProposalBuildFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalBuildFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type ProposalPublishFailedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,3,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishFailedState) Reset() { + *x = ProposalPublishFailedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishFailedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishFailedState) ProtoMessage() {} + +func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishFailedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishFailedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{13} +} + +func (x *ProposalPublishFailedState) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ProposalPublishFailedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishFailedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type ProposalPublishedState struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposal []byte `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` + Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` +} + +func (x *ProposalPublishedState) Reset() { + *x = ProposalPublishedState{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalPublishedState) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalPublishedState) ProtoMessage() {} + +func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. +func (*ProposalPublishedState) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{14} +} + +func (x *ProposalPublishedState) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +func (x *ProposalPublishedState) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +type Eligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *Eligibility) Reset() { + *x = Eligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibility) ProtoMessage() {} + +func (x *Eligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibility.ProtoReflect.Descriptor instead. +func (*Eligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{15} +} + +func (x *Eligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Eligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +type Eligible struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layers []*Eligibility `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` +} + +func (x *Eligible) Reset() { + *x = Eligible{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligible) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligible) ProtoMessage() {} + +func (x *Eligible) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligible.ProtoReflect.Descriptor instead. +func (*Eligible) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{16} +} + +func (x *Eligible) GetLayers() []*Eligibility { + if x != nil { + return x.Layers + } + return nil +} + +type IdentityStateInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.smesher.v2.IdentityState" json:"state,omitempty"` + PublishEpoch *uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3,oneof" json:"publish_epoch,omitempty"` + Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` + // Types that are assignable to Metadata: + // + // *IdentityStateInfo_Retrying + // *IdentityStateInfo_WaitForAtxSynced + // *IdentityStateInfo_WaitingForPoetRegistrationWindow + // *IdentityStateInfo_PoetChallengeReady + // *IdentityStateInfo_PoetRegistered + // *IdentityStateInfo_WaitForPoetRoundEnd + // *IdentityStateInfo_PoetProofReceived + // *IdentityStateInfo_GeneratingPostProof + // *IdentityStateInfo_PostProofReady + // *IdentityStateInfo_AtxReady + // *IdentityStateInfo_AtxBroadcasted + // *IdentityStateInfo_ProposalBuildFailed + // *IdentityStateInfo_ProposalPublishFailed + // *IdentityStateInfo_ProposalPublished + // *IdentityStateInfo_Eligible + Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` +} + +func (x *IdentityStateInfo) Reset() { + *x = IdentityStateInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IdentityStateInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IdentityStateInfo) ProtoMessage() {} + +func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. +func (*IdentityStateInfo) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{17} +} + +func (x *IdentityStateInfo) GetState() IdentityState { + if x != nil { + return x.State + } + return IdentityState_UNSPECIFIED +} + +func (x *IdentityStateInfo) GetPublishEpoch() uint32 { + if x != nil && x.PublishEpoch != nil { + return *x.PublishEpoch + } + return 0 +} + +func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { + if x != nil { + return x.Time + } + return nil +} + +func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { + if m != nil { + return m.Metadata + } + return nil +} + +func (x *IdentityStateInfo) GetRetrying() *RetryingState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Retrying); ok { + return x.Retrying + } + return nil +} + +func (x *IdentityStateInfo) GetWaitForAtxSynced() *WaitForAtxSyncedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForAtxSynced); ok { + return x.WaitForAtxSynced + } + return nil +} + +func (x *IdentityStateInfo) GetWaitingForPoetRegistrationWindow() *WaitingForPoetRegistrationWindowState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitingForPoetRegistrationWindow); ok { + return x.WaitingForPoetRegistrationWindow + } + return nil +} + +func (x *IdentityStateInfo) GetPoetChallengeReady() *PoetChallengeReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetChallengeReady); ok { + return x.PoetChallengeReady + } + return nil +} + +func (x *IdentityStateInfo) GetPoetRegistered() *PoetRegisteredState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetRegistered); ok { + return x.PoetRegistered + } + return nil +} + +func (x *IdentityStateInfo) GetWaitForPoetRoundEnd() *WaitForPoetRoundEndState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForPoetRoundEnd); ok { + return x.WaitForPoetRoundEnd + } + return nil +} + +func (x *IdentityStateInfo) GetPoetProofReceived() *PoetProofReceivedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetProofReceived); ok { + return x.PoetProofReceived + } + return nil +} + +func (x *IdentityStateInfo) GetGeneratingPostProof() *GeneratingPostProofState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_GeneratingPostProof); ok { + return x.GeneratingPostProof + } + return nil +} + +func (x *IdentityStateInfo) GetPostProofReady() *PostProofReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_PostProofReady); ok { + return x.PostProofReady + } + return nil +} + +func (x *IdentityStateInfo) GetAtxReady() *AtxReadyState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxReady); ok { + return x.AtxReady + } + return nil +} + +func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxBroadcasted); ok { + return x.AtxBroadcasted + } + return nil +} + +func (x *IdentityStateInfo) GetProposalBuildFailed() *ProposalBuildFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalBuildFailed); ok { + return x.ProposalBuildFailed + } + return nil +} + +func (x *IdentityStateInfo) GetProposalPublishFailed() *ProposalPublishFailedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublishFailed); ok { + return x.ProposalPublishFailed + } + return nil +} + +func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { + if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublished); ok { + return x.ProposalPublished + } + return nil +} + +func (x *IdentityStateInfo) GetEligible() *Eligible { + if x, ok := x.GetMetadata().(*IdentityStateInfo_Eligible); ok { + return x.Eligible + } + return nil +} + +type isIdentityStateInfo_Metadata interface { + isIdentityStateInfo_Metadata() +} + +type IdentityStateInfo_Retrying struct { + Retrying *RetryingState `protobuf:"bytes,4,opt,name=retrying,proto3,oneof"` +} + +type IdentityStateInfo_WaitForAtxSynced struct { + WaitForAtxSynced *WaitForAtxSyncedState `protobuf:"bytes,5,opt,name=wait_for_atx_synced,json=waitForAtxSynced,proto3,oneof"` +} + +type IdentityStateInfo_WaitingForPoetRegistrationWindow struct { + WaitingForPoetRegistrationWindow *WaitingForPoetRegistrationWindowState `protobuf:"bytes,6,opt,name=waiting_for_poet_registration_window,json=waitingForPoetRegistrationWindow,proto3,oneof"` +} + +type IdentityStateInfo_PoetChallengeReady struct { + PoetChallengeReady *PoetChallengeReadyState `protobuf:"bytes,7,opt,name=poet_challenge_ready,json=poetChallengeReady,proto3,oneof"` +} + +type IdentityStateInfo_PoetRegistered struct { + PoetRegistered *PoetRegisteredState `protobuf:"bytes,8,opt,name=poet_registered,json=poetRegistered,proto3,oneof"` +} + +type IdentityStateInfo_WaitForPoetRoundEnd struct { + WaitForPoetRoundEnd *WaitForPoetRoundEndState `protobuf:"bytes,9,opt,name=wait_for_poet_round_end,json=waitForPoetRoundEnd,proto3,oneof"` +} + +type IdentityStateInfo_PoetProofReceived struct { + PoetProofReceived *PoetProofReceivedState `protobuf:"bytes,10,opt,name=poet_proof_received,json=poetProofReceived,proto3,oneof"` +} + +type IdentityStateInfo_GeneratingPostProof struct { + GeneratingPostProof *GeneratingPostProofState `protobuf:"bytes,11,opt,name=generating_post_proof,json=generatingPostProof,proto3,oneof"` +} + +type IdentityStateInfo_PostProofReady struct { + PostProofReady *PostProofReadyState `protobuf:"bytes,12,opt,name=post_proof_ready,json=postProofReady,proto3,oneof"` +} + +type IdentityStateInfo_AtxReady struct { + AtxReady *AtxReadyState `protobuf:"bytes,13,opt,name=atx_ready,json=atxReady,proto3,oneof"` +} + +type IdentityStateInfo_AtxBroadcasted struct { + AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` +} + +type IdentityStateInfo_ProposalBuildFailed struct { + ProposalBuildFailed *ProposalBuildFailedState `protobuf:"bytes,15,opt,name=proposal_build_failed,json=proposalBuildFailed,proto3,oneof"` +} + +type IdentityStateInfo_ProposalPublishFailed struct { + ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,16,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` +} + +type IdentityStateInfo_ProposalPublished struct { + ProposalPublished *ProposalPublishedState `protobuf:"bytes,17,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` +} + +type IdentityStateInfo_Eligible struct { + Eligible *Eligible `protobuf:"bytes,18,opt,name=eligible,proto3,oneof"` +} + +func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForAtxSynced) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitingForPoetRegistrationWindow) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetChallengeReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetRegistered) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_WaitForPoetRoundEnd) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PoetProofReceived) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_GeneratingPostProof) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_PostProofReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalBuildFailed) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} + +func (*IdentityStateInfo_Eligible) isIdentityStateInfo_Metadata() {} + +type Identity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + History []*IdentityStateInfo `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` +} + +func (x *Identity) Reset() { + *x = Identity{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Identity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Identity) ProtoMessage() {} + +func (x *Identity) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Identity.ProtoReflect.Descriptor instead. +func (*Identity) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{18} +} + +func (x *Identity) GetHistory() []*IdentityStateInfo { + if x != nil { + return x.History + } + return nil +} + +type PoetConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + PhaseShift *durationpb.Duration `protobuf:"bytes,1,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` + CycleGap *durationpb.Duration `protobuf:"bytes,2,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` +} + +func (x *PoetConfig) Reset() { + *x = PoetConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PoetConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PoetConfig) ProtoMessage() {} + +func (x *PoetConfig) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. +func (*PoetConfig) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{19} +} + +func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { + if x != nil { + return x.PhaseShift + } + return nil +} + +func (x *PoetConfig) GetCycleGap() *durationpb.Duration { + if x != nil { + return x.CycleGap + } + return nil +} + +// Proposals and eligibilities +type Eligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` +} + +func (x *Eligibilities) Reset() { + *x = Eligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Eligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Eligibilities) ProtoMessage() {} + +func (x *Eligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. +func (*Eligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{20} +} + +func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { + if x != nil { + return x.Eligibilities + } + return nil +} + +type ProposalEligibility struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *ProposalEligibility) Reset() { + *x = ProposalEligibility{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposalEligibility) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposalEligibility) ProtoMessage() {} + +func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. +func (*ProposalEligibility) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{21} +} + +func (x *ProposalEligibility) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *ProposalEligibility) GetCount() uint32 { + if x != nil { + return x.Count + } + return 0 +} + +type EpochEligibilities struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Epochs map[uint32]*Eligibilities `protobuf:"bytes,1,rep,name=epochs,proto3" json:"epochs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *EpochEligibilities) Reset() { + *x = EpochEligibilities{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EpochEligibilities) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EpochEligibilities) ProtoMessage() {} + +func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. +func (*EpochEligibilities) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{22} +} + +func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { + if x != nil { + return x.Epochs + } + return nil +} + +type Proposal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` + Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` +} + +func (x *Proposal) Reset() { + *x = Proposal{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposal) ProtoMessage() {} + +func (x *Proposal) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposal.ProtoReflect.Descriptor instead. +func (*Proposal) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{23} +} + +func (x *Proposal) GetLayer() uint32 { + if x != nil { + return x.Layer + } + return 0 +} + +func (x *Proposal) GetProposal() []byte { + if x != nil { + return x.Proposal + } + return nil +} + +type Proposals struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` +} + +func (x *Proposals) Reset() { + *x = Proposals{} + if protoimpl.UnsafeEnabled { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Proposals) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Proposals) ProtoMessage() {} + +func (x *Proposals) ProtoReflect() protoreflect.Message { + mi := &file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Proposals.ProtoReflect.Descriptor instead. +func (*Proposals) Descriptor() ([]byte, []int) { + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP(), []int{24} +} + +func (x *Proposals) GetProposals() []*Proposal { + if x != nil { + return x.Proposals + } + return nil +} + +var File_spacemesh_smesher_v2_smeshing_identities_proto protoreflect.FileDescriptor + +var file_spacemesh_smesher_v2_smeshing_identities_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x14, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, + 0x17, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, + 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x27, 0x0a, 0x25, 0x57, 0x61, 0x69, 0x74, + 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x19, 0x0a, 0x17, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa7, 0x01, 0x0a, + 0x10, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6c, 0x6c, + 0x65, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x37, 0x0a, + 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, + 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x22, 0x63, 0x0a, 0x13, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, + 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x45, 0x54, + 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x72, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x18, + 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, + 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, + 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, + 0x64, 0x12, 0x46, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, + 0x63, 0x68, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, + 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x50, 0x6f, 0x65, + 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x1a, + 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x50, 0x6f, + 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, + 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x74, 0x78, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, 0x49, 0x64, + 0x22, 0x4a, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, + 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x68, 0x0a, 0x1a, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x22, 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x45, 0x0a, + 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x73, 0x22, 0xbe, 0x0c, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x39, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, + 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, + 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, + 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, + 0x41, 0x0a, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, + 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, + 0x6e, 0x67, 0x12, 0x5c, 0x0a, 0x13, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, + 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, + 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, + 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x12, 0x8d, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, + 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, + 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x20, + 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, + 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, + 0x12, 0x61, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, + 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, + 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, + 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, + 0x61, 0x64, 0x79, 0x12, 0x54, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x66, 0x0a, 0x17, 0x77, 0x61, 0x69, + 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, + 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, + 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, + 0x64, 0x12, 0x5e, 0x0a, 0x13, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, + 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, + 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x64, 0x12, 0x64, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, + 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, + 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, + 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x55, 0x0a, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x5f, + 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, + 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, + 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, 0x42, + 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, + 0x64, 0x79, 0x12, 0x54, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, + 0x61, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x2e, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, + 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, + 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, + 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x70, 0x6f, + 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x6a, + 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, + 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x12, 0x70, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, + 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x08, 0x65, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, + 0x65, 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4d, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x12, 0x41, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, + 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x69, + 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, 0x74, 0x12, + 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x63, + 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x60, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0d, 0x65, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, + 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, + 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc2, 0x01, 0x0a, + 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, + 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, + 0x73, 0x1a, 0x5e, 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, + 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, + 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, + 0x49, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x3c, 0x0a, 0x09, + 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, + 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x2a, 0x89, 0x03, 0x0a, 0x0d, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, + 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, 0x53, 0x59, + 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, 0x59, 0x49, + 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, + 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x52, + 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x18, + 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, 0x47, 0x45, + 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x45, 0x54, + 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, + 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, + 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4f, + 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, 0x56, 0x45, + 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, + 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, 0x12, 0x14, + 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x41, + 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, 0x41, 0x44, + 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, 0x41, 0x44, + 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x50, + 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, + 0x44, 0x10, 0x0c, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, + 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x0d, + 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, 0x55, 0x42, + 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, 0x49, 0x47, + 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0f, 0x42, 0xeb, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x2e, 0x76, 0x32, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x3b, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x53, 0x53, 0x58, 0xaa, 0x02, 0x14, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x56, + 0x32, 0xca, 0x02, 0x14, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x53, 0x6d, + 0x65, 0x73, 0x68, 0x65, 0x72, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x20, 0x53, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x5c, 0x56, 0x32, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x16, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, + 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescOnce sync.Once + file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescData = file_spacemesh_smesher_v2_smeshing_identities_proto_rawDesc +) + +func file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescGZIP() []byte { + file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescOnce.Do(func() { + file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescData) + }) + return file_spacemesh_smesher_v2_smeshing_identities_proto_rawDescData +} + +var file_spacemesh_smesher_v2_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_spacemesh_smesher_v2_smeshing_identities_proto_goTypes = []interface{}{ + (IdentityState)(0), // 0: spacemesh.smesher.v2.IdentityState + (*RetryingState)(nil), // 1: spacemesh.smesher.v2.RetryingState + (*WaitForAtxSyncedState)(nil), // 2: spacemesh.smesher.v2.WaitForAtxSyncedState + (*WaitingForPoetRegistrationWindowState)(nil), // 3: spacemesh.smesher.v2.WaitingForPoetRegistrationWindowState + (*PoetChallengeReadyState)(nil), // 4: spacemesh.smesher.v2.PoetChallengeReadyState + (*PoETRegistration)(nil), // 5: spacemesh.smesher.v2.PoETRegistration + (*PoetRegisteredState)(nil), // 6: spacemesh.smesher.v2.PoetRegisteredState + (*WaitForPoetRoundEndState)(nil), // 7: spacemesh.smesher.v2.WaitForPoetRoundEndState + (*PoetProofReceivedState)(nil), // 8: spacemesh.smesher.v2.PoetProofReceivedState + (*GeneratingPostProofState)(nil), // 9: spacemesh.smesher.v2.GeneratingPostProofState + (*PostProofReadyState)(nil), // 10: spacemesh.smesher.v2.PostProofReadyState + (*AtxReadyState)(nil), // 11: spacemesh.smesher.v2.AtxReadyState + (*AtxBroadcastedState)(nil), // 12: spacemesh.smesher.v2.AtxBroadcastedState + (*ProposalBuildFailedState)(nil), // 13: spacemesh.smesher.v2.ProposalBuildFailedState + (*ProposalPublishFailedState)(nil), // 14: spacemesh.smesher.v2.ProposalPublishFailedState + (*ProposalPublishedState)(nil), // 15: spacemesh.smesher.v2.ProposalPublishedState + (*Eligibility)(nil), // 16: spacemesh.smesher.v2.Eligibility + (*Eligible)(nil), // 17: spacemesh.smesher.v2.Eligible + (*IdentityStateInfo)(nil), // 18: spacemesh.smesher.v2.IdentityStateInfo + (*Identity)(nil), // 19: spacemesh.smesher.v2.Identity + (*PoetConfig)(nil), // 20: spacemesh.smesher.v2.PoetConfig + (*Eligibilities)(nil), // 21: spacemesh.smesher.v2.Eligibilities + (*ProposalEligibility)(nil), // 22: spacemesh.smesher.v2.ProposalEligibility + (*EpochEligibilities)(nil), // 23: spacemesh.smesher.v2.EpochEligibilities + (*Proposal)(nil), // 24: spacemesh.smesher.v2.Proposal + (*Proposals)(nil), // 25: spacemesh.smesher.v2.Proposals + nil, // 26: spacemesh.smesher.v2.EpochEligibilities.EpochsEntry + (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 28: google.protobuf.Duration +} +var file_spacemesh_smesher_v2_smeshing_identities_proto_depIdxs = []int32{ + 27, // 0: spacemesh.smesher.v2.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp + 5, // 1: spacemesh.smesher.v2.PoetRegisteredState.registrations:type_name -> spacemesh.smesher.v2.PoETRegistration + 27, // 2: spacemesh.smesher.v2.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp + 27, // 3: spacemesh.smesher.v2.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp + 16, // 4: spacemesh.smesher.v2.Eligible.layers:type_name -> spacemesh.smesher.v2.Eligibility + 0, // 5: spacemesh.smesher.v2.IdentityStateInfo.state:type_name -> spacemesh.smesher.v2.IdentityState + 27, // 6: spacemesh.smesher.v2.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp + 1, // 7: spacemesh.smesher.v2.IdentityStateInfo.retrying:type_name -> spacemesh.smesher.v2.RetryingState + 2, // 8: spacemesh.smesher.v2.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.smesher.v2.WaitForAtxSyncedState + 3, // 9: spacemesh.smesher.v2.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.smesher.v2.WaitingForPoetRegistrationWindowState + 4, // 10: spacemesh.smesher.v2.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.smesher.v2.PoetChallengeReadyState + 6, // 11: spacemesh.smesher.v2.IdentityStateInfo.poet_registered:type_name -> spacemesh.smesher.v2.PoetRegisteredState + 7, // 12: spacemesh.smesher.v2.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.smesher.v2.WaitForPoetRoundEndState + 8, // 13: spacemesh.smesher.v2.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.smesher.v2.PoetProofReceivedState + 9, // 14: spacemesh.smesher.v2.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.smesher.v2.GeneratingPostProofState + 10, // 15: spacemesh.smesher.v2.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.smesher.v2.PostProofReadyState + 11, // 16: spacemesh.smesher.v2.IdentityStateInfo.atx_ready:type_name -> spacemesh.smesher.v2.AtxReadyState + 12, // 17: spacemesh.smesher.v2.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.smesher.v2.AtxBroadcastedState + 13, // 18: spacemesh.smesher.v2.IdentityStateInfo.proposal_build_failed:type_name -> spacemesh.smesher.v2.ProposalBuildFailedState + 14, // 19: spacemesh.smesher.v2.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.smesher.v2.ProposalPublishFailedState + 15, // 20: spacemesh.smesher.v2.IdentityStateInfo.proposal_published:type_name -> spacemesh.smesher.v2.ProposalPublishedState + 17, // 21: spacemesh.smesher.v2.IdentityStateInfo.eligible:type_name -> spacemesh.smesher.v2.Eligible + 18, // 22: spacemesh.smesher.v2.Identity.history:type_name -> spacemesh.smesher.v2.IdentityStateInfo + 28, // 23: spacemesh.smesher.v2.PoetConfig.phase_shift:type_name -> google.protobuf.Duration + 28, // 24: spacemesh.smesher.v2.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration + 22, // 25: spacemesh.smesher.v2.Eligibilities.eligibilities:type_name -> spacemesh.smesher.v2.ProposalEligibility + 26, // 26: spacemesh.smesher.v2.EpochEligibilities.epochs:type_name -> spacemesh.smesher.v2.EpochEligibilities.EpochsEntry + 24, // 27: spacemesh.smesher.v2.Proposals.proposals:type_name -> spacemesh.smesher.v2.Proposal + 21, // 28: spacemesh.smesher.v2.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.smesher.v2.Eligibilities + 29, // [29:29] is the sub-list for method output_type + 29, // [29:29] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} + +func init() { file_spacemesh_smesher_v2_smeshing_identities_proto_init() } +func file_spacemesh_smesher_v2_smeshing_identities_proto_init() { + if File_spacemesh_smesher_v2_smeshing_identities_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RetryingState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitForAtxSyncedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitingForPoetRegistrationWindowState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetChallengeReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoETRegistration); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetRegisteredState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WaitForPoetRoundEndState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetProofReceivedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GeneratingPostProofState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostProofReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AtxReadyState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AtxBroadcastedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalBuildFailedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalPublishFailedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalPublishedState); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligible); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityStateInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Identity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PoetConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Eligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposalEligibility); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EpochEligibilities); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Proposals); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes[17].OneofWrappers = []interface{}{ + (*IdentityStateInfo_Retrying)(nil), + (*IdentityStateInfo_WaitForAtxSynced)(nil), + (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), + (*IdentityStateInfo_PoetChallengeReady)(nil), + (*IdentityStateInfo_PoetRegistered)(nil), + (*IdentityStateInfo_WaitForPoetRoundEnd)(nil), + (*IdentityStateInfo_PoetProofReceived)(nil), + (*IdentityStateInfo_GeneratingPostProof)(nil), + (*IdentityStateInfo_PostProofReady)(nil), + (*IdentityStateInfo_AtxReady)(nil), + (*IdentityStateInfo_AtxBroadcasted)(nil), + (*IdentityStateInfo_ProposalBuildFailed)(nil), + (*IdentityStateInfo_ProposalPublishFailed)(nil), + (*IdentityStateInfo_ProposalPublished)(nil), + (*IdentityStateInfo_Eligible)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_spacemesh_smesher_v2_smeshing_identities_proto_rawDesc, + NumEnums: 1, + NumMessages: 26, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_spacemesh_smesher_v2_smeshing_identities_proto_goTypes, + DependencyIndexes: file_spacemesh_smesher_v2_smeshing_identities_proto_depIdxs, + EnumInfos: file_spacemesh_smesher_v2_smeshing_identities_proto_enumTypes, + MessageInfos: file_spacemesh_smesher_v2_smeshing_identities_proto_msgTypes, + }.Build() + File_spacemesh_smesher_v2_smeshing_identities_proto = out.File + file_spacemesh_smesher_v2_smeshing_identities_proto_rawDesc = nil + file_spacemesh_smesher_v2_smeshing_identities_proto_goTypes = nil + file_spacemesh_smesher_v2_smeshing_identities_proto_depIdxs = nil +} diff --git a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go index e6ec63ef..23c77f54 100644 --- a/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2alpha1/smeshing_identities.pb.go @@ -7,7 +7,7 @@ package spacemeshv2alpha1 import ( - v2beta1 "github.com/spacemeshos/api/release/go/spacemesh/v2beta1" + v2 "github.com/spacemeshos/api/release/go/spacemesh/smesher/v2" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/api/visibility" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -31,9 +31,9 @@ type IdentityStatesRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - States []v2beta1.IdentityState `protobuf:"varint,1,rep,packed,name=states,proto3,enum=spacemesh.v2beta1.IdentityState" json:"states,omitempty"` // list of identity states to filter by - Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // adjusts the starting point for data - Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // specifies max number of items to fetch + States []v2.IdentityState `protobuf:"varint,1,rep,packed,name=states,proto3,enum=spacemesh.smesher.v2.IdentityState" json:"states,omitempty"` // list of identity states to filter by + Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // adjusts the starting point for data + Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // specifies max number of items to fetch } func (x *IdentityStatesRequest) Reset() { @@ -68,7 +68,7 @@ func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -func (x *IdentityStatesRequest) GetStates() []v2beta1.IdentityState { +func (x *IdentityStatesRequest) GetStates() []v2.IdentityState { if x != nil { return x.States } @@ -94,7 +94,7 @@ type IdentityStatesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Identities map[string]*v2beta1.Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Identities map[string]*v2.Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *IdentityStatesResponse) Reset() { @@ -129,7 +129,7 @@ func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{1} } -func (x *IdentityStatesResponse) GetIdentities() map[string]*v2beta1.Identity { +func (x *IdentityStatesResponse) GetIdentities() map[string]*v2.Identity { if x != nil { return x.Identities } @@ -180,8 +180,8 @@ type PoetInfoResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Poets []string `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty"` - Config *v2beta1.PoetConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` + Poets []string `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty"` + Config *v2.PoetConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` } func (x *PoetInfoResponse) Reset() { @@ -223,13 +223,14 @@ func (x *PoetInfoResponse) GetPoets() []string { return nil } -func (x *PoetInfoResponse) GetConfig() *v2beta1.PoetConfig { +func (x *PoetInfoResponse) GetConfig() *v2.PoetConfig { if x != nil { return x.Config } return nil } +// Proposals and eligibilities type EligibilitiesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -273,7 +274,7 @@ type EligibilitiesResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Identities map[string]*v2beta1.EpochEligibilities `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Identities map[string]*v2.EpochEligibilities `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *EligibilitiesResponse) Reset() { @@ -308,7 +309,7 @@ func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{5} } -func (x *EligibilitiesResponse) GetIdentities() map[string]*v2beta1.EpochEligibilities { +func (x *EligibilitiesResponse) GetIdentities() map[string]*v2.EpochEligibilities { if x != nil { return x.Identities } @@ -358,7 +359,7 @@ type ProposalsResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Proposals map[string]*v2beta1.Proposals `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Proposals map[string]*v2.Proposals `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } func (x *ProposalsResponse) Reset() { @@ -393,7 +394,7 @@ func (*ProposalsResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP(), []int{7} } -func (x *ProposalsResponse) GetProposals() map[string]*v2beta1.Proposals { +func (x *ProposalsResponse) GetProposals() map[string]*v2.Proposals { if x != nil { return x.Proposals } @@ -416,109 +417,110 @@ var file_spacemesh_v2alpha1_smeshing_identities_proto_rawDesc = []byte{ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, - 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, - 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0e, 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, - 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, - 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xd0, 0x01, 0x0a, 0x16, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x1a, 0x5a, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, - 0x5f, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x64, 0x0a, - 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x76, + 0x32, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x15, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x22, 0xd3, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x0a, 0x69, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x3a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5d, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, + 0x76, 0x32, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, 0x0a, 0x10, 0x50, 0x6f, 0x65, + 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, + 0x65, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x16, 0x0a, + 0x14, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xdb, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x67, 0x0a, 0x0f, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, + 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc3, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x1a, 0x5a, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, + 0x73, 0x1a, 0x5d, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xa5, 0x03, - 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, 0x0a, 0x06, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x08, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x09, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x1a, 0x10, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x0a, 0x12, 0x08, 0x49, 0x4e, 0x54, - 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x32, 0xa5, 0x03, 0x0a, 0x19, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5f, + 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x55, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, - 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, 0xaa, 0x02, 0x12, - 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x0d, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, + 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x09, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x10, 0xfa, 0xd2, 0xe4, 0x93, 0x02, 0x0a, 0x12, 0x08, + 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x42, 0xe6, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, + 0xaa, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x1e, 0x53, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -535,32 +537,32 @@ func file_spacemesh_v2alpha1_smeshing_identities_proto_rawDescGZIP() []byte { var file_spacemesh_v2alpha1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_spacemesh_v2alpha1_smeshing_identities_proto_goTypes = []interface{}{ - (*IdentityStatesRequest)(nil), // 0: spacemesh.v2alpha1.IdentityStatesRequest - (*IdentityStatesResponse)(nil), // 1: spacemesh.v2alpha1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 2: spacemesh.v2alpha1.PoetInfoRequest - (*PoetInfoResponse)(nil), // 3: spacemesh.v2alpha1.PoetInfoResponse - (*EligibilitiesRequest)(nil), // 4: spacemesh.v2alpha1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 5: spacemesh.v2alpha1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 6: spacemesh.v2alpha1.ProposalsRequest - (*ProposalsResponse)(nil), // 7: spacemesh.v2alpha1.ProposalsResponse - nil, // 8: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - nil, // 9: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry - nil, // 10: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - (v2beta1.IdentityState)(0), // 11: spacemesh.v2beta1.IdentityState - (*v2beta1.PoetConfig)(nil), // 12: spacemesh.v2beta1.PoetConfig - (*v2beta1.Identity)(nil), // 13: spacemesh.v2beta1.Identity - (*v2beta1.EpochEligibilities)(nil), // 14: spacemesh.v2beta1.EpochEligibilities - (*v2beta1.Proposals)(nil), // 15: spacemesh.v2beta1.Proposals + (*IdentityStatesRequest)(nil), // 0: spacemesh.v2alpha1.IdentityStatesRequest + (*IdentityStatesResponse)(nil), // 1: spacemesh.v2alpha1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 2: spacemesh.v2alpha1.PoetInfoRequest + (*PoetInfoResponse)(nil), // 3: spacemesh.v2alpha1.PoetInfoResponse + (*EligibilitiesRequest)(nil), // 4: spacemesh.v2alpha1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 5: spacemesh.v2alpha1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 6: spacemesh.v2alpha1.ProposalsRequest + (*ProposalsResponse)(nil), // 7: spacemesh.v2alpha1.ProposalsResponse + nil, // 8: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry + nil, // 9: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry + nil, // 10: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry + (v2.IdentityState)(0), // 11: spacemesh.smesher.v2.IdentityState + (*v2.PoetConfig)(nil), // 12: spacemesh.smesher.v2.PoetConfig + (*v2.Identity)(nil), // 13: spacemesh.smesher.v2.Identity + (*v2.EpochEligibilities)(nil), // 14: spacemesh.smesher.v2.EpochEligibilities + (*v2.Proposals)(nil), // 15: spacemesh.smesher.v2.Proposals } var file_spacemesh_v2alpha1_smeshing_identities_proto_depIdxs = []int32{ - 11, // 0: spacemesh.v2alpha1.IdentityStatesRequest.states:type_name -> spacemesh.v2beta1.IdentityState + 11, // 0: spacemesh.v2alpha1.IdentityStatesRequest.states:type_name -> spacemesh.smesher.v2.IdentityState 8, // 1: spacemesh.v2alpha1.IdentityStatesResponse.identities:type_name -> spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry - 12, // 2: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.v2beta1.PoetConfig + 12, // 2: spacemesh.v2alpha1.PoetInfoResponse.config:type_name -> spacemesh.smesher.v2.PoetConfig 9, // 3: spacemesh.v2alpha1.EligibilitiesResponse.identities:type_name -> spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry 10, // 4: spacemesh.v2alpha1.ProposalsResponse.proposals:type_name -> spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry - 13, // 5: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2beta1.Identity - 14, // 6: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2beta1.EpochEligibilities - 15, // 7: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2beta1.Proposals + 13, // 5: spacemesh.v2alpha1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.smesher.v2.Identity + 14, // 6: spacemesh.v2alpha1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.smesher.v2.EpochEligibilities + 15, // 7: spacemesh.v2alpha1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.smesher.v2.Proposals 0, // 8: spacemesh.v2alpha1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2alpha1.IdentityStatesRequest 2, // 9: spacemesh.v2alpha1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2alpha1.PoetInfoRequest 4, // 10: spacemesh.v2alpha1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2alpha1.EligibilitiesRequest diff --git a/release/go/spacemesh/v2beta1/smeshing_identities.pb.go b/release/go/spacemesh/v2beta1/smeshing_identities.pb.go index 48d6e2cc..de33fa9a 100644 --- a/release/go/spacemesh/v2beta1/smeshing_identities.pb.go +++ b/release/go/spacemesh/v2beta1/smeshing_identities.pb.go @@ -7,13 +7,14 @@ package spacemeshv2beta1 import ( + v2 "github.com/spacemeshos/api/release/go/spacemesh/smesher/v2" _ "google.golang.org/genproto/googleapis/api/annotations" _ "google.golang.org/genproto/googleapis/api/visibility" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" + _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/emptypb" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" + _ "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) @@ -25,104 +26,18 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type IdentityState int32 - -const ( - IdentityState_UNSPECIFIED IdentityState = 0 - IdentityState_WAIT_FOR_ATX_SYNCED IdentityState = 1 - IdentityState_RETRYING IdentityState = 2 - IdentityState_WAITING_FOR_POET_REGISTRATION_WINDOW IdentityState = 3 - IdentityState_POET_CHALLENGE_READY IdentityState = 4 - IdentityState_POET_REGISTERED IdentityState = 5 - IdentityState_WAIT_FOR_POET_ROUND_END IdentityState = 6 - IdentityState_POET_PROOF_RECEIVED IdentityState = 7 - IdentityState_GENERATING_POST_PROOF IdentityState = 8 - IdentityState_POST_PROOF_READY IdentityState = 9 - IdentityState_ATX_READY IdentityState = 10 - IdentityState_ATX_BROADCASTED IdentityState = 11 - IdentityState_PROPOSAL_BUILD_FAILED IdentityState = 12 - IdentityState_PROPOSAL_PUBLISH_FAILED IdentityState = 13 - IdentityState_PROPOSAL_PUBLISHED IdentityState = 14 - IdentityState_ELIGIBLE IdentityState = 15 -) - -// Enum value maps for IdentityState. -var ( - IdentityState_name = map[int32]string{ - 0: "UNSPECIFIED", - 1: "WAIT_FOR_ATX_SYNCED", - 2: "RETRYING", - 3: "WAITING_FOR_POET_REGISTRATION_WINDOW", - 4: "POET_CHALLENGE_READY", - 5: "POET_REGISTERED", - 6: "WAIT_FOR_POET_ROUND_END", - 7: "POET_PROOF_RECEIVED", - 8: "GENERATING_POST_PROOF", - 9: "POST_PROOF_READY", - 10: "ATX_READY", - 11: "ATX_BROADCASTED", - 12: "PROPOSAL_BUILD_FAILED", - 13: "PROPOSAL_PUBLISH_FAILED", - 14: "PROPOSAL_PUBLISHED", - 15: "ELIGIBLE", - } - IdentityState_value = map[string]int32{ - "UNSPECIFIED": 0, - "WAIT_FOR_ATX_SYNCED": 1, - "RETRYING": 2, - "WAITING_FOR_POET_REGISTRATION_WINDOW": 3, - "POET_CHALLENGE_READY": 4, - "POET_REGISTERED": 5, - "WAIT_FOR_POET_ROUND_END": 6, - "POET_PROOF_RECEIVED": 7, - "GENERATING_POST_PROOF": 8, - "POST_PROOF_READY": 9, - "ATX_READY": 10, - "ATX_BROADCASTED": 11, - "PROPOSAL_BUILD_FAILED": 12, - "PROPOSAL_PUBLISH_FAILED": 13, - "PROPOSAL_PUBLISHED": 14, - "ELIGIBLE": 15, - } -) - -func (x IdentityState) Enum() *IdentityState { - p := new(IdentityState) - *p = x - return p -} - -func (x IdentityState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (IdentityState) Descriptor() protoreflect.EnumDescriptor { - return file_spacemesh_v2beta1_smeshing_identities_proto_enumTypes[0].Descriptor() -} - -func (IdentityState) Type() protoreflect.EnumType { - return &file_spacemesh_v2beta1_smeshing_identities_proto_enumTypes[0] -} - -func (x IdentityState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use IdentityState.Descriptor instead. -func (IdentityState) EnumDescriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{0} -} - -type RetryingState struct { +type IdentityStatesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + States []v2.IdentityState `protobuf:"varint,1,rep,packed,name=states,proto3,enum=spacemesh.smesher.v2.IdentityState" json:"states,omitempty"` // list of identity states to filter by + Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // adjusts the starting point for data + Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // specifies max number of items to fetch } -func (x *RetryingState) Reset() { - *x = RetryingState{} +func (x *IdentityStatesRequest) Reset() { + *x = IdentityStatesRequest{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -130,13 +45,13 @@ func (x *RetryingState) Reset() { } } -func (x *RetryingState) String() string { +func (x *IdentityStatesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RetryingState) ProtoMessage() {} +func (*IdentityStatesRequest) ProtoMessage() {} -func (x *RetryingState) ProtoReflect() protoreflect.Message { +func (x *IdentityStatesRequest) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -148,26 +63,42 @@ func (x *RetryingState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RetryingState.ProtoReflect.Descriptor instead. -func (*RetryingState) Descriptor() ([]byte, []int) { +// Deprecated: Use IdentityStatesRequest.ProtoReflect.Descriptor instead. +func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{0} } -func (x *RetryingState) GetMessage() string { +func (x *IdentityStatesRequest) GetStates() []v2.IdentityState { + if x != nil { + return x.States + } + return nil +} + +func (x *IdentityStatesRequest) GetOffset() uint64 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *IdentityStatesRequest) GetLimit() uint64 { if x != nil { - return x.Message + return x.Limit } - return "" + return 0 } -type WaitForAtxSyncedState struct { +type IdentityStatesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Identities map[string]*v2.Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *WaitForAtxSyncedState) Reset() { - *x = WaitForAtxSyncedState{} +func (x *IdentityStatesResponse) Reset() { + *x = IdentityStatesResponse{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -175,13 +106,13 @@ func (x *WaitForAtxSyncedState) Reset() { } } -func (x *WaitForAtxSyncedState) String() string { +func (x *IdentityStatesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*WaitForAtxSyncedState) ProtoMessage() {} +func (*IdentityStatesResponse) ProtoMessage() {} -func (x *WaitForAtxSyncedState) ProtoReflect() protoreflect.Message { +func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -193,19 +124,27 @@ func (x *WaitForAtxSyncedState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use WaitForAtxSyncedState.ProtoReflect.Descriptor instead. -func (*WaitForAtxSyncedState) Descriptor() ([]byte, []int) { +// Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. +func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{1} } -type WaitingForPoetRegistrationWindowState struct { +func (x *IdentityStatesResponse) GetIdentities() map[string]*v2.Identity { + if x != nil { + return x.Identities + } + return nil +} + +// PoetInfo rpc +type PoetInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *WaitingForPoetRegistrationWindowState) Reset() { - *x = WaitingForPoetRegistrationWindowState{} +func (x *PoetInfoRequest) Reset() { + *x = PoetInfoRequest{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -213,13 +152,13 @@ func (x *WaitingForPoetRegistrationWindowState) Reset() { } } -func (x *WaitingForPoetRegistrationWindowState) String() string { +func (x *PoetInfoRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*WaitingForPoetRegistrationWindowState) ProtoMessage() {} +func (*PoetInfoRequest) ProtoMessage() {} -func (x *WaitingForPoetRegistrationWindowState) ProtoReflect() protoreflect.Message { +func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -231,19 +170,22 @@ func (x *WaitingForPoetRegistrationWindowState) ProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -// Deprecated: Use WaitingForPoetRegistrationWindowState.ProtoReflect.Descriptor instead. -func (*WaitingForPoetRegistrationWindowState) Descriptor() ([]byte, []int) { +// Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. +func (*PoetInfoRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{2} } -type PoetChallengeReadyState struct { +type PoetInfoResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + + Poets []string `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty"` + Config *v2.PoetConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` } -func (x *PoetChallengeReadyState) Reset() { - *x = PoetChallengeReadyState{} +func (x *PoetInfoResponse) Reset() { + *x = PoetInfoResponse{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -251,13 +193,13 @@ func (x *PoetChallengeReadyState) Reset() { } } -func (x *PoetChallengeReadyState) String() string { +func (x *PoetInfoResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetChallengeReadyState) ProtoMessage() {} +func (*PoetInfoResponse) ProtoMessage() {} -func (x *PoetChallengeReadyState) ProtoReflect() protoreflect.Message { +func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -269,24 +211,34 @@ func (x *PoetChallengeReadyState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetChallengeReadyState.ProtoReflect.Descriptor instead. -func (*PoetChallengeReadyState) Descriptor() ([]byte, []int) { +// Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. +func (*PoetInfoResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{3} } -type PoETRegistration struct { +func (x *PoetInfoResponse) GetPoets() []string { + if x != nil { + return x.Poets + } + return nil +} + +func (x *PoetInfoResponse) GetConfig() *v2.PoetConfig { + if x != nil { + return x.Config + } + return nil +} + +// Proposals and eligibilities +type EligibilitiesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - ChallengeHash []byte `protobuf:"bytes,1,opt,name=challenge_hash,json=challengeHash,proto3" json:"challenge_hash,omitempty"` - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - RoundId string `protobuf:"bytes,3,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` - RoundEnd *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` } -func (x *PoETRegistration) Reset() { - *x = PoETRegistration{} +func (x *EligibilitiesRequest) Reset() { + *x = EligibilitiesRequest{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -294,13 +246,13 @@ func (x *PoETRegistration) Reset() { } } -func (x *PoETRegistration) String() string { +func (x *EligibilitiesRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoETRegistration) ProtoMessage() {} +func (*EligibilitiesRequest) ProtoMessage() {} -func (x *PoETRegistration) ProtoReflect() protoreflect.Message { +func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -312,49 +264,21 @@ func (x *PoETRegistration) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoETRegistration.ProtoReflect.Descriptor instead. -func (*PoETRegistration) Descriptor() ([]byte, []int) { +// Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. +func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{4} } -func (x *PoETRegistration) GetChallengeHash() []byte { - if x != nil { - return x.ChallengeHash - } - return nil -} - -func (x *PoETRegistration) GetAddress() string { - if x != nil { - return x.Address - } - return "" -} - -func (x *PoETRegistration) GetRoundId() string { - if x != nil { - return x.RoundId - } - return "" -} - -func (x *PoETRegistration) GetRoundEnd() *timestamppb.Timestamp { - if x != nil { - return x.RoundEnd - } - return nil -} - -type PoetRegisteredState struct { +type EligibilitiesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Registrations []*PoETRegistration `protobuf:"bytes,1,rep,name=registrations,proto3" json:"registrations,omitempty"` + Identities map[string]*v2.EpochEligibilities `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *PoetRegisteredState) Reset() { - *x = PoetRegisteredState{} +func (x *EligibilitiesResponse) Reset() { + *x = EligibilitiesResponse{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -362,13 +286,13 @@ func (x *PoetRegisteredState) Reset() { } } -func (x *PoetRegisteredState) String() string { +func (x *EligibilitiesResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetRegisteredState) ProtoMessage() {} +func (*EligibilitiesResponse) ProtoMessage() {} -func (x *PoetRegisteredState) ProtoReflect() protoreflect.Message { +func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -380,29 +304,26 @@ func (x *PoetRegisteredState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetRegisteredState.ProtoReflect.Descriptor instead. -func (*PoetRegisteredState) Descriptor() ([]byte, []int) { +// Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. +func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{5} } -func (x *PoetRegisteredState) GetRegistrations() []*PoETRegistration { +func (x *EligibilitiesResponse) GetIdentities() map[string]*v2.EpochEligibilities { if x != nil { - return x.Registrations + return x.Identities } return nil } -type WaitForPoetRoundEndState struct { +type ProposalsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - - RoundEnd *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=round_end,json=roundEnd,proto3" json:"round_end,omitempty"` - PublishEpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=publish_epoch_end,json=publishEpochEnd,proto3" json:"publish_epoch_end,omitempty"` } -func (x *WaitForPoetRoundEndState) Reset() { - *x = WaitForPoetRoundEndState{} +func (x *ProposalsRequest) Reset() { + *x = ProposalsRequest{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -410,13 +331,13 @@ func (x *WaitForPoetRoundEndState) Reset() { } } -func (x *WaitForPoetRoundEndState) String() string { +func (x *ProposalsRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*WaitForPoetRoundEndState) ProtoMessage() {} +func (*ProposalsRequest) ProtoMessage() {} -func (x *WaitForPoetRoundEndState) ProtoReflect() protoreflect.Message { +func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -428,35 +349,21 @@ func (x *WaitForPoetRoundEndState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use WaitForPoetRoundEndState.ProtoReflect.Descriptor instead. -func (*WaitForPoetRoundEndState) Descriptor() ([]byte, []int) { +// Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. +func (*ProposalsRequest) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{6} } -func (x *WaitForPoetRoundEndState) GetRoundEnd() *timestamppb.Timestamp { - if x != nil { - return x.RoundEnd - } - return nil -} - -func (x *WaitForPoetRoundEndState) GetPublishEpochEnd() *timestamppb.Timestamp { - if x != nil { - return x.PublishEpochEnd - } - return nil -} - -type PoetProofReceivedState struct { +type ProposalsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PoetUrl string `protobuf:"bytes,1,opt,name=poet_url,json=poetUrl,proto3" json:"poet_url,omitempty"` + Proposals map[string]*v2.Proposals `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (x *PoetProofReceivedState) Reset() { - *x = PoetProofReceivedState{} +func (x *ProposalsResponse) Reset() { + *x = ProposalsResponse{} if protoimpl.UnsafeEnabled { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -464,13 +371,13 @@ func (x *PoetProofReceivedState) Reset() { } } -func (x *PoetProofReceivedState) String() string { +func (x *ProposalsResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PoetProofReceivedState) ProtoMessage() {} +func (*ProposalsResponse) ProtoMessage() {} -func (x *PoetProofReceivedState) ProtoReflect() protoreflect.Message { +func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -482,2193 +389,229 @@ func (x *PoetProofReceivedState) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PoetProofReceivedState.ProtoReflect.Descriptor instead. -func (*PoetProofReceivedState) Descriptor() ([]byte, []int) { +// Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. +func (*ProposalsResponse) Descriptor() ([]byte, []int) { return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{7} } -func (x *PoetProofReceivedState) GetPoetUrl() string { +func (x *ProposalsResponse) GetProposals() map[string]*v2.Proposals { if x != nil { - return x.PoetUrl + return x.Proposals } - return "" -} - -type GeneratingPostProofState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields + return nil } -func (x *GeneratingPostProofState) Reset() { - *x = GeneratingPostProofState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} +var File_spacemesh_v2beta1_smeshing_identities_proto protoreflect.FileDescriptor -func (x *GeneratingPostProofState) String() string { - return protoimpl.X.MessageStringOf(x) +var file_spacemesh_v2beta1_smeshing_identities_proto_rawDesc = []byte{ + 0x0a, 0x2b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, + 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x15, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xd2, + 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5d, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x62, 0x0a, 0x10, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, + 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, + 0x12, 0x38, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, + 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x16, 0x0a, 0x14, 0x45, 0x6c, + 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0xda, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0a, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x67, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x65, 0x72, 0x2e, 0x76, + 0x32, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 0x12, 0x0a, 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0xc5, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x70, 0x72, 0x6f, + 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x5d, 0x0a, 0x0e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1f, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x73, 0x6d, 0x65, 0x73, + 0x68, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0xa0, 0x05, 0x0a, 0x19, + 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, + 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x06, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, + 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x35, 0x12, 0x33, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, + 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x2f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0xa6, 0x01, 0x0a, 0x0d, + 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, + 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, + 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x69, 0x65, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, + 0x6c, 0x73, 0x12, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, + 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x12, 0x36, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, + 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x2f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x0f, 0xfa, + 0xd2, 0xe4, 0x93, 0x02, 0x09, 0x12, 0x07, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0xdf, + 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, + 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, + 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, + 0x53, 0x58, 0x58, 0xaa, 0x02, 0x11, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, + 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x11, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, + 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1d, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x53, 0x70, + 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func (*GeneratingPostProofState) ProtoMessage() {} +var ( + file_spacemesh_v2beta1_smeshing_identities_proto_rawDescOnce sync.Once + file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData = file_spacemesh_v2beta1_smeshing_identities_proto_rawDesc +) -func (x *GeneratingPostProofState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) +func file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP() []byte { + file_spacemesh_v2beta1_smeshing_identities_proto_rawDescOnce.Do(func() { + file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData) + }) + return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData } -// Deprecated: Use GeneratingPostProofState.ProtoReflect.Descriptor instead. -func (*GeneratingPostProofState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{8} +var file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_spacemesh_v2beta1_smeshing_identities_proto_goTypes = []interface{}{ + (*IdentityStatesRequest)(nil), // 0: spacemesh.v2beta1.IdentityStatesRequest + (*IdentityStatesResponse)(nil), // 1: spacemesh.v2beta1.IdentityStatesResponse + (*PoetInfoRequest)(nil), // 2: spacemesh.v2beta1.PoetInfoRequest + (*PoetInfoResponse)(nil), // 3: spacemesh.v2beta1.PoetInfoResponse + (*EligibilitiesRequest)(nil), // 4: spacemesh.v2beta1.EligibilitiesRequest + (*EligibilitiesResponse)(nil), // 5: spacemesh.v2beta1.EligibilitiesResponse + (*ProposalsRequest)(nil), // 6: spacemesh.v2beta1.ProposalsRequest + (*ProposalsResponse)(nil), // 7: spacemesh.v2beta1.ProposalsResponse + nil, // 8: spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry + nil, // 9: spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry + nil, // 10: spacemesh.v2beta1.ProposalsResponse.ProposalsEntry + (v2.IdentityState)(0), // 11: spacemesh.smesher.v2.IdentityState + (*v2.PoetConfig)(nil), // 12: spacemesh.smesher.v2.PoetConfig + (*v2.Identity)(nil), // 13: spacemesh.smesher.v2.Identity + (*v2.EpochEligibilities)(nil), // 14: spacemesh.smesher.v2.EpochEligibilities + (*v2.Proposals)(nil), // 15: spacemesh.smesher.v2.Proposals } - -type PostProofReadyState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields +var file_spacemesh_v2beta1_smeshing_identities_proto_depIdxs = []int32{ + 11, // 0: spacemesh.v2beta1.IdentityStatesRequest.states:type_name -> spacemesh.smesher.v2.IdentityState + 8, // 1: spacemesh.v2beta1.IdentityStatesResponse.identities:type_name -> spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry + 12, // 2: spacemesh.v2beta1.PoetInfoResponse.config:type_name -> spacemesh.smesher.v2.PoetConfig + 9, // 3: spacemesh.v2beta1.EligibilitiesResponse.identities:type_name -> spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry + 10, // 4: spacemesh.v2beta1.ProposalsResponse.proposals:type_name -> spacemesh.v2beta1.ProposalsResponse.ProposalsEntry + 13, // 5: spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.smesher.v2.Identity + 14, // 6: spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.smesher.v2.EpochEligibilities + 15, // 7: spacemesh.v2beta1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.smesher.v2.Proposals + 0, // 8: spacemesh.v2beta1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2beta1.IdentityStatesRequest + 2, // 9: spacemesh.v2beta1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2beta1.PoetInfoRequest + 4, // 10: spacemesh.v2beta1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2beta1.EligibilitiesRequest + 6, // 11: spacemesh.v2beta1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2beta1.ProposalsRequest + 1, // 12: spacemesh.v2beta1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2beta1.IdentityStatesResponse + 3, // 13: spacemesh.v2beta1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2beta1.PoetInfoResponse + 5, // 14: spacemesh.v2beta1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2beta1.EligibilitiesResponse + 7, // 15: spacemesh.v2beta1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2beta1.ProposalsResponse + 12, // [12:16] is the sub-list for method output_type + 8, // [8:12] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name } -func (x *PostProofReadyState) Reset() { - *x = PostProofReadyState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) +func init() { file_spacemesh_v2beta1_smeshing_identities_proto_init() } +func file_spacemesh_v2beta1_smeshing_identities_proto_init() { + if File_spacemesh_v2beta1_smeshing_identities_proto != nil { + return } -} - -func (x *PostProofReadyState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostProofReadyState) ProtoMessage() {} - -func (x *PostProofReadyState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) + if !protoimpl.UnsafeEnabled { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentityStatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostProofReadyState.ProtoReflect.Descriptor instead. -func (*PostProofReadyState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{9} -} - -type AtxReadyState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *AtxReadyState) Reset() { - *x = AtxReadyState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtxReadyState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtxReadyState) ProtoMessage() {} - -func (x *AtxReadyState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AtxReadyState.ProtoReflect.Descriptor instead. -func (*AtxReadyState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{10} -} - -type AtxBroadcastedState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AtxId []byte `protobuf:"bytes,1,opt,name=atx_id,json=atxId,proto3" json:"atx_id,omitempty"` -} - -func (x *AtxBroadcastedState) Reset() { - *x = AtxBroadcastedState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AtxBroadcastedState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AtxBroadcastedState) ProtoMessage() {} - -func (x *AtxBroadcastedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AtxBroadcastedState.ProtoReflect.Descriptor instead. -func (*AtxBroadcastedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{11} -} - -func (x *AtxBroadcastedState) GetAtxId() []byte { - if x != nil { - return x.AtxId - } - return nil -} - -type ProposalBuildFailedState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` -} - -func (x *ProposalBuildFailedState) Reset() { - *x = ProposalBuildFailedState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalBuildFailedState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalBuildFailedState) ProtoMessage() {} - -func (x *ProposalBuildFailedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalBuildFailedState.ProtoReflect.Descriptor instead. -func (*ProposalBuildFailedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{12} -} - -func (x *ProposalBuildFailedState) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *ProposalBuildFailedState) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -type ProposalPublishFailedState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` - Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` - Layer uint32 `protobuf:"varint,3,opt,name=layer,proto3" json:"layer,omitempty"` -} - -func (x *ProposalPublishFailedState) Reset() { - *x = ProposalPublishFailedState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalPublishFailedState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalPublishFailedState) ProtoMessage() {} - -func (x *ProposalPublishFailedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalPublishFailedState.ProtoReflect.Descriptor instead. -func (*ProposalPublishFailedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{13} -} - -func (x *ProposalPublishFailedState) GetMessage() string { - if x != nil { - return x.Message - } - return "" -} - -func (x *ProposalPublishFailedState) GetProposal() []byte { - if x != nil { - return x.Proposal - } - return nil -} - -func (x *ProposalPublishFailedState) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -type ProposalPublishedState struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Proposal []byte `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` - Layer uint32 `protobuf:"varint,2,opt,name=layer,proto3" json:"layer,omitempty"` -} - -func (x *ProposalPublishedState) Reset() { - *x = ProposalPublishedState{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalPublishedState) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalPublishedState) ProtoMessage() {} - -func (x *ProposalPublishedState) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalPublishedState.ProtoReflect.Descriptor instead. -func (*ProposalPublishedState) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{14} -} - -func (x *ProposalPublishedState) GetProposal() []byte { - if x != nil { - return x.Proposal - } - return nil -} - -func (x *ProposalPublishedState) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -type Eligibility struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *Eligibility) Reset() { - *x = Eligibility{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Eligibility) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Eligibility) ProtoMessage() {} - -func (x *Eligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Eligibility.ProtoReflect.Descriptor instead. -func (*Eligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{15} -} - -func (x *Eligibility) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -func (x *Eligibility) GetCount() uint32 { - if x != nil { - return x.Count - } - return 0 -} - -type Eligible struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Layers []*Eligibility `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` -} - -func (x *Eligible) Reset() { - *x = Eligible{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Eligible) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Eligible) ProtoMessage() {} - -func (x *Eligible) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Eligible.ProtoReflect.Descriptor instead. -func (*Eligible) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{16} -} - -func (x *Eligible) GetLayers() []*Eligibility { - if x != nil { - return x.Layers - } - return nil -} - -type IdentityStateInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - State IdentityState `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v2beta1.IdentityState" json:"state,omitempty"` - PublishEpoch *uint32 `protobuf:"varint,2,opt,name=publish_epoch,json=publishEpoch,proto3,oneof" json:"publish_epoch,omitempty"` - Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` - // Types that are assignable to Metadata: - // - // *IdentityStateInfo_Retrying - // *IdentityStateInfo_WaitForAtxSynced - // *IdentityStateInfo_WaitingForPoetRegistrationWindow - // *IdentityStateInfo_PoetChallengeReady - // *IdentityStateInfo_PoetRegistered - // *IdentityStateInfo_WaitForPoetRoundEnd - // *IdentityStateInfo_PoetProofReceived - // *IdentityStateInfo_GeneratingPostProof - // *IdentityStateInfo_PostProofReady - // *IdentityStateInfo_AtxReady - // *IdentityStateInfo_AtxBroadcasted - // *IdentityStateInfo_ProposalBuildFailed - // *IdentityStateInfo_ProposalPublishFailed - // *IdentityStateInfo_ProposalPublished - // *IdentityStateInfo_Eligible - Metadata isIdentityStateInfo_Metadata `protobuf_oneof:"metadata"` -} - -func (x *IdentityStateInfo) Reset() { - *x = IdentityStateInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IdentityStateInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IdentityStateInfo) ProtoMessage() {} - -func (x *IdentityStateInfo) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IdentityStateInfo.ProtoReflect.Descriptor instead. -func (*IdentityStateInfo) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{17} -} - -func (x *IdentityStateInfo) GetState() IdentityState { - if x != nil { - return x.State - } - return IdentityState_UNSPECIFIED -} - -func (x *IdentityStateInfo) GetPublishEpoch() uint32 { - if x != nil && x.PublishEpoch != nil { - return *x.PublishEpoch - } - return 0 -} - -func (x *IdentityStateInfo) GetTime() *timestamppb.Timestamp { - if x != nil { - return x.Time - } - return nil -} - -func (m *IdentityStateInfo) GetMetadata() isIdentityStateInfo_Metadata { - if m != nil { - return m.Metadata - } - return nil -} - -func (x *IdentityStateInfo) GetRetrying() *RetryingState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_Retrying); ok { - return x.Retrying - } - return nil -} - -func (x *IdentityStateInfo) GetWaitForAtxSynced() *WaitForAtxSyncedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForAtxSynced); ok { - return x.WaitForAtxSynced - } - return nil -} - -func (x *IdentityStateInfo) GetWaitingForPoetRegistrationWindow() *WaitingForPoetRegistrationWindowState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitingForPoetRegistrationWindow); ok { - return x.WaitingForPoetRegistrationWindow - } - return nil -} - -func (x *IdentityStateInfo) GetPoetChallengeReady() *PoetChallengeReadyState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetChallengeReady); ok { - return x.PoetChallengeReady - } - return nil -} - -func (x *IdentityStateInfo) GetPoetRegistered() *PoetRegisteredState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetRegistered); ok { - return x.PoetRegistered - } - return nil -} - -func (x *IdentityStateInfo) GetWaitForPoetRoundEnd() *WaitForPoetRoundEndState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_WaitForPoetRoundEnd); ok { - return x.WaitForPoetRoundEnd - } - return nil -} - -func (x *IdentityStateInfo) GetPoetProofReceived() *PoetProofReceivedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_PoetProofReceived); ok { - return x.PoetProofReceived - } - return nil -} - -func (x *IdentityStateInfo) GetGeneratingPostProof() *GeneratingPostProofState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_GeneratingPostProof); ok { - return x.GeneratingPostProof - } - return nil -} - -func (x *IdentityStateInfo) GetPostProofReady() *PostProofReadyState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_PostProofReady); ok { - return x.PostProofReady - } - return nil -} - -func (x *IdentityStateInfo) GetAtxReady() *AtxReadyState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxReady); ok { - return x.AtxReady - } - return nil -} - -func (x *IdentityStateInfo) GetAtxBroadcasted() *AtxBroadcastedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_AtxBroadcasted); ok { - return x.AtxBroadcasted - } - return nil -} - -func (x *IdentityStateInfo) GetProposalBuildFailed() *ProposalBuildFailedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalBuildFailed); ok { - return x.ProposalBuildFailed - } - return nil -} - -func (x *IdentityStateInfo) GetProposalPublishFailed() *ProposalPublishFailedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublishFailed); ok { - return x.ProposalPublishFailed - } - return nil -} - -func (x *IdentityStateInfo) GetProposalPublished() *ProposalPublishedState { - if x, ok := x.GetMetadata().(*IdentityStateInfo_ProposalPublished); ok { - return x.ProposalPublished - } - return nil -} - -func (x *IdentityStateInfo) GetEligible() *Eligible { - if x, ok := x.GetMetadata().(*IdentityStateInfo_Eligible); ok { - return x.Eligible - } - return nil -} - -type isIdentityStateInfo_Metadata interface { - isIdentityStateInfo_Metadata() -} - -type IdentityStateInfo_Retrying struct { - Retrying *RetryingState `protobuf:"bytes,4,opt,name=retrying,proto3,oneof"` -} - -type IdentityStateInfo_WaitForAtxSynced struct { - WaitForAtxSynced *WaitForAtxSyncedState `protobuf:"bytes,5,opt,name=wait_for_atx_synced,json=waitForAtxSynced,proto3,oneof"` -} - -type IdentityStateInfo_WaitingForPoetRegistrationWindow struct { - WaitingForPoetRegistrationWindow *WaitingForPoetRegistrationWindowState `protobuf:"bytes,6,opt,name=waiting_for_poet_registration_window,json=waitingForPoetRegistrationWindow,proto3,oneof"` -} - -type IdentityStateInfo_PoetChallengeReady struct { - PoetChallengeReady *PoetChallengeReadyState `protobuf:"bytes,7,opt,name=poet_challenge_ready,json=poetChallengeReady,proto3,oneof"` -} - -type IdentityStateInfo_PoetRegistered struct { - PoetRegistered *PoetRegisteredState `protobuf:"bytes,8,opt,name=poet_registered,json=poetRegistered,proto3,oneof"` -} - -type IdentityStateInfo_WaitForPoetRoundEnd struct { - WaitForPoetRoundEnd *WaitForPoetRoundEndState `protobuf:"bytes,9,opt,name=wait_for_poet_round_end,json=waitForPoetRoundEnd,proto3,oneof"` -} - -type IdentityStateInfo_PoetProofReceived struct { - PoetProofReceived *PoetProofReceivedState `protobuf:"bytes,10,opt,name=poet_proof_received,json=poetProofReceived,proto3,oneof"` -} - -type IdentityStateInfo_GeneratingPostProof struct { - GeneratingPostProof *GeneratingPostProofState `protobuf:"bytes,11,opt,name=generating_post_proof,json=generatingPostProof,proto3,oneof"` -} - -type IdentityStateInfo_PostProofReady struct { - PostProofReady *PostProofReadyState `protobuf:"bytes,12,opt,name=post_proof_ready,json=postProofReady,proto3,oneof"` -} - -type IdentityStateInfo_AtxReady struct { - AtxReady *AtxReadyState `protobuf:"bytes,13,opt,name=atx_ready,json=atxReady,proto3,oneof"` -} - -type IdentityStateInfo_AtxBroadcasted struct { - AtxBroadcasted *AtxBroadcastedState `protobuf:"bytes,14,opt,name=atx_broadcasted,json=atxBroadcasted,proto3,oneof"` -} - -type IdentityStateInfo_ProposalBuildFailed struct { - ProposalBuildFailed *ProposalBuildFailedState `protobuf:"bytes,15,opt,name=proposal_build_failed,json=proposalBuildFailed,proto3,oneof"` -} - -type IdentityStateInfo_ProposalPublishFailed struct { - ProposalPublishFailed *ProposalPublishFailedState `protobuf:"bytes,16,opt,name=proposal_publish_failed,json=proposalPublishFailed,proto3,oneof"` -} - -type IdentityStateInfo_ProposalPublished struct { - ProposalPublished *ProposalPublishedState `protobuf:"bytes,17,opt,name=proposal_published,json=proposalPublished,proto3,oneof"` -} - -type IdentityStateInfo_Eligible struct { - Eligible *Eligible `protobuf:"bytes,18,opt,name=eligible,proto3,oneof"` -} - -func (*IdentityStateInfo_Retrying) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_WaitForAtxSynced) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_WaitingForPoetRegistrationWindow) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_PoetChallengeReady) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_PoetRegistered) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_WaitForPoetRoundEnd) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_PoetProofReceived) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_GeneratingPostProof) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_PostProofReady) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_AtxReady) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_AtxBroadcasted) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_ProposalBuildFailed) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_ProposalPublishFailed) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_ProposalPublished) isIdentityStateInfo_Metadata() {} - -func (*IdentityStateInfo_Eligible) isIdentityStateInfo_Metadata() {} - -type Identity struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - History []*IdentityStateInfo `protobuf:"bytes,1,rep,name=history,proto3" json:"history,omitempty"` -} - -func (x *Identity) Reset() { - *x = Identity{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Identity) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Identity) ProtoMessage() {} - -func (x *Identity) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Identity.ProtoReflect.Descriptor instead. -func (*Identity) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{18} -} - -func (x *Identity) GetHistory() []*IdentityStateInfo { - if x != nil { - return x.History - } - return nil -} - -type IdentityStatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - States []IdentityState `protobuf:"varint,1,rep,packed,name=states,proto3,enum=spacemesh.v2beta1.IdentityState" json:"states,omitempty"` // list of identity states to filter by - Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // adjusts the starting point for data - Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // specifies max number of items to fetch -} - -func (x *IdentityStatesRequest) Reset() { - *x = IdentityStatesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IdentityStatesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IdentityStatesRequest) ProtoMessage() {} - -func (x *IdentityStatesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IdentityStatesRequest.ProtoReflect.Descriptor instead. -func (*IdentityStatesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{19} -} - -func (x *IdentityStatesRequest) GetStates() []IdentityState { - if x != nil { - return x.States - } - return nil -} - -func (x *IdentityStatesRequest) GetOffset() uint64 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *IdentityStatesRequest) GetLimit() uint64 { - if x != nil { - return x.Limit - } - return 0 -} - -type IdentityStatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Identities map[string]*Identity `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *IdentityStatesResponse) Reset() { - *x = IdentityStatesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *IdentityStatesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IdentityStatesResponse) ProtoMessage() {} - -func (x *IdentityStatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IdentityStatesResponse.ProtoReflect.Descriptor instead. -func (*IdentityStatesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{20} -} - -func (x *IdentityStatesResponse) GetIdentities() map[string]*Identity { - if x != nil { - return x.Identities - } - return nil -} - -// PoetInfo rpc -type PoetInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PoetInfoRequest) Reset() { - *x = PoetInfoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetInfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetInfoRequest) ProtoMessage() {} - -func (x *PoetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetInfoRequest.ProtoReflect.Descriptor instead. -func (*PoetInfoRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{21} -} - -type PoetConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PhaseShift *durationpb.Duration `protobuf:"bytes,1,opt,name=phase_shift,json=phaseShift,proto3" json:"phase_shift,omitempty"` - CycleGap *durationpb.Duration `protobuf:"bytes,2,opt,name=cycle_gap,json=cycleGap,proto3" json:"cycle_gap,omitempty"` -} - -func (x *PoetConfig) Reset() { - *x = PoetConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetConfig) ProtoMessage() {} - -func (x *PoetConfig) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetConfig.ProtoReflect.Descriptor instead. -func (*PoetConfig) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{22} -} - -func (x *PoetConfig) GetPhaseShift() *durationpb.Duration { - if x != nil { - return x.PhaseShift - } - return nil -} - -func (x *PoetConfig) GetCycleGap() *durationpb.Duration { - if x != nil { - return x.CycleGap - } - return nil -} - -type PoetInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Poets []string `protobuf:"bytes,1,rep,name=poets,proto3" json:"poets,omitempty"` - Config *PoetConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` -} - -func (x *PoetInfoResponse) Reset() { - *x = PoetInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PoetInfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PoetInfoResponse) ProtoMessage() {} - -func (x *PoetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PoetInfoResponse.ProtoReflect.Descriptor instead. -func (*PoetInfoResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{23} -} - -func (x *PoetInfoResponse) GetPoets() []string { - if x != nil { - return x.Poets - } - return nil -} - -func (x *PoetInfoResponse) GetConfig() *PoetConfig { - if x != nil { - return x.Config - } - return nil -} - -// Proposals and eligibilities -type Eligibilities struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Eligibilities []*ProposalEligibility `protobuf:"bytes,5,rep,name=eligibilities,proto3" json:"eligibilities,omitempty"` -} - -func (x *Eligibilities) Reset() { - *x = Eligibilities{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Eligibilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Eligibilities) ProtoMessage() {} - -func (x *Eligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Eligibilities.ProtoReflect.Descriptor instead. -func (*Eligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{24} -} - -func (x *Eligibilities) GetEligibilities() []*ProposalEligibility { - if x != nil { - return x.Eligibilities - } - return nil -} - -type ProposalEligibility struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *ProposalEligibility) Reset() { - *x = ProposalEligibility{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalEligibility) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalEligibility) ProtoMessage() {} - -func (x *ProposalEligibility) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalEligibility.ProtoReflect.Descriptor instead. -func (*ProposalEligibility) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{25} -} - -func (x *ProposalEligibility) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -func (x *ProposalEligibility) GetCount() uint32 { - if x != nil { - return x.Count - } - return 0 -} - -type EpochEligibilities struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Epochs map[uint32]*Eligibilities `protobuf:"bytes,1,rep,name=epochs,proto3" json:"epochs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *EpochEligibilities) Reset() { - *x = EpochEligibilities{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EpochEligibilities) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EpochEligibilities) ProtoMessage() {} - -func (x *EpochEligibilities) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EpochEligibilities.ProtoReflect.Descriptor instead. -func (*EpochEligibilities) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{26} -} - -func (x *EpochEligibilities) GetEpochs() map[uint32]*Eligibilities { - if x != nil { - return x.Epochs - } - return nil -} - -type EligibilitiesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *EligibilitiesRequest) Reset() { - *x = EligibilitiesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EligibilitiesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EligibilitiesRequest) ProtoMessage() {} - -func (x *EligibilitiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EligibilitiesRequest.ProtoReflect.Descriptor instead. -func (*EligibilitiesRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{27} -} - -type EligibilitiesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Identities map[string]*EpochEligibilities `protobuf:"bytes,1,rep,name=identities,proto3" json:"identities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *EligibilitiesResponse) Reset() { - *x = EligibilitiesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *EligibilitiesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EligibilitiesResponse) ProtoMessage() {} - -func (x *EligibilitiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EligibilitiesResponse.ProtoReflect.Descriptor instead. -func (*EligibilitiesResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{28} -} - -func (x *EligibilitiesResponse) GetIdentities() map[string]*EpochEligibilities { - if x != nil { - return x.Identities - } - return nil -} - -type ProposalsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ProposalsRequest) Reset() { - *x = ProposalsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalsRequest) ProtoMessage() {} - -func (x *ProposalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalsRequest.ProtoReflect.Descriptor instead. -func (*ProposalsRequest) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{29} -} - -type Proposal struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Layer uint32 `protobuf:"varint,1,opt,name=layer,proto3" json:"layer,omitempty"` - Proposal []byte `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"` -} - -func (x *Proposal) Reset() { - *x = Proposal{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Proposal) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Proposal) ProtoMessage() {} - -func (x *Proposal) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Proposal.ProtoReflect.Descriptor instead. -func (*Proposal) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{30} -} - -func (x *Proposal) GetLayer() uint32 { - if x != nil { - return x.Layer - } - return 0 -} - -func (x *Proposal) GetProposal() []byte { - if x != nil { - return x.Proposal - } - return nil -} - -type Proposals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` -} - -func (x *Proposals) Reset() { - *x = Proposals{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Proposals) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Proposals) ProtoMessage() {} - -func (x *Proposals) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Proposals.ProtoReflect.Descriptor instead. -func (*Proposals) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{31} -} - -func (x *Proposals) GetProposals() []*Proposal { - if x != nil { - return x.Proposals - } - return nil -} - -type ProposalsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Proposals map[string]*Proposals `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *ProposalsResponse) Reset() { - *x = ProposalsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ProposalsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ProposalsResponse) ProtoMessage() {} - -func (x *ProposalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ProposalsResponse.ProtoReflect.Descriptor instead. -func (*ProposalsResponse) Descriptor() ([]byte, []int) { - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP(), []int{32} -} - -func (x *ProposalsResponse) GetProposals() map[string]*Proposals { - if x != nil { - return x.Proposals - } - return nil -} - -var File_spacemesh_v2beta1_smeshing_identities_proto protoreflect.FileDescriptor - -var file_spacemesh_v2beta1_smeshing_identities_proto_rawDesc = []byte{ - 0x0a, 0x2b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2f, 0x73, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, - 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x29, 0x0a, 0x0d, 0x52, 0x65, 0x74, - 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, - 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x27, 0x0a, - 0x25, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, - 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, - 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x10, 0x50, 0x6f, 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, - 0x6e, 0x67, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, - 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, - 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, - 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x6e, 0x64, - 0x49, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x22, 0x60, 0x0a, 0x13, 0x50, - 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x49, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, - 0x45, 0x54, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, - 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9b, 0x01, - 0x0a, 0x18, 0x57, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, - 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x72, 0x6f, - 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x72, 0x6f, 0x75, 0x6e, 0x64, - 0x45, 0x6e, 0x64, 0x12, 0x46, 0x0a, 0x11, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x22, 0x33, 0x0a, 0x16, 0x50, - 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x75, 0x72, - 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x65, 0x74, 0x55, 0x72, 0x6c, - 0x22, 0x1a, 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, - 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, - 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x22, 0x2c, 0x0a, 0x13, 0x41, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, - 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x61, - 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x74, 0x78, - 0x49, 0x64, 0x22, 0x4a, 0x0a, 0x18, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, - 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x68, - 0x0a, 0x1a, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, - 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x16, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, - 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x22, 0x39, 0x0a, 0x0b, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x42, 0x0a, 0x08, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x6c, - 0x61, 0x79, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x79, - 0x65, 0x72, 0x73, 0x22, 0x8e, 0x0c, 0x0a, 0x11, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x12, 0x28, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x70, 0x6f, - 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x73, 0x68, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x08, 0x72, - 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, - 0x00, 0x52, 0x08, 0x72, 0x65, 0x74, 0x72, 0x79, 0x69, 0x6e, 0x67, 0x12, 0x59, 0x0a, 0x13, 0x77, - 0x61, 0x69, 0x74, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x61, 0x74, 0x78, 0x5f, 0x73, 0x79, 0x6e, 0x63, - 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, - 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x41, 0x74, 0x78, - 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x8a, 0x01, 0x0a, 0x24, 0x77, 0x61, 0x69, 0x74, 0x69, - 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69, 0x6e, - 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, - 0x00, 0x52, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, - 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x69, 0x6e, - 0x64, 0x6f, 0x77, 0x12, 0x5e, 0x0a, 0x14, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6c, - 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, - 0x6e, 0x67, 0x65, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, - 0x12, 0x70, 0x6f, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, - 0x61, 0x64, 0x79, 0x12, 0x51, 0x0a, 0x0f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x6f, 0x65, 0x74, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x12, 0x63, 0x0a, 0x17, 0x77, 0x61, 0x69, 0x74, 0x5f, 0x66, - 0x6f, 0x72, 0x5f, 0x70, 0x6f, 0x65, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x65, 0x6e, - 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x61, 0x69, 0x74, - 0x46, 0x6f, 0x72, 0x50, 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x77, 0x61, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, - 0x6f, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x6e, 0x64, 0x12, 0x5b, 0x0a, 0x13, 0x70, - 0x6f, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, - 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x6f, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, - 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x15, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, - 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6e, 0x67, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x52, 0x0a, 0x10, 0x70, - 0x6f, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x50, 0x72, - 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, - 0x0e, 0x70, 0x6f, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6f, 0x66, 0x52, 0x65, 0x61, 0x64, 0x79, 0x12, - 0x3f, 0x0a, 0x09, 0x61, 0x74, 0x78, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x0d, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x61, 0x74, 0x78, 0x52, 0x65, 0x61, 0x64, 0x79, - 0x12, 0x51, 0x0a, 0x0f, 0x61, 0x74, 0x78, 0x5f, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, - 0x74, 0x65, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, - 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x74, 0x78, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, - 0x74, 0x65, 0x64, 0x12, 0x61, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, - 0x75, 0x69, 0x6c, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, - 0x00, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x67, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, - 0x5a, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, 0x6c, - 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, - 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, - 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x39, 0x0a, 0x08, 0x65, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x65, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, - 0x70, 0x6f, 0x63, 0x68, 0x22, 0x4a, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x12, 0x3e, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, - 0x22, 0x7f, 0x0a, 0x15, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x22, 0xcf, 0x01, 0x0a, 0x16, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0a, - 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x39, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x5a, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x0a, 0x50, 0x6f, 0x65, 0x74, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x68, 0x61, 0x73, 0x65, 0x5f, 0x73, - 0x68, 0x69, 0x66, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x68, 0x61, 0x73, 0x65, 0x53, 0x68, 0x69, 0x66, - 0x74, 0x12, 0x36, 0x0a, 0x09, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x5f, 0x67, 0x61, 0x70, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x08, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x47, 0x61, 0x70, 0x22, 0x5f, 0x0a, 0x10, 0x50, 0x6f, 0x65, - 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x6f, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x70, 0x6f, - 0x65, 0x74, 0x73, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5d, 0x0a, 0x0d, 0x45, 0x6c, - 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0d, 0x65, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x65, 0x6c, 0x69, 0x67, - 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x13, 0x50, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xbc, 0x01, 0x0a, - 0x12, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x45, 0x70, 0x6f, 0x63, 0x68, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x1a, 0x5b, - 0x0a, 0x0b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, - 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x16, 0x0a, 0x14, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x22, 0xd7, 0x01, 0x0a, 0x15, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, - 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x0f, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x45, 0x70, 0x6f, 0x63, 0x68, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x12, 0x0a, - 0x10, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x3c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x12, 0x14, 0x0a, - 0x05, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x61, - 0x79, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x22, - 0x46, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x09, - 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x1b, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, - 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x22, 0xc2, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x70, - 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, - 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x33, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, - 0x1a, 0x5a, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, - 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x89, 0x03, 0x0a, - 0x0d, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, - 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x17, 0x0a, 0x13, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x41, 0x54, 0x58, 0x5f, - 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x54, 0x52, - 0x59, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x28, 0x0a, 0x24, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, - 0x47, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, - 0x54, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10, 0x03, - 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x43, 0x48, 0x41, 0x4c, 0x4c, 0x45, 0x4e, - 0x47, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x4f, - 0x45, 0x54, 0x5f, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x45, 0x44, 0x10, 0x05, 0x12, - 0x1b, 0x0a, 0x17, 0x57, 0x41, 0x49, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x5f, 0x50, 0x4f, 0x45, 0x54, - 0x5f, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x45, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, - 0x50, 0x4f, 0x45, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, - 0x56, 0x45, 0x44, 0x10, 0x07, 0x12, 0x19, 0x0a, 0x15, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, - 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x10, 0x08, - 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4f, 0x53, 0x54, 0x5f, 0x50, 0x52, 0x4f, 0x4f, 0x46, 0x5f, 0x52, - 0x45, 0x41, 0x44, 0x59, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x54, 0x58, 0x5f, 0x52, 0x45, - 0x41, 0x44, 0x59, 0x10, 0x0a, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x54, 0x58, 0x5f, 0x42, 0x52, 0x4f, - 0x41, 0x44, 0x43, 0x41, 0x53, 0x54, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, - 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, - 0x4c, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, - 0x4c, 0x5f, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, - 0x10, 0x0d, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x50, 0x4f, 0x53, 0x41, 0x4c, 0x5f, 0x50, - 0x55, 0x42, 0x4c, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4c, - 0x49, 0x47, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x0f, 0x32, 0xa0, 0x05, 0x0a, 0x19, 0x53, 0x6d, 0x65, - 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x73, 0x12, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, - 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, - 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, - 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x53, 0x74, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x92, 0x01, 0x0a, 0x08, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x22, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x37, 0x12, 0x35, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, - 0x50, 0x6f, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0xa6, 0x01, 0x0a, 0x0d, 0x45, 0x6c, 0x69, - 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, - 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, - 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x12, 0x3a, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, - 0x6e, 0x67, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x2f, 0x45, 0x6c, 0x69, 0x67, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, - 0x73, 0x12, 0x96, 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, - 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, - 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x38, 0x12, 0x36, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, - 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x2f, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x1a, 0x0f, 0xfa, 0xd2, 0xe4, 0x93, - 0x02, 0x09, 0x12, 0x07, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0xdf, 0x01, 0x0a, 0x15, - 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x32, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x17, 0x53, 0x6d, 0x65, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x49, - 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x6c, - 0x65, 0x61, 0x73, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, - 0x68, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, - 0x65, 0x73, 0x68, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58, 0x58, - 0xaa, 0x02, 0x11, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x56, 0x32, 0x62, - 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x11, 0x53, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, - 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1d, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x53, 0x70, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x73, 0x68, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_spacemesh_v2beta1_smeshing_identities_proto_rawDescOnce sync.Once - file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData = file_spacemesh_v2beta1_smeshing_identities_proto_rawDesc -) - -func file_spacemesh_v2beta1_smeshing_identities_proto_rawDescGZIP() []byte { - file_spacemesh_v2beta1_smeshing_identities_proto_rawDescOnce.Do(func() { - file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData = protoimpl.X.CompressGZIP(file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData) - }) - return file_spacemesh_v2beta1_smeshing_identities_proto_rawDescData -} - -var file_spacemesh_v2beta1_smeshing_identities_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes = make([]protoimpl.MessageInfo, 37) -var file_spacemesh_v2beta1_smeshing_identities_proto_goTypes = []interface{}{ - (IdentityState)(0), // 0: spacemesh.v2beta1.IdentityState - (*RetryingState)(nil), // 1: spacemesh.v2beta1.RetryingState - (*WaitForAtxSyncedState)(nil), // 2: spacemesh.v2beta1.WaitForAtxSyncedState - (*WaitingForPoetRegistrationWindowState)(nil), // 3: spacemesh.v2beta1.WaitingForPoetRegistrationWindowState - (*PoetChallengeReadyState)(nil), // 4: spacemesh.v2beta1.PoetChallengeReadyState - (*PoETRegistration)(nil), // 5: spacemesh.v2beta1.PoETRegistration - (*PoetRegisteredState)(nil), // 6: spacemesh.v2beta1.PoetRegisteredState - (*WaitForPoetRoundEndState)(nil), // 7: spacemesh.v2beta1.WaitForPoetRoundEndState - (*PoetProofReceivedState)(nil), // 8: spacemesh.v2beta1.PoetProofReceivedState - (*GeneratingPostProofState)(nil), // 9: spacemesh.v2beta1.GeneratingPostProofState - (*PostProofReadyState)(nil), // 10: spacemesh.v2beta1.PostProofReadyState - (*AtxReadyState)(nil), // 11: spacemesh.v2beta1.AtxReadyState - (*AtxBroadcastedState)(nil), // 12: spacemesh.v2beta1.AtxBroadcastedState - (*ProposalBuildFailedState)(nil), // 13: spacemesh.v2beta1.ProposalBuildFailedState - (*ProposalPublishFailedState)(nil), // 14: spacemesh.v2beta1.ProposalPublishFailedState - (*ProposalPublishedState)(nil), // 15: spacemesh.v2beta1.ProposalPublishedState - (*Eligibility)(nil), // 16: spacemesh.v2beta1.Eligibility - (*Eligible)(nil), // 17: spacemesh.v2beta1.Eligible - (*IdentityStateInfo)(nil), // 18: spacemesh.v2beta1.IdentityStateInfo - (*Identity)(nil), // 19: spacemesh.v2beta1.Identity - (*IdentityStatesRequest)(nil), // 20: spacemesh.v2beta1.IdentityStatesRequest - (*IdentityStatesResponse)(nil), // 21: spacemesh.v2beta1.IdentityStatesResponse - (*PoetInfoRequest)(nil), // 22: spacemesh.v2beta1.PoetInfoRequest - (*PoetConfig)(nil), // 23: spacemesh.v2beta1.PoetConfig - (*PoetInfoResponse)(nil), // 24: spacemesh.v2beta1.PoetInfoResponse - (*Eligibilities)(nil), // 25: spacemesh.v2beta1.Eligibilities - (*ProposalEligibility)(nil), // 26: spacemesh.v2beta1.ProposalEligibility - (*EpochEligibilities)(nil), // 27: spacemesh.v2beta1.EpochEligibilities - (*EligibilitiesRequest)(nil), // 28: spacemesh.v2beta1.EligibilitiesRequest - (*EligibilitiesResponse)(nil), // 29: spacemesh.v2beta1.EligibilitiesResponse - (*ProposalsRequest)(nil), // 30: spacemesh.v2beta1.ProposalsRequest - (*Proposal)(nil), // 31: spacemesh.v2beta1.Proposal - (*Proposals)(nil), // 32: spacemesh.v2beta1.Proposals - (*ProposalsResponse)(nil), // 33: spacemesh.v2beta1.ProposalsResponse - nil, // 34: spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry - nil, // 35: spacemesh.v2beta1.EpochEligibilities.EpochsEntry - nil, // 36: spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry - nil, // 37: spacemesh.v2beta1.ProposalsResponse.ProposalsEntry - (*timestamppb.Timestamp)(nil), // 38: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 39: google.protobuf.Duration -} -var file_spacemesh_v2beta1_smeshing_identities_proto_depIdxs = []int32{ - 38, // 0: spacemesh.v2beta1.PoETRegistration.round_end:type_name -> google.protobuf.Timestamp - 5, // 1: spacemesh.v2beta1.PoetRegisteredState.registrations:type_name -> spacemesh.v2beta1.PoETRegistration - 38, // 2: spacemesh.v2beta1.WaitForPoetRoundEndState.round_end:type_name -> google.protobuf.Timestamp - 38, // 3: spacemesh.v2beta1.WaitForPoetRoundEndState.publish_epoch_end:type_name -> google.protobuf.Timestamp - 16, // 4: spacemesh.v2beta1.Eligible.layers:type_name -> spacemesh.v2beta1.Eligibility - 0, // 5: spacemesh.v2beta1.IdentityStateInfo.state:type_name -> spacemesh.v2beta1.IdentityState - 38, // 6: spacemesh.v2beta1.IdentityStateInfo.time:type_name -> google.protobuf.Timestamp - 1, // 7: spacemesh.v2beta1.IdentityStateInfo.retrying:type_name -> spacemesh.v2beta1.RetryingState - 2, // 8: spacemesh.v2beta1.IdentityStateInfo.wait_for_atx_synced:type_name -> spacemesh.v2beta1.WaitForAtxSyncedState - 3, // 9: spacemesh.v2beta1.IdentityStateInfo.waiting_for_poet_registration_window:type_name -> spacemesh.v2beta1.WaitingForPoetRegistrationWindowState - 4, // 10: spacemesh.v2beta1.IdentityStateInfo.poet_challenge_ready:type_name -> spacemesh.v2beta1.PoetChallengeReadyState - 6, // 11: spacemesh.v2beta1.IdentityStateInfo.poet_registered:type_name -> spacemesh.v2beta1.PoetRegisteredState - 7, // 12: spacemesh.v2beta1.IdentityStateInfo.wait_for_poet_round_end:type_name -> spacemesh.v2beta1.WaitForPoetRoundEndState - 8, // 13: spacemesh.v2beta1.IdentityStateInfo.poet_proof_received:type_name -> spacemesh.v2beta1.PoetProofReceivedState - 9, // 14: spacemesh.v2beta1.IdentityStateInfo.generating_post_proof:type_name -> spacemesh.v2beta1.GeneratingPostProofState - 10, // 15: spacemesh.v2beta1.IdentityStateInfo.post_proof_ready:type_name -> spacemesh.v2beta1.PostProofReadyState - 11, // 16: spacemesh.v2beta1.IdentityStateInfo.atx_ready:type_name -> spacemesh.v2beta1.AtxReadyState - 12, // 17: spacemesh.v2beta1.IdentityStateInfo.atx_broadcasted:type_name -> spacemesh.v2beta1.AtxBroadcastedState - 13, // 18: spacemesh.v2beta1.IdentityStateInfo.proposal_build_failed:type_name -> spacemesh.v2beta1.ProposalBuildFailedState - 14, // 19: spacemesh.v2beta1.IdentityStateInfo.proposal_publish_failed:type_name -> spacemesh.v2beta1.ProposalPublishFailedState - 15, // 20: spacemesh.v2beta1.IdentityStateInfo.proposal_published:type_name -> spacemesh.v2beta1.ProposalPublishedState - 17, // 21: spacemesh.v2beta1.IdentityStateInfo.eligible:type_name -> spacemesh.v2beta1.Eligible - 18, // 22: spacemesh.v2beta1.Identity.history:type_name -> spacemesh.v2beta1.IdentityStateInfo - 0, // 23: spacemesh.v2beta1.IdentityStatesRequest.states:type_name -> spacemesh.v2beta1.IdentityState - 34, // 24: spacemesh.v2beta1.IdentityStatesResponse.identities:type_name -> spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry - 39, // 25: spacemesh.v2beta1.PoetConfig.phase_shift:type_name -> google.protobuf.Duration - 39, // 26: spacemesh.v2beta1.PoetConfig.cycle_gap:type_name -> google.protobuf.Duration - 23, // 27: spacemesh.v2beta1.PoetInfoResponse.config:type_name -> spacemesh.v2beta1.PoetConfig - 26, // 28: spacemesh.v2beta1.Eligibilities.eligibilities:type_name -> spacemesh.v2beta1.ProposalEligibility - 35, // 29: spacemesh.v2beta1.EpochEligibilities.epochs:type_name -> spacemesh.v2beta1.EpochEligibilities.EpochsEntry - 36, // 30: spacemesh.v2beta1.EligibilitiesResponse.identities:type_name -> spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry - 31, // 31: spacemesh.v2beta1.Proposals.proposals:type_name -> spacemesh.v2beta1.Proposal - 37, // 32: spacemesh.v2beta1.ProposalsResponse.proposals:type_name -> spacemesh.v2beta1.ProposalsResponse.ProposalsEntry - 19, // 33: spacemesh.v2beta1.IdentityStatesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2beta1.Identity - 25, // 34: spacemesh.v2beta1.EpochEligibilities.EpochsEntry.value:type_name -> spacemesh.v2beta1.Eligibilities - 27, // 35: spacemesh.v2beta1.EligibilitiesResponse.IdentitiesEntry.value:type_name -> spacemesh.v2beta1.EpochEligibilities - 32, // 36: spacemesh.v2beta1.ProposalsResponse.ProposalsEntry.value:type_name -> spacemesh.v2beta1.Proposals - 20, // 37: spacemesh.v2beta1.SmeshingIdentitiesService.States:input_type -> spacemesh.v2beta1.IdentityStatesRequest - 22, // 38: spacemesh.v2beta1.SmeshingIdentitiesService.PoetInfo:input_type -> spacemesh.v2beta1.PoetInfoRequest - 28, // 39: spacemesh.v2beta1.SmeshingIdentitiesService.Eligibilities:input_type -> spacemesh.v2beta1.EligibilitiesRequest - 30, // 40: spacemesh.v2beta1.SmeshingIdentitiesService.Proposals:input_type -> spacemesh.v2beta1.ProposalsRequest - 21, // 41: spacemesh.v2beta1.SmeshingIdentitiesService.States:output_type -> spacemesh.v2beta1.IdentityStatesResponse - 24, // 42: spacemesh.v2beta1.SmeshingIdentitiesService.PoetInfo:output_type -> spacemesh.v2beta1.PoetInfoResponse - 29, // 43: spacemesh.v2beta1.SmeshingIdentitiesService.Eligibilities:output_type -> spacemesh.v2beta1.EligibilitiesResponse - 33, // 44: spacemesh.v2beta1.SmeshingIdentitiesService.Proposals:output_type -> spacemesh.v2beta1.ProposalsResponse - 41, // [41:45] is the sub-list for method output_type - 37, // [37:41] is the sub-list for method input_type - 37, // [37:37] is the sub-list for extension type_name - 37, // [37:37] is the sub-list for extension extendee - 0, // [0:37] is the sub-list for field type_name -} - -func init() { file_spacemesh_v2beta1_smeshing_identities_proto_init() } -func file_spacemesh_v2beta1_smeshing_identities_proto_init() { - if File_spacemesh_v2beta1_smeshing_identities_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RetryingState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaitForAtxSyncedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaitingForPoetRegistrationWindowState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetChallengeReadyState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoETRegistration); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetRegisteredState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WaitForPoetRoundEndState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetProofReceivedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GeneratingPostProofState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostProofReadyState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtxReadyState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AtxBroadcastedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalBuildFailedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalPublishFailedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalPublishedState); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibility); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligible); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStateInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Identity); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*IdentityStatesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*IdentityStatesResponse); i { case 0: return &v.state @@ -2680,7 +623,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PoetInfoRequest); i { case 0: return &v.state @@ -2692,19 +635,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PoetConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PoetInfoResponse); i { case 0: return &v.state @@ -2716,43 +647,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Eligibilities); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ProposalEligibility); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EpochEligibilities); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EligibilitiesRequest); i { case 0: return &v.state @@ -2764,7 +659,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EligibilitiesResponse); i { case 0: return &v.state @@ -2776,7 +671,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsRequest); i { case 0: return &v.state @@ -2788,31 +683,7 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { return nil } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposal); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Proposals); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ProposalsResponse); i { case 0: return &v.state @@ -2825,36 +696,18 @@ func file_spacemesh_v2beta1_smeshing_identities_proto_init() { } } } - file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes[17].OneofWrappers = []interface{}{ - (*IdentityStateInfo_Retrying)(nil), - (*IdentityStateInfo_WaitForAtxSynced)(nil), - (*IdentityStateInfo_WaitingForPoetRegistrationWindow)(nil), - (*IdentityStateInfo_PoetChallengeReady)(nil), - (*IdentityStateInfo_PoetRegistered)(nil), - (*IdentityStateInfo_WaitForPoetRoundEnd)(nil), - (*IdentityStateInfo_PoetProofReceived)(nil), - (*IdentityStateInfo_GeneratingPostProof)(nil), - (*IdentityStateInfo_PostProofReady)(nil), - (*IdentityStateInfo_AtxReady)(nil), - (*IdentityStateInfo_AtxBroadcasted)(nil), - (*IdentityStateInfo_ProposalBuildFailed)(nil), - (*IdentityStateInfo_ProposalPublishFailed)(nil), - (*IdentityStateInfo_ProposalPublished)(nil), - (*IdentityStateInfo_Eligible)(nil), - } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_spacemesh_v2beta1_smeshing_identities_proto_rawDesc, - NumEnums: 1, - NumMessages: 37, + NumEnums: 0, + NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_spacemesh_v2beta1_smeshing_identities_proto_goTypes, DependencyIndexes: file_spacemesh_v2beta1_smeshing_identities_proto_depIdxs, - EnumInfos: file_spacemesh_v2beta1_smeshing_identities_proto_enumTypes, MessageInfos: file_spacemesh_v2beta1_smeshing_identities_proto_msgTypes, }.Build() File_spacemesh_v2beta1_smeshing_identities_proto = out.File diff --git a/release/openapi/swagger/src/api_v2beta1.swagger.json b/release/openapi/swagger/src/api_v2beta1.swagger.json index 250ba9b3..97a1ce5b 100644 --- a/release/openapi/swagger/src/api_v2beta1.swagger.json +++ b/release/openapi/swagger/src/api_v2beta1.swagger.json @@ -818,6 +818,70 @@ }, "additionalProperties": {} }, + "smesherv2Eligibilities": { + "type": "object", + "title": "Proposals and eligibilities", + "properties": { + "eligibilities": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/smesherv2ProposalEligibility" + } + } + } + }, + "smesherv2Eligibility": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64" + }, + "layer": { + "type": "integer", + "format": "int64" + } + } + }, + "smesherv2Proposal": { + "type": "object", + "properties": { + "layer": { + "type": "integer", + "format": "int64" + }, + "proposal": { + "type": "string", + "format": "byte" + } + } + }, + "smesherv2ProposalEligibility": { + "type": "object", + "properties": { + "count": { + "type": "integer", + "format": "int64" + }, + "layer": { + "type": "integer", + "format": "int64" + } + } + }, + "smesherv2Proposals": { + "type": "object", + "properties": { + "proposals": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/definitions/smesherv2Proposal" + } + } + } + }, "spacemeshv2beta1Account": { "type": "object", "properties": { @@ -1018,43 +1082,17 @@ } } }, - "spacemeshv2beta1Eligibilities": { - "type": "object", - "title": "Proposals and eligibilities", - "properties": { - "eligibilities": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/spacemeshv2beta1ProposalEligibility" - } - } - } - }, "spacemeshv2beta1EligibilitiesResponse": { "type": "object", "properties": { "identities": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v2beta1EpochEligibilities" + "$ref": "#/definitions/v2EpochEligibilities" } } } }, - "spacemeshv2beta1Eligibility": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "layer": { - "type": "integer", - "format": "int64" - } - } - }, "spacemeshv2beta1EstimateGasRequest": { "type": "object", "properties": { @@ -1092,7 +1130,7 @@ "identities": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v2beta1Identity" + "$ref": "#/definitions/v2Identity" } } } @@ -1318,7 +1356,7 @@ "type": "object", "properties": { "config": { - "$ref": "#/definitions/v2beta1PoetConfig" + "$ref": "#/definitions/v2PoetConfig" }, "poets": { "type": "array", @@ -1328,51 +1366,13 @@ } } }, - "spacemeshv2beta1Proposal": { - "type": "object", - "properties": { - "layer": { - "type": "integer", - "format": "int64" - }, - "proposal": { - "type": "string", - "format": "byte" - } - } - }, - "spacemeshv2beta1ProposalEligibility": { - "type": "object", - "properties": { - "count": { - "type": "integer", - "format": "int64" - }, - "layer": { - "type": "integer", - "format": "int64" - } - } - }, - "spacemeshv2beta1Proposals": { - "type": "object", - "properties": { - "proposals": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/definitions/spacemeshv2beta1Proposal" - } - } - } - }, "spacemeshv2beta1ProposalsResponse": { "type": "object", "properties": { "proposals": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/spacemeshv2beta1Proposals" + "$ref": "#/definitions/smesherv2Proposals" } } } @@ -1626,7 +1626,7 @@ "TRANSACTION_TYPE_DRAIN_VAULT" ] }, - "v2beta1AtxBroadcastedState": { + "v2AtxBroadcastedState": { "type": "object", "properties": { "atxId": { @@ -1635,48 +1635,48 @@ } } }, - "v2beta1AtxReadyState": { + "v2AtxReadyState": { "type": "object" }, - "v2beta1Eligible": { + "v2Eligible": { "type": "object", "properties": { "layers": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/spacemeshv2beta1Eligibility" + "$ref": "#/definitions/smesherv2Eligibility" } } } }, - "v2beta1EpochEligibilities": { + "v2EpochEligibilities": { "type": "object", "properties": { "epochs": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/spacemeshv2beta1Eligibilities" + "$ref": "#/definitions/smesherv2Eligibilities" } } } }, - "v2beta1GeneratingPostProofState": { + "v2GeneratingPostProofState": { "type": "object" }, - "v2beta1Identity": { + "v2Identity": { "type": "object", "properties": { "history": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/v2beta1IdentityStateInfo" + "$ref": "#/definitions/v2IdentityStateInfo" } } } }, - "v2beta1IdentityState": { + "v2IdentityState": { "type": "string", "default": "UNSPECIFIED", "enum": [ @@ -1698,68 +1698,68 @@ "ELIGIBLE" ] }, - "v2beta1IdentityStateInfo": { + "v2IdentityStateInfo": { "type": "object", "properties": { "atxBroadcasted": { - "$ref": "#/definitions/v2beta1AtxBroadcastedState" + "$ref": "#/definitions/v2AtxBroadcastedState" }, "atxReady": { - "$ref": "#/definitions/v2beta1AtxReadyState" + "$ref": "#/definitions/v2AtxReadyState" }, "eligible": { - "$ref": "#/definitions/v2beta1Eligible" + "$ref": "#/definitions/v2Eligible" }, "generatingPostProof": { - "$ref": "#/definitions/v2beta1GeneratingPostProofState" + "$ref": "#/definitions/v2GeneratingPostProofState" }, "poetChallengeReady": { - "$ref": "#/definitions/v2beta1PoetChallengeReadyState" + "$ref": "#/definitions/v2PoetChallengeReadyState" }, "poetProofReceived": { - "$ref": "#/definitions/v2beta1PoetProofReceivedState" + "$ref": "#/definitions/v2PoetProofReceivedState" }, "poetRegistered": { - "$ref": "#/definitions/v2beta1PoetRegisteredState" + "$ref": "#/definitions/v2PoetRegisteredState" }, "postProofReady": { - "$ref": "#/definitions/v2beta1PostProofReadyState" + "$ref": "#/definitions/v2PostProofReadyState" }, "proposalBuildFailed": { - "$ref": "#/definitions/v2beta1ProposalBuildFailedState" + "$ref": "#/definitions/v2ProposalBuildFailedState" }, "proposalPublishFailed": { - "$ref": "#/definitions/v2beta1ProposalPublishFailedState" + "$ref": "#/definitions/v2ProposalPublishFailedState" }, "proposalPublished": { - "$ref": "#/definitions/v2beta1ProposalPublishedState" + "$ref": "#/definitions/v2ProposalPublishedState" }, "publishEpoch": { "type": "integer", "format": "int64" }, "retrying": { - "$ref": "#/definitions/v2beta1RetryingState" + "$ref": "#/definitions/v2RetryingState" }, "state": { - "$ref": "#/definitions/v2beta1IdentityState" + "$ref": "#/definitions/v2IdentityState" }, "time": { "type": "string", "format": "date-time" }, "waitForAtxSynced": { - "$ref": "#/definitions/v2beta1WaitForAtxSyncedState" + "$ref": "#/definitions/v2WaitForAtxSyncedState" }, "waitForPoetRoundEnd": { - "$ref": "#/definitions/v2beta1WaitForPoetRoundEndState" + "$ref": "#/definitions/v2WaitForPoetRoundEndState" }, "waitingForPoetRegistrationWindow": { - "$ref": "#/definitions/v2beta1WaitingForPoetRegistrationWindowState" + "$ref": "#/definitions/v2WaitingForPoetRegistrationWindowState" } } }, - "v2beta1PoETRegistration": { + "v2PoETRegistration": { "type": "object", "properties": { "address": { @@ -1778,10 +1778,10 @@ } } }, - "v2beta1PoetChallengeReadyState": { + "v2PoetChallengeReadyState": { "type": "object" }, - "v2beta1PoetConfig": { + "v2PoetConfig": { "type": "object", "properties": { "cycleGap": { @@ -1792,7 +1792,7 @@ } } }, - "v2beta1PoetProofReceivedState": { + "v2PoetProofReceivedState": { "type": "object", "properties": { "poetUrl": { @@ -1800,22 +1800,22 @@ } } }, - "v2beta1PoetRegisteredState": { + "v2PoetRegisteredState": { "type": "object", "properties": { "registrations": { "type": "array", "items": { "type": "object", - "$ref": "#/definitions/v2beta1PoETRegistration" + "$ref": "#/definitions/v2PoETRegistration" } } } }, - "v2beta1PostProofReadyState": { + "v2PostProofReadyState": { "type": "object" }, - "v2beta1ProposalBuildFailedState": { + "v2ProposalBuildFailedState": { "type": "object", "properties": { "layer": { @@ -1827,7 +1827,7 @@ } } }, - "v2beta1ProposalPublishFailedState": { + "v2ProposalPublishFailedState": { "type": "object", "properties": { "layer": { @@ -1843,7 +1843,7 @@ } } }, - "v2beta1ProposalPublishedState": { + "v2ProposalPublishedState": { "type": "object", "properties": { "layer": { @@ -1856,7 +1856,7 @@ } } }, - "v2beta1RetryingState": { + "v2RetryingState": { "type": "object", "properties": { "message": { @@ -1864,10 +1864,10 @@ } } }, - "v2beta1WaitForAtxSyncedState": { + "v2WaitForAtxSyncedState": { "type": "object" }, - "v2beta1WaitForPoetRoundEndState": { + "v2WaitForPoetRoundEndState": { "type": "object", "properties": { "publishEpochEnd": { @@ -1880,14 +1880,11 @@ } } }, - "v2beta1WaitingForPoetRegistrationWindowState": { + "v2WaitingForPoetRegistrationWindowState": { "type": "object" } }, "tags": [ - { - "name": "SmeshingIdentitiesService" - }, { "name": "AccountService" }, @@ -1911,6 +1908,9 @@ }, { "name": "RewardService" + }, + { + "name": "SmeshingIdentitiesService" } ] } \ No newline at end of file diff --git a/spacemesh/smesher/v2/smeshing_identities.proto b/spacemesh/smesher/v2/smeshing_identities.proto new file mode 100644 index 00000000..75749f7a --- /dev/null +++ b/spacemesh/smesher/v2/smeshing_identities.proto @@ -0,0 +1,140 @@ +syntax = "proto3"; + +package spacemesh.smesher.v2; + +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/empty.proto"; + +enum IdentityState { + UNSPECIFIED = 0; + + WAIT_FOR_ATX_SYNCED = 1; + RETRYING = 2; + + WAITING_FOR_POET_REGISTRATION_WINDOW = 3; + POET_CHALLENGE_READY = 4; + POET_REGISTERED = 5; + WAIT_FOR_POET_ROUND_END = 6; + POET_PROOF_RECEIVED = 7; + + GENERATING_POST_PROOF = 8; + POST_PROOF_READY = 9; + + ATX_READY = 10; + ATX_BROADCASTED = 11; + + + PROPOSAL_BUILD_FAILED = 12; + PROPOSAL_PUBLISH_FAILED = 13; + PROPOSAL_PUBLISHED = 14; + + ELIGIBLE = 15; +} + +message RetryingState { + string message = 1; +} +message WaitForAtxSyncedState {} +message WaitingForPoetRegistrationWindowState {} +message PoetChallengeReadyState {} + +message PoETRegistration { + bytes challenge_hash = 1; + string address = 2; + string round_id = 3; + google.protobuf.Timestamp round_end = 4; +} +message PoetRegisteredState { + repeated PoETRegistration registrations = 1; +} + +message WaitForPoetRoundEndState { + google.protobuf.Timestamp round_end = 1; + google.protobuf.Timestamp publish_epoch_end = 2; +} +message PoetProofReceivedState { + string poet_url = 1; +} +message GeneratingPostProofState {} +message PostProofReadyState {} +message AtxReadyState {} +message AtxBroadcastedState { + bytes atx_id = 1; +} +message ProposalBuildFailedState { + string message = 1; + uint32 layer = 2; +} +message ProposalPublishFailedState { + string message = 1; + bytes proposal = 2; + uint32 layer = 3; +} +message ProposalPublishedState { + bytes proposal = 1; + uint32 layer = 2; +} + +message Eligibility { + uint32 layer = 1; + uint32 count = 2; +} +message Eligible { + repeated Eligibility layers = 2; +} + +message IdentityStateInfo { + IdentityState state = 1; + optional uint32 publish_epoch = 2; + google.protobuf.Timestamp time = 3; + oneof metadata { + RetryingState retrying = 4; + WaitForAtxSyncedState wait_for_atx_synced = 5; + WaitingForPoetRegistrationWindowState waiting_for_poet_registration_window = 6; + PoetChallengeReadyState poet_challenge_ready = 7; + PoetRegisteredState poet_registered = 8; + WaitForPoetRoundEndState wait_for_poet_round_end = 9; + PoetProofReceivedState poet_proof_received = 10; + GeneratingPostProofState generating_post_proof = 11; + PostProofReadyState post_proof_ready = 12; + AtxReadyState atx_ready = 13; + AtxBroadcastedState atx_broadcasted = 14; + ProposalBuildFailedState proposal_build_failed = 15; + ProposalPublishFailedState proposal_publish_failed = 16; + ProposalPublishedState proposal_published = 17; + Eligible eligible = 18; + } +} + +message Identity { + repeated IdentityStateInfo history = 1; +} + +message PoetConfig { + google.protobuf.Duration phase_shift = 1; + google.protobuf.Duration cycle_gap = 2; +} + +// Proposals and eligibilities +message Eligibilities { + repeated ProposalEligibility eligibilities = 5; +} + +message ProposalEligibility { + uint32 layer = 1; + uint32 count = 2; +} + +message EpochEligibilities { + map epochs = 1; +} + +message Proposal { + uint32 layer = 1; + bytes proposal = 2; +} + +message Proposals { + repeated Proposal proposals = 1; +} \ No newline at end of file diff --git a/spacemesh/v2alpha1/smeshing_identities.proto b/spacemesh/v2alpha1/smeshing_identities.proto index d2bb5e03..052b3038 100644 --- a/spacemesh/v2alpha1/smeshing_identities.proto +++ b/spacemesh/v2alpha1/smeshing_identities.proto @@ -8,16 +8,16 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/empty.proto"; -import "spacemesh/v2beta1/smeshing_identities.proto"; +import "spacemesh/smesher/v2/smeshing_identities.proto"; message IdentityStatesRequest { - repeated spacemesh.v2beta1.IdentityState states = 1; // list of identity states to filter by + repeated spacemesh.smesher.v2.IdentityState states = 1; // list of identity states to filter by uint64 offset = 2; // adjusts the starting point for data uint64 limit = 3; // specifies max number of items to fetch } message IdentityStatesResponse { - map identities = 1; + map identities = 1; } // PoetInfo rpc @@ -25,19 +25,19 @@ message PoetInfoRequest {} message PoetInfoResponse { repeated string poets = 1; - spacemesh.v2beta1.PoetConfig config = 2; + spacemesh.smesher.v2.PoetConfig config = 2; } +// Proposals and eligibilities message EligibilitiesRequest {} message EligibilitiesResponse { - map identities = 1; + map identities = 1; } message ProposalsRequest {} - message ProposalsResponse { - map proposals = 1; + map proposals = 1; } service SmeshingIdentitiesService { diff --git a/spacemesh/v2beta1/smeshing_identities.proto b/spacemesh/v2beta1/smeshing_identities.proto index 746d5f6b..99de9a3f 100644 --- a/spacemesh/v2beta1/smeshing_identities.proto +++ b/spacemesh/v2beta1/smeshing_identities.proto @@ -7,168 +7,36 @@ import "google/api/visibility.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/empty.proto"; - -enum IdentityState { - UNSPECIFIED = 0; - - WAIT_FOR_ATX_SYNCED = 1; - RETRYING = 2; - - WAITING_FOR_POET_REGISTRATION_WINDOW = 3; - POET_CHALLENGE_READY = 4; - POET_REGISTERED = 5; - WAIT_FOR_POET_ROUND_END = 6; - POET_PROOF_RECEIVED = 7; - - GENERATING_POST_PROOF = 8; - POST_PROOF_READY = 9; - - ATX_READY = 10; - ATX_BROADCASTED = 11; - - - PROPOSAL_BUILD_FAILED = 12; - PROPOSAL_PUBLISH_FAILED = 13; - PROPOSAL_PUBLISHED = 14; - - ELIGIBLE = 15; -} - -message RetryingState { - string message = 1; -} -message WaitForAtxSyncedState {} -message WaitingForPoetRegistrationWindowState {} -message PoetChallengeReadyState {} - -message PoETRegistration { - bytes challenge_hash = 1; - string address = 2; - string round_id = 3; - google.protobuf.Timestamp round_end = 4; -} -message PoetRegisteredState { - repeated PoETRegistration registrations = 1; -} - -message WaitForPoetRoundEndState { - google.protobuf.Timestamp round_end = 1; - google.protobuf.Timestamp publish_epoch_end = 2; -} -message PoetProofReceivedState { - string poet_url = 1; -} -message GeneratingPostProofState {} -message PostProofReadyState {} -message AtxReadyState {} -message AtxBroadcastedState { - bytes atx_id = 1; -} -message ProposalBuildFailedState { - string message = 1; - uint32 layer = 2; -} -message ProposalPublishFailedState { - string message = 1; - bytes proposal = 2; - uint32 layer = 3; -} -message ProposalPublishedState { - bytes proposal = 1; - uint32 layer = 2; -} - -message Eligibility { - uint32 layer = 1; - uint32 count = 2; -} -message Eligible { - repeated Eligibility layers = 2; -} - -message IdentityStateInfo { - IdentityState state = 1; - optional uint32 publish_epoch = 2; - google.protobuf.Timestamp time = 3; - oneof metadata { - RetryingState retrying = 4; - WaitForAtxSyncedState wait_for_atx_synced = 5; - WaitingForPoetRegistrationWindowState waiting_for_poet_registration_window = 6; - PoetChallengeReadyState poet_challenge_ready = 7; - PoetRegisteredState poet_registered = 8; - WaitForPoetRoundEndState wait_for_poet_round_end = 9; - PoetProofReceivedState poet_proof_received = 10; - GeneratingPostProofState generating_post_proof = 11; - PostProofReadyState post_proof_ready = 12; - AtxReadyState atx_ready = 13; - AtxBroadcastedState atx_broadcasted = 14; - ProposalBuildFailedState proposal_build_failed = 15; - ProposalPublishFailedState proposal_publish_failed = 16; - ProposalPublishedState proposal_published = 17; - Eligible eligible = 18; - } -} - -message Identity { - repeated IdentityStateInfo history = 1; -} +import "spacemesh/smesher/v2/smeshing_identities.proto"; message IdentityStatesRequest { - repeated IdentityState states = 1; // list of identity states to filter by + repeated spacemesh.smesher.v2.IdentityState states = 1; // list of identity states to filter by uint64 offset = 2; // adjusts the starting point for data uint64 limit = 3; // specifies max number of items to fetch } message IdentityStatesResponse { - map identities = 1; + map identities = 1; } // PoetInfo rpc message PoetInfoRequest {} -message PoetConfig { - google.protobuf.Duration phase_shift = 1; - google.protobuf.Duration cycle_gap = 2; -} - message PoetInfoResponse { repeated string poets = 1; - PoetConfig config = 2; + spacemesh.smesher.v2.PoetConfig config = 2; } // Proposals and eligibilities -message Eligibilities { - repeated ProposalEligibility eligibilities = 5; -} - -message ProposalEligibility { - uint32 layer = 1; - uint32 count = 2; -} - -message EpochEligibilities { - map epochs = 1; -} - message EligibilitiesRequest {} message EligibilitiesResponse { - map identities = 1; + map identities = 1; } message ProposalsRequest {} - -message Proposal { - uint32 layer = 1; - bytes proposal = 2; -} - -message Proposals { - repeated Proposal proposals = 1; -} - message ProposalsResponse { - map proposals = 1; + map proposals = 1; } service SmeshingIdentitiesService {