From aebcdb8ebe7287d95d7e76497c724bfcdde117ea Mon Sep 17 00:00:00 2001 From: Moshe Shababo Date: Sun, 27 Jun 2021 10:36:33 +0300 Subject: [PATCH] Check CI --- proto/spacemesh/v1/smesher_types.proto | 8 +- release/go/spacemesh/v1/smesher_types.pb.go | 252 ++++++++++---------- 2 files changed, 130 insertions(+), 130 deletions(-) diff --git a/proto/spacemesh/v1/smesher_types.proto b/proto/spacemesh/v1/smesher_types.proto index 89c085ad..27e0e136 100644 --- a/proto/spacemesh/v1/smesher_types.proto +++ b/proto/spacemesh/v1/smesher_types.proto @@ -92,13 +92,13 @@ message PoSTConfigResponse { message PoSTSetupComputeProvider { uint32 id = 1; // 0, 1, 2... string model = 2; // e.g. Nvidia GTX 2700 - enum compute_api_class { + enum ComputeApiClass { COMPUTE_API_CLASS_UNSPECIFIED = 0; COMPUTE_API_CLASS_CPU = 1; // useful for testing on systems without a cuda or vulkan GPU COMPUTE_API_CLASS_CUDA = 2; COMPUTE_API_CLASS_VULKAN = 3; } - compute_api_class compute_api = 3; // A provided compute api + ComputeApiClass compute_api = 3; // A provided compute api uint64 performance = 4; // Estimated performance in hashes per second } @@ -114,14 +114,14 @@ message PoSTSetupOpts { // Proof of space data statusCOMPUTE_API_CLASS message PoSTSetupStatus { - enum state { + enum State { STATE_UNSPECIFIED = 0; // Lane's favorite impossible value STATE_NOT_STARTED = 1; STATE_IN_PROGRESS = 2; STATE_COMPLETE = 3; STATE_ERROR = 4; } - state st = 1; + State state = 1; uint64 num_labels_written = 4; // Number of labels (hashes) written to the data files PoSTSetupOpts opts = 2; // options previously set by the user string error_message = 5; // The error message, if the state is ERROR diff --git a/release/go/spacemesh/v1/smesher_types.pb.go b/release/go/spacemesh/v1/smesher_types.pb.go index 9ab0e92e..b9193c54 100644 --- a/release/go/spacemesh/v1/smesher_types.pb.go +++ b/release/go/spacemesh/v1/smesher_types.pb.go @@ -26,24 +26,24 @@ const ( // of the legacy proto package is being used. const _ = proto.ProtoPackageIsVersion4 -type PoSTSetupComputeProviderComputeApiClass int32 +type PoSTSetupComputeProvider_ComputeApiClass int32 const ( - PoSTSetupComputeProvider_COMPUTE_API_CLASS_UNSPECIFIED PoSTSetupComputeProviderComputeApiClass = 0 - PoSTSetupComputeProvider_COMPUTE_API_CLASS_CPU PoSTSetupComputeProviderComputeApiClass = 1 // useful for testing on systems without a cuda or vulkan GPU - PoSTSetupComputeProvider_COMPUTE_API_CLASS_CUDA PoSTSetupComputeProviderComputeApiClass = 2 - PoSTSetupComputeProvider_COMPUTE_API_CLASS_VULKAN PoSTSetupComputeProviderComputeApiClass = 3 + PoSTSetupComputeProvider_COMPUTE_API_CLASS_UNSPECIFIED PoSTSetupComputeProvider_ComputeApiClass = 0 + PoSTSetupComputeProvider_COMPUTE_API_CLASS_CPU PoSTSetupComputeProvider_ComputeApiClass = 1 // useful for testing on systems without a cuda or vulkan GPU + PoSTSetupComputeProvider_COMPUTE_API_CLASS_CUDA PoSTSetupComputeProvider_ComputeApiClass = 2 + PoSTSetupComputeProvider_COMPUTE_API_CLASS_VULKAN PoSTSetupComputeProvider_ComputeApiClass = 3 ) -// Enum value maps for PoSTSetupComputeProviderComputeApiClass. +// Enum value maps for PoSTSetupComputeProvider_ComputeApiClass. var ( - PoSTSetupComputeProviderComputeApiClass_name = map[int32]string{ + PoSTSetupComputeProvider_ComputeApiClass_name = map[int32]string{ 0: "COMPUTE_API_CLASS_UNSPECIFIED", 1: "COMPUTE_API_CLASS_CPU", 2: "COMPUTE_API_CLASS_CUDA", 3: "COMPUTE_API_CLASS_VULKAN", } - PoSTSetupComputeProviderComputeApiClass_value = map[string]int32{ + PoSTSetupComputeProvider_ComputeApiClass_value = map[string]int32{ "COMPUTE_API_CLASS_UNSPECIFIED": 0, "COMPUTE_API_CLASS_CPU": 1, "COMPUTE_API_CLASS_CUDA": 2, @@ -51,53 +51,53 @@ var ( } ) -func (x PoSTSetupComputeProviderComputeApiClass) Enum() *PoSTSetupComputeProviderComputeApiClass { - p := new(PoSTSetupComputeProviderComputeApiClass) +func (x PoSTSetupComputeProvider_ComputeApiClass) Enum() *PoSTSetupComputeProvider_ComputeApiClass { + p := new(PoSTSetupComputeProvider_ComputeApiClass) *p = x return p } -func (x PoSTSetupComputeProviderComputeApiClass) String() string { +func (x PoSTSetupComputeProvider_ComputeApiClass) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PoSTSetupComputeProviderComputeApiClass) Descriptor() protoreflect.EnumDescriptor { +func (PoSTSetupComputeProvider_ComputeApiClass) Descriptor() protoreflect.EnumDescriptor { return file_spacemesh_v1_smesher_types_proto_enumTypes[0].Descriptor() } -func (PoSTSetupComputeProviderComputeApiClass) Type() protoreflect.EnumType { +func (PoSTSetupComputeProvider_ComputeApiClass) Type() protoreflect.EnumType { return &file_spacemesh_v1_smesher_types_proto_enumTypes[0] } -func (x PoSTSetupComputeProviderComputeApiClass) Number() protoreflect.EnumNumber { +func (x PoSTSetupComputeProvider_ComputeApiClass) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use PoSTSetupComputeProviderComputeApiClass.Descriptor instead. -func (PoSTSetupComputeProviderComputeApiClass) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use PoSTSetupComputeProvider_ComputeApiClass.Descriptor instead. +func (PoSTSetupComputeProvider_ComputeApiClass) EnumDescriptor() ([]byte, []int) { return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{19, 0} } -type PoSTSetupStatusState int32 +type PoSTSetupStatus_State int32 const ( - PoSTSetupStatus_STATE_UNSPECIFIED PoSTSetupStatusState = 0 // Lane's favorite impossible value - PoSTSetupStatus_STATE_NOT_STARTED PoSTSetupStatusState = 1 - PoSTSetupStatus_STATE_IN_PROGRESS PoSTSetupStatusState = 2 - PoSTSetupStatus_STATE_COMPLETE PoSTSetupStatusState = 3 - PoSTSetupStatus_STATE_ERROR PoSTSetupStatusState = 4 + PoSTSetupStatus_STATE_UNSPECIFIED PoSTSetupStatus_State = 0 // Lane's favorite impossible value + PoSTSetupStatus_STATE_NOT_STARTED PoSTSetupStatus_State = 1 + PoSTSetupStatus_STATE_IN_PROGRESS PoSTSetupStatus_State = 2 + PoSTSetupStatus_STATE_COMPLETE PoSTSetupStatus_State = 3 + PoSTSetupStatus_STATE_ERROR PoSTSetupStatus_State = 4 ) -// Enum value maps for PoSTSetupStatusState. +// Enum value maps for PoSTSetupStatus_State. var ( - PoSTSetupStatusState_name = map[int32]string{ + PoSTSetupStatus_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_NOT_STARTED", 2: "STATE_IN_PROGRESS", 3: "STATE_COMPLETE", 4: "STATE_ERROR", } - PoSTSetupStatusState_value = map[string]int32{ + PoSTSetupStatus_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_NOT_STARTED": 1, "STATE_IN_PROGRESS": 2, @@ -106,30 +106,30 @@ var ( } ) -func (x PoSTSetupStatusState) Enum() *PoSTSetupStatusState { - p := new(PoSTSetupStatusState) +func (x PoSTSetupStatus_State) Enum() *PoSTSetupStatus_State { + p := new(PoSTSetupStatus_State) *p = x return p } -func (x PoSTSetupStatusState) String() string { +func (x PoSTSetupStatus_State) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (PoSTSetupStatusState) Descriptor() protoreflect.EnumDescriptor { +func (PoSTSetupStatus_State) Descriptor() protoreflect.EnumDescriptor { return file_spacemesh_v1_smesher_types_proto_enumTypes[1].Descriptor() } -func (PoSTSetupStatusState) Type() protoreflect.EnumType { +func (PoSTSetupStatus_State) Type() protoreflect.EnumType { return &file_spacemesh_v1_smesher_types_proto_enumTypes[1] } -func (x PoSTSetupStatusState) Number() protoreflect.EnumNumber { +func (x PoSTSetupStatus_State) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } -// Deprecated: Use PoSTSetupStatusState.Descriptor instead. -func (PoSTSetupStatusState) EnumDescriptor() ([]byte, []int) { +// Deprecated: Use PoSTSetupStatus_State.Descriptor instead. +func (PoSTSetupStatus_State) EnumDescriptor() ([]byte, []int) { return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{21, 0} } @@ -1068,10 +1068,10 @@ type PoSTSetupComputeProvider struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 0, 1, 2... - Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // e.g. Nvidia GTX 2700 - ComputeApi PoSTSetupComputeProviderComputeApiClass `protobuf:"varint,3,opt,name=compute_api,json=computeApi,proto3,enum=spacemesh.v1.PoSTSetupComputeProviderComputeApiClass" json:"compute_api,omitempty"` // A provided compute api - Performance uint64 `protobuf:"varint,4,opt,name=performance,proto3" json:"performance,omitempty"` // Estimated performance in hashes per second + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 0, 1, 2... + Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // e.g. Nvidia GTX 2700 + ComputeApi PoSTSetupComputeProvider_ComputeApiClass `protobuf:"varint,3,opt,name=compute_api,json=computeApi,proto3,enum=spacemesh.v1.PoSTSetupComputeProvider_ComputeApiClass" json:"compute_api,omitempty"` // A provided compute api + Performance uint64 `protobuf:"varint,4,opt,name=performance,proto3" json:"performance,omitempty"` // Estimated performance in hashes per second } func (x *PoSTSetupComputeProvider) Reset() { @@ -1120,7 +1120,7 @@ func (x *PoSTSetupComputeProvider) GetModel() string { return "" } -func (x *PoSTSetupComputeProvider) GetComputeApi() PoSTSetupComputeProviderComputeApiClass { +func (x *PoSTSetupComputeProvider) GetComputeApi() PoSTSetupComputeProvider_ComputeApiClass { if x != nil { return x.ComputeApi } @@ -1221,10 +1221,10 @@ type PoSTSetupStatus struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - St PoSTSetupStatusState `protobuf:"varint,1,opt,name=st,proto3,enum=spacemesh.v1.PoSTSetupStatusState" json:"st,omitempty"` - NumLabelsWritten uint64 `protobuf:"varint,4,opt,name=num_labels_written,json=numLabelsWritten,proto3" json:"num_labels_written,omitempty"` // Number of labels (hashes) written to the data files - Opts *PoSTSetupOpts `protobuf:"bytes,2,opt,name=opts,proto3" json:"opts,omitempty"` // options previously set by the user - ErrorMessage string `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The error message, if the state is ERROR + State PoSTSetupStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=spacemesh.v1.PoSTSetupStatus_State" json:"state,omitempty"` + NumLabelsWritten uint64 `protobuf:"varint,4,opt,name=num_labels_written,json=numLabelsWritten,proto3" json:"num_labels_written,omitempty"` // Number of labels (hashes) written to the data files + Opts *PoSTSetupOpts `protobuf:"bytes,2,opt,name=opts,proto3" json:"opts,omitempty"` // options previously set by the user + ErrorMessage string `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // The error message, if the state is ERROR } func (x *PoSTSetupStatus) Reset() { @@ -1259,9 +1259,9 @@ func (*PoSTSetupStatus) Descriptor() ([]byte, []int) { return file_spacemesh_v1_smesher_types_proto_rawDescGZIP(), []int{21} } -func (x *PoSTSetupStatus) GetSt() PoSTSetupStatusState { +func (x *PoSTSetupStatus) GetState() PoSTSetupStatus_State { if x != nil { - return x.St + return x.State } return PoSTSetupStatus_STATE_UNSPECIFIED } @@ -1390,63 +1390,63 @@ var file_spacemesh_v1_smesher_types_proto_rawDesc = []byte{ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4e, 0x75, 0x6d, - 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xcb, 0x02, 0x0a, 0x18, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, + 0x55, 0x6e, 0x69, 0x74, 0x73, 0x22, 0xc7, 0x02, 0x0a, 0x18, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x59, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, - 0x75, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, + 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x57, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, + 0x75, 0x74, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x61, 0x70, - 0x69, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, - 0x41, 0x70, 0x69, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, - 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, - 0x65, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x1d, 0x43, - 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, - 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, - 0x41, 0x53, 0x53, 0x5f, 0x43, 0x50, 0x55, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4d, - 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x43, - 0x55, 0x44, 0x41, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, - 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x56, 0x55, 0x4c, 0x4b, 0x41, - 0x4e, 0x10, 0x03, 0x22, 0xb0, 0x01, 0x0a, 0x0d, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, - 0x70, 0x4f, 0x70, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x64, 0x69, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x44, 0x69, 0x72, - 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, - 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, - 0x6d, 0x70, 0x75, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x68, - 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x68, - 0x72, 0x6f, 0x74, 0x74, 0x6c, 0x65, 0x22, 0xbd, 0x02, 0x0a, 0x0f, 0x50, 0x6f, 0x53, 0x54, 0x53, - 0x65, 0x74, 0x75, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a, 0x02, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x52, 0x02, 0x73, 0x74, 0x12, - 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, 0x77, 0x72, - 0x69, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6e, 0x75, 0x6d, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x12, 0x2f, 0x0a, - 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x53, 0x54, 0x53, - 0x65, 0x74, 0x75, 0x70, 0x4f, 0x70, 0x74, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x23, - 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x22, 0x71, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, - 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, - 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, - 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, - 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, 0x50, 0x4c, - 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x45, - 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x34, 0x5a, 0x32, 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, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x41, 0x70, 0x69, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x41, 0x70, + 0x69, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x6e, 0x63, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x41, + 0x70, 0x69, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 0x4d, 0x50, 0x55, + 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, + 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, + 0x43, 0x50, 0x55, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, + 0x5f, 0x41, 0x50, 0x49, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x43, 0x55, 0x44, 0x41, 0x10, + 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x5f, 0x41, 0x50, 0x49, + 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x56, 0x55, 0x4c, 0x4b, 0x41, 0x4e, 0x10, 0x03, 0x22, + 0xb0, 0x01, 0x0a, 0x0d, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x4f, 0x70, 0x74, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x44, 0x69, 0x72, 0x12, 0x1b, 0x0a, 0x09, + 0x6e, 0x75, 0x6d, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x08, 0x6e, 0x75, 0x6d, 0x55, 0x6e, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6d, + 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x75, + 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, + 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x68, 0x72, 0x6f, 0x74, 0x74, + 0x6c, 0x65, 0x22, 0xc3, 0x02, 0x0a, 0x0f, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x53, 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x5f, + 0x77, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6e, + 0x75, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x57, 0x72, 0x69, 0x74, 0x74, 0x65, 0x6e, 0x12, + 0x2f, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x53, + 0x54, 0x53, 0x65, 0x74, 0x75, 0x70, 0x4f, 0x70, 0x74, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x71, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, + 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x4e, + 0x4f, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, + 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, + 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4f, 0x4d, + 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x54, 0x45, + 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x42, 0x34, 0x5a, 0x32, 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, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1464,34 +1464,34 @@ func file_spacemesh_v1_smesher_types_proto_rawDescGZIP() []byte { var file_spacemesh_v1_smesher_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) var file_spacemesh_v1_smesher_types_proto_msgTypes = make([]protoimpl.MessageInfo, 22) var file_spacemesh_v1_smesher_types_proto_goTypes = []interface{}{ - (PoSTSetupComputeProviderComputeApiClass)(0), // 0: spacemesh.v1.PoSTSetupComputeProvider.compute_api_class - (PoSTSetupStatusState)(0), // 1: spacemesh.v1.PoSTSetupStatus.state - (*IsSmeshingResponse)(nil), // 2: spacemesh.v1.IsSmeshingResponse - (*StartSmeshingRequest)(nil), // 3: spacemesh.v1.StartSmeshingRequest - (*StartSmeshingResponse)(nil), // 4: spacemesh.v1.StartSmeshingResponse - (*StopSmeshingRequest)(nil), // 5: spacemesh.v1.StopSmeshingRequest - (*StopSmeshingResponse)(nil), // 6: spacemesh.v1.StopSmeshingResponse - (*SetCoinbaseRequest)(nil), // 7: spacemesh.v1.SetCoinbaseRequest - (*SetCoinbaseResponse)(nil), // 8: spacemesh.v1.SetCoinbaseResponse - (*MinGasResponse)(nil), // 9: spacemesh.v1.MinGasResponse - (*SetMinGasRequest)(nil), // 10: spacemesh.v1.SetMinGasRequest - (*SetMinGasResponse)(nil), // 11: spacemesh.v1.SetMinGasResponse - (*SmesherIDResponse)(nil), // 12: spacemesh.v1.SmesherIDResponse - (*CoinbaseResponse)(nil), // 13: spacemesh.v1.CoinbaseResponse - (*EstimatedRewardsRequest)(nil), // 14: spacemesh.v1.EstimatedRewardsRequest - (*EstimatedRewardsResponse)(nil), // 15: spacemesh.v1.EstimatedRewardsResponse - (*PoSTSetupComputeProvidersRequest)(nil), // 16: spacemesh.v1.PoSTSetupComputeProvidersRequest - (*PoSTSetupComputeProvidersResponse)(nil), // 17: spacemesh.v1.PoSTSetupComputeProvidersResponse - (*PoSTSetupStatusResponse)(nil), // 18: spacemesh.v1.PoSTSetupStatusResponse - (*PoSTSetupStatusStreamResponse)(nil), // 19: spacemesh.v1.PoSTSetupStatusStreamResponse - (*PoSTConfigResponse)(nil), // 20: spacemesh.v1.PoSTConfigResponse - (*PoSTSetupComputeProvider)(nil), // 21: spacemesh.v1.PoSTSetupComputeProvider - (*PoSTSetupOpts)(nil), // 22: spacemesh.v1.PoSTSetupOpts - (*PoSTSetupStatus)(nil), // 23: spacemesh.v1.PoSTSetupStatus - (*AccountId)(nil), // 24: spacemesh.v1.AccountId - (*status.Status)(nil), // 25: google.rpc.Status - (*SimpleInt)(nil), // 26: spacemesh.v1.SimpleInt - (*Amount)(nil), // 27: spacemesh.v1.Amount + (PoSTSetupComputeProvider_ComputeApiClass)(0), // 0: spacemesh.v1.PoSTSetupComputeProvider.ComputeApiClass + (PoSTSetupStatus_State)(0), // 1: spacemesh.v1.PoSTSetupStatus.State + (*IsSmeshingResponse)(nil), // 2: spacemesh.v1.IsSmeshingResponse + (*StartSmeshingRequest)(nil), // 3: spacemesh.v1.StartSmeshingRequest + (*StartSmeshingResponse)(nil), // 4: spacemesh.v1.StartSmeshingResponse + (*StopSmeshingRequest)(nil), // 5: spacemesh.v1.StopSmeshingRequest + (*StopSmeshingResponse)(nil), // 6: spacemesh.v1.StopSmeshingResponse + (*SetCoinbaseRequest)(nil), // 7: spacemesh.v1.SetCoinbaseRequest + (*SetCoinbaseResponse)(nil), // 8: spacemesh.v1.SetCoinbaseResponse + (*MinGasResponse)(nil), // 9: spacemesh.v1.MinGasResponse + (*SetMinGasRequest)(nil), // 10: spacemesh.v1.SetMinGasRequest + (*SetMinGasResponse)(nil), // 11: spacemesh.v1.SetMinGasResponse + (*SmesherIDResponse)(nil), // 12: spacemesh.v1.SmesherIDResponse + (*CoinbaseResponse)(nil), // 13: spacemesh.v1.CoinbaseResponse + (*EstimatedRewardsRequest)(nil), // 14: spacemesh.v1.EstimatedRewardsRequest + (*EstimatedRewardsResponse)(nil), // 15: spacemesh.v1.EstimatedRewardsResponse + (*PoSTSetupComputeProvidersRequest)(nil), // 16: spacemesh.v1.PoSTSetupComputeProvidersRequest + (*PoSTSetupComputeProvidersResponse)(nil), // 17: spacemesh.v1.PoSTSetupComputeProvidersResponse + (*PoSTSetupStatusResponse)(nil), // 18: spacemesh.v1.PoSTSetupStatusResponse + (*PoSTSetupStatusStreamResponse)(nil), // 19: spacemesh.v1.PoSTSetupStatusStreamResponse + (*PoSTConfigResponse)(nil), // 20: spacemesh.v1.PoSTConfigResponse + (*PoSTSetupComputeProvider)(nil), // 21: spacemesh.v1.PoSTSetupComputeProvider + (*PoSTSetupOpts)(nil), // 22: spacemesh.v1.PoSTSetupOpts + (*PoSTSetupStatus)(nil), // 23: spacemesh.v1.PoSTSetupStatus + (*AccountId)(nil), // 24: spacemesh.v1.AccountId + (*status.Status)(nil), // 25: google.rpc.Status + (*SimpleInt)(nil), // 26: spacemesh.v1.SimpleInt + (*Amount)(nil), // 27: spacemesh.v1.Amount } var file_spacemesh_v1_smesher_types_proto_depIdxs = []int32{ 24, // 0: spacemesh.v1.StartSmeshingRequest.coinbase:type_name -> spacemesh.v1.AccountId @@ -1509,8 +1509,8 @@ var file_spacemesh_v1_smesher_types_proto_depIdxs = []int32{ 21, // 12: spacemesh.v1.PoSTSetupComputeProvidersResponse.providers:type_name -> spacemesh.v1.PoSTSetupComputeProvider 23, // 13: spacemesh.v1.PoSTSetupStatusResponse.status:type_name -> spacemesh.v1.PoSTSetupStatus 23, // 14: spacemesh.v1.PoSTSetupStatusStreamResponse.status:type_name -> spacemesh.v1.PoSTSetupStatus - 0, // 15: spacemesh.v1.PoSTSetupComputeProvider.compute_api:type_name -> spacemesh.v1.PoSTSetupComputeProvider.compute_api_class - 1, // 16: spacemesh.v1.PoSTSetupStatus.st:type_name -> spacemesh.v1.PoSTSetupStatus.state + 0, // 15: spacemesh.v1.PoSTSetupComputeProvider.compute_api:type_name -> spacemesh.v1.PoSTSetupComputeProvider.ComputeApiClass + 1, // 16: spacemesh.v1.PoSTSetupStatus.state:type_name -> spacemesh.v1.PoSTSetupStatus.State 22, // 17: spacemesh.v1.PoSTSetupStatus.opts:type_name -> spacemesh.v1.PoSTSetupOpts 18, // [18:18] is the sub-list for method output_type 18, // [18:18] is the sub-list for method input_type