Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OdysseusProtocol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
OdysseusProtocol
Commits
a934bfb6
Commit
a934bfb6
authored
Jan 15, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update proto
parent
73d4928d
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
334 additions
and
386 deletions
+334
-386
odysseus.proto
baseapi/base/v1/odysseus.proto
+1
-1
odysseus.pb.go
gen/proto/go/base/v1/odysseus.pb.go
+105
-100
request_response.pb.go
gen/proto/go/nodemanager/v1/request_response.pb.go
+89
-137
resource.pb.go
gen/proto/go/nodemanager/v1/resource.pb.go
+32
-31
request_response.pb.go
gen/proto/go/witness/v1/request_response.pb.go
+44
-43
service.pb.go
gen/proto/go/witness/v1/service.pb.go
+22
-23
service_grpc.pb.go
gen/proto/go/witness/v1/service_grpc.pb.go
+11
-11
request_response.proto
nodemanager/nodemanager/v1/request_response.proto
+11
-21
resource.proto
nodemanager/nodemanager/v1/resource.proto
+2
-2
request_response.proto
witness/witness/v1/request_response.proto
+11
-11
service.proto
witness/witness/v1/service.proto
+6
-6
No files found.
baseapi/base/v1/odysseus.proto
View file @
a934bfb6
...
@@ -23,7 +23,7 @@ enum BillingMethod {
...
@@ -23,7 +23,7 @@ enum BillingMethod {
message
TaskContent
{
message
TaskContent
{
string
task_id
=
1
;
string
task_id
=
1
;
string
task_type
=
2
;
TaskType
task_type
=
2
;
string
task_cmd
=
3
;
string
task_cmd
=
3
;
bytes
task_param
=
4
;
bytes
task_param
=
4
;
uint64
task_timestamp
=
5
;
uint64
task_timestamp
=
5
;
...
...
gen/proto/go/base/v1/odysseus.pb.go
View file @
a934bfb6
...
@@ -79,14 +79,17 @@ func (BillingMethod) EnumDescriptor() ([]byte, []int) {
...
@@ -79,14 +79,17 @@ func (BillingMethod) EnumDescriptor() ([]byte, []int) {
}
}
type
TaskContent
struct
{
type
TaskContent
struct
{
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType
TaskType
`protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=base.v1.TaskType" json:"task_type,omitempty"`
TaskType
TaskType
`protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=base.v1.TaskType" json:"task_type,omitempty"`
TaskParam
[]
byte
`protobuf:"bytes,3,opt,name=task_param,json=taskParam,proto3" json:"task_param,omitempty"`
TaskCmd
string
`protobuf:"bytes,3,opt,name=task_cmd,json=taskCmd,proto3" json:"task_cmd,omitempty"`
MaxExecuteDuration
uint64
`protobuf:"varint,4,opt,name=max_execute_duration,json=maxExecuteDuration,proto3" json:"max_execute_duration,omitempty"`
TaskParam
[]
byte
`protobuf:"bytes,4,opt,name=task_param,json=taskParam,proto3" json:"task_param,omitempty"`
Model
*
ModelContent
`protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
TaskTimestamp
uint64
`protobuf:"varint,5,opt,name=task_timestamp,json=taskTimestamp,proto3" json:"task_timestamp,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
TaskCallback
string
`protobuf:"bytes,6,opt,name=task_callback,json=taskCallback,proto3" json:"task_callback,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
TaskUid
string
`protobuf:"bytes,7,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"`
XXX_sizecache
int32
`json:"-"`
TaskFee
string
`protobuf:"bytes,8,opt,name=task_fee,json=taskFee,proto3" json:"task_fee,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
TaskContent
)
Reset
()
{
*
m
=
TaskContent
{}
}
func
(
m
*
TaskContent
)
Reset
()
{
*
m
=
TaskContent
{}
}
...
@@ -127,6 +130,13 @@ func (m *TaskContent) GetTaskType() TaskType {
...
@@ -127,6 +130,13 @@ func (m *TaskContent) GetTaskType() TaskType {
return
TaskType_SystemTask
return
TaskType_SystemTask
}
}
func
(
m
*
TaskContent
)
GetTaskCmd
()
string
{
if
m
!=
nil
{
return
m
.
TaskCmd
}
return
""
}
func
(
m
*
TaskContent
)
GetTaskParam
()
[]
byte
{
func
(
m
*
TaskContent
)
GetTaskParam
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
TaskParam
return
m
.
TaskParam
...
@@ -134,149 +144,144 @@ func (m *TaskContent) GetTaskParam() []byte {
...
@@ -134,149 +144,144 @@ func (m *TaskContent) GetTaskParam() []byte {
return
nil
return
nil
}
}
func
(
m
*
TaskContent
)
Get
MaxExecuteDuration
()
uint64
{
func
(
m
*
TaskContent
)
Get
TaskTimestamp
()
uint64
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
MaxExecuteDuration
return
m
.
TaskTimestamp
}
}
return
0
return
0
}
}
func
(
m
*
TaskContent
)
Get
Model
()
*
ModelContent
{
func
(
m
*
TaskContent
)
Get
TaskCallback
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Model
return
m
.
TaskCallback
}
}
return
nil
return
""
}
func
(
m
*
TaskContent
)
GetTaskUid
()
string
{
if
m
!=
nil
{
return
m
.
TaskUid
}
return
""
}
func
(
m
*
TaskContent
)
GetTaskFee
()
string
{
if
m
!=
nil
{
return
m
.
TaskFee
}
return
""
}
}
func
(
*
TaskContent
)
XXX_MessageName
()
string
{
func
(
*
TaskContent
)
XXX_MessageName
()
string
{
return
"base.v1.TaskContent"
return
"base.v1.TaskContent"
}
}
type
ModelContent
struct
{
type
TaskResponse
struct
{
ModelName
string
`protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
ModelType
string
`protobuf:"bytes,2,opt,name=model_type,json=modelType,proto3" json:"model_type,omitempty"`
TaskResult
[]
byte
`protobuf:"bytes,2,opt,name=task_result,json=taskResult,proto3" json:"task_result,omitempty"`
ModelInstance
string
`protobuf:"bytes,3,opt,name=model_instance,json=modelInstance,proto3" json:"model_instance,omitempty"`
TaskUid
string
`protobuf:"bytes,3,opt,name=task_uid,json=taskUid,proto3" json:"task_uid,omitempty"`
RequirePower
string
`protobuf:"bytes,4,opt,name=require_power,json=requirePower,proto3" json:"require_power,omitempty"`
TaskFee
string
`protobuf:"bytes,4,opt,name=task_fee,json=taskFee,proto3" json:"task_fee,omitempty"`
Billing
BillingMethod
`protobuf:"varint,5,opt,name=billing,proto3,enum=base.v1.BillingMethod" json:"billing,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
Cost
uint64
`protobuf:"varint,6,opt,name=cost,proto3" json:"cost,omitempty"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
ModelContent
)
Reset
()
{
*
m
=
ModelContent
{}
}
func
(
m
*
TaskResponse
)
Reset
()
{
*
m
=
TaskResponse
{}
}
func
(
m
*
ModelContent
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
TaskResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ModelContent
)
ProtoMessage
()
{}
func
(
*
TaskResponse
)
ProtoMessage
()
{}
func
(
*
ModelContent
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
TaskResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_91b466c680c1fa25
,
[]
int
{
1
}
return
fileDescriptor_91b466c680c1fa25
,
[]
int
{
1
}
}
}
func
(
m
*
ModelContent
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
TaskResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_
ModelContent
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_
TaskResponse
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
ModelContent
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
TaskResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_
ModelContent
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_
TaskResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
ModelContent
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
m
*
TaskResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_
ModelContent
.
Merge
(
m
,
src
)
xxx_messageInfo_
TaskResponse
.
Merge
(
m
,
src
)
}
}
func
(
m
*
ModelContent
)
XXX_Size
()
int
{
func
(
m
*
TaskResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_
ModelContent
.
Size
(
m
)
return
xxx_messageInfo_
TaskResponse
.
Size
(
m
)
}
}
func
(
m
*
ModelContent
)
XXX_DiscardUnknown
()
{
func
(
m
*
TaskResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_
ModelContent
.
DiscardUnknown
(
m
)
xxx_messageInfo_
TaskResponse
.
DiscardUnknown
(
m
)
}
}
var
xxx_messageInfo_
ModelContent
proto
.
InternalMessageInfo
var
xxx_messageInfo_
TaskResponse
proto
.
InternalMessageInfo
func
(
m
*
ModelContent
)
GetModelName
()
string
{
func
(
m
*
TaskResponse
)
GetTaskId
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
ModelName
return
m
.
TaskId
}
}
return
""
return
""
}
}
func
(
m
*
ModelContent
)
GetModelType
()
string
{
func
(
m
*
TaskResponse
)
GetTaskResult
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
ModelType
return
m
.
TaskResult
}
}
return
""
return
nil
}
}
func
(
m
*
ModelContent
)
GetModelInstance
()
string
{
func
(
m
*
TaskResponse
)
GetTaskUid
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
ModelInstance
return
m
.
TaskUid
}
}
return
""
return
""
}
}
func
(
m
*
ModelContent
)
GetRequirePower
()
string
{
func
(
m
*
TaskResponse
)
GetTaskFee
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
RequirePower
return
m
.
TaskFee
}
}
return
""
return
""
}
}
func
(
m
*
ModelContent
)
GetBilling
()
BillingMethod
{
func
(
*
TaskResponse
)
XXX_MessageName
()
string
{
if
m
!=
nil
{
return
"base.v1.TaskResponse"
return
m
.
Billing
}
return
BillingMethod_BillingFree
}
func
(
m
*
ModelContent
)
GetCost
()
uint64
{
if
m
!=
nil
{
return
m
.
Cost
}
return
0
}
func
(
*
ModelContent
)
XXX_MessageName
()
string
{
return
"base.v1.ModelContent"
}
}
func
init
()
{
func
init
()
{
proto
.
RegisterEnum
(
"base.v1.TaskType"
,
TaskType_name
,
TaskType_value
)
proto
.
RegisterEnum
(
"base.v1.TaskType"
,
TaskType_name
,
TaskType_value
)
proto
.
RegisterEnum
(
"base.v1.BillingMethod"
,
BillingMethod_name
,
BillingMethod_value
)
proto
.
RegisterEnum
(
"base.v1.BillingMethod"
,
BillingMethod_name
,
BillingMethod_value
)
proto
.
RegisterType
((
*
TaskContent
)(
nil
),
"base.v1.TaskContent"
)
proto
.
RegisterType
((
*
TaskContent
)(
nil
),
"base.v1.TaskContent"
)
proto
.
RegisterType
((
*
ModelContent
)(
nil
),
"base.v1.ModelContent
"
)
proto
.
RegisterType
((
*
TaskResponse
)(
nil
),
"base.v1.TaskResponse
"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"base/v1/odysseus.proto"
,
fileDescriptor_91b466c680c1fa25
)
}
func
init
()
{
proto
.
RegisterFile
(
"base/v1/odysseus.proto"
,
fileDescriptor_91b466c680c1fa25
)
}
var
fileDescriptor_91b466c680c1fa25
=
[]
byte
{
var
fileDescriptor_91b466c680c1fa25
=
[]
byte
{
// 545 bytes of a gzipped FileDescriptorProto
// 509 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x54
,
0x92
,
0xcd
,
0x6e
,
0xd3
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x74
,
0x92
,
0xdf
,
0x6a
,
0xd4
,
0x40
,
0x14
,
0x85
,
0x3b
,
0xee
,
0x4f
,
0x9a
,
0x49
,
0x93
,
0x26
,
0x03
,
0x2d
,
0x56
,
0x25
,
0x20
,
0x2a
,
0x42
,
0x14
,
0xc6
,
0x3b
,
0xd9
,
0x75
,
0x77
,
0x3b
,
0xfb
,
0xa7
,
0xbb
,
0x23
,
0x6a
,
0x2c
,
0x68
,
0x97
,
0x8a
,
0x8a
,
0x8a
,
0xb0
,
0xeb
,
0xb0
,
0x6b
,
0x57
,
0x38
,
0xfc
,
0xa8
,
0x48
,
0x81
,
0xc8
,
0x44
,
0x51
,
0x85
,
0xb0
,
0x14
,
0x4c
,
0x88
,
0xde
,
0xb5
,
0x57
,
0x66
,
0xa5
,
0xa2
,
0x50
,
0x5c
,
0x62
,
0x5d
,
0x8a
,
0x14
,
0x2a
,
0x45
,
0x13
,
0xfb
,
0xe2
,
0x5a
,
0xcd
,
0x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
,
0xff
,
0x68
,
0xd0
,
0x53
,
0x45
,
0x57
,
0x03
,
0x00
,
0x00
,
}
}
gen/proto/go/nodemanager/v1/request_response.pb.go
View file @
a934bfb6
...
@@ -22,34 +22,6 @@ var _ = math.Inf
...
@@ -22,34 +22,6 @@ var _ = math.Inf
// proto package needs to be updated.
// proto package needs to be updated.
const
_
=
proto
.
GoGoProtoPackageIsVersion3
// please upgrade the proto package
const
_
=
proto
.
GoGoProtoPackageIsVersion3
// please upgrade the proto package
type
TaskType
int32
const
(
TaskType_SystemTask
TaskType
=
0
TaskType_UserTask
TaskType
=
1
TaskType_CustomTask
TaskType
=
2
)
var
TaskType_name
=
map
[
int32
]
string
{
0
:
"SystemTask"
,
1
:
"UserTask"
,
2
:
"CustomTask"
,
}
var
TaskType_value
=
map
[
string
]
int32
{
"SystemTask"
:
0
,
"UserTask"
:
1
,
"CustomTask"
:
2
,
}
func
(
x
TaskType
)
String
()
string
{
return
proto
.
EnumName
(
TaskType_name
,
int32
(
x
))
}
func
(
TaskType
)
EnumDescriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
0
}
}
type
WorkerMessage
struct
{
type
WorkerMessage
struct
{
// Types that are valid to be assigned to Message:
// Types that are valid to be assigned to Message:
// *WorkerMessage_HeartbeatResponse
// *WorkerMessage_HeartbeatResponse
...
@@ -686,14 +658,14 @@ func (m *StatusResponse) GetDeviceStatus() []byte {
...
@@ -686,14 +658,14 @@ func (m *StatusResponse) GetDeviceStatus() []byte {
}
}
type
PushTaskMessage
struct
{
type
PushTaskMessage
struct
{
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskType
TaskType
`protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=nodemanager
.v1.TaskType" json:"task_type,omitempty"`
TaskType
v1
.
TaskType
`protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=base
.v1.TaskType" json:"task_type,omitempty"`
Work
Load
uint64
`protobuf:"varint,3,opt,name=work_load,json=workLoad,proto3" json:"work_
load,omitempty"`
Work
load
uint64
`protobuf:"varint,3,opt,name=workload,proto3" json:"work
load,omitempty"`
TaskCmd
string
`protobuf:"bytes,4,opt,name=task_cmd,json=taskCmd,proto3" json:"task_cmd,omitempty"`
TaskCmd
string
`protobuf:"bytes,4,opt,name=task_cmd,json=taskCmd,proto3" json:"task_cmd,omitempty"`
TaskParam
[]
byte
`protobuf:"bytes,5,opt,name=task_param,json=taskParam,proto3" json:"task_param,omitempty"`
TaskParam
[]
byte
`protobuf:"bytes,5,opt,name=task_param,json=taskParam,proto3" json:"task_param,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
PushTaskMessage
)
Reset
()
{
*
m
=
PushTaskMessage
{}
}
func
(
m
*
PushTaskMessage
)
Reset
()
{
*
m
=
PushTaskMessage
{}
}
...
@@ -727,16 +699,16 @@ func (m *PushTaskMessage) GetTaskId() string {
...
@@ -727,16 +699,16 @@ func (m *PushTaskMessage) GetTaskId() string {
return
""
return
""
}
}
func
(
m
*
PushTaskMessage
)
GetTaskType
()
TaskType
{
func
(
m
*
PushTaskMessage
)
GetTaskType
()
v1
.
TaskType
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
TaskType
return
m
.
TaskType
}
}
return
TaskType_SystemTask
return
v1
.
TaskType_SystemTask
}
}
func
(
m
*
PushTaskMessage
)
GetWork
L
oad
()
uint64
{
func
(
m
*
PushTaskMessage
)
GetWork
l
oad
()
uint64
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Work
L
oad
return
m
.
Work
l
oad
}
}
return
0
return
0
}
}
...
@@ -757,8 +729,8 @@ func (m *PushTaskMessage) GetTaskParam() []byte {
...
@@ -757,8 +729,8 @@ func (m *PushTaskMessage) GetTaskParam() []byte {
type
SubmitTaskResult
struct
{
type
SubmitTaskResult
struct
{
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskProof
[]
byte
`protobuf:"bytes,2,opt,name=task_proof,json=taskProof,proto3" json:"task_proof
,omitempty"`
ContainerSignature
[]
byte
`protobuf:"bytes,2,opt,name=container_signature,json=containerSignature,proto3" json:"container_signature
,omitempty"`
WorkerSignature
[]
byte
`protobuf:"bytes,3,opt,name=worker_signature,json=workerSignature,proto3" json:"work
er_signature,omitempty"`
MinerSignature
[]
byte
`protobuf:"bytes,3,opt,name=miner_signature,json=minerSignature,proto3" json:"min
er_signature,omitempty"`
TaskResult
[]
byte
`protobuf:"bytes,4,opt,name=task_result,json=taskResult,proto3" json:"task_result,omitempty"`
TaskResult
[]
byte
`protobuf:"bytes,4,opt,name=task_result,json=taskResult,proto3" json:"task_result,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
@@ -796,16 +768,16 @@ func (m *SubmitTaskResult) GetTaskId() string {
...
@@ -796,16 +768,16 @@ func (m *SubmitTaskResult) GetTaskId() string {
return
""
return
""
}
}
func
(
m
*
SubmitTaskResult
)
Get
TaskProof
()
[]
byte
{
func
(
m
*
SubmitTaskResult
)
Get
ContainerSignature
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
TaskProof
return
m
.
ContainerSignature
}
}
return
nil
return
nil
}
}
func
(
m
*
SubmitTaskResult
)
Get
Work
erSignature
()
[]
byte
{
func
(
m
*
SubmitTaskResult
)
Get
Min
erSignature
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Work
erSignature
return
m
.
Min
erSignature
}
}
return
nil
return
nil
}
}
...
@@ -864,10 +836,8 @@ func (m *ProofTaskResult) GetManagerSignature() []byte {
...
@@ -864,10 +836,8 @@ func (m *ProofTaskResult) GetManagerSignature() []byte {
}
}
type
DispatchTaskRequest
struct
{
type
DispatchTaskRequest
struct
{
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskData
*
v1
.
TaskContent
`protobuf:"bytes,1,opt,name=task_data,json=taskData,proto3" json:"task_data,omitempty"`
TaskType
TaskType
`protobuf:"varint,2,opt,name=task_type,json=taskType,proto3,enum=nodemanager.v1.TaskType" json:"task_type,omitempty"`
Miner
string
`protobuf:"bytes,2,opt,name=miner,proto3" json:"miner,omitempty"`
TaskData
*
v1
.
TaskContent
`protobuf:"bytes,3,opt,name=task_data,json=taskData,proto3" json:"task_data,omitempty"`
Worker
string
`protobuf:"bytes,4,opt,name=worker,proto3" json:"worker,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
@@ -897,20 +867,6 @@ func (m *DispatchTaskRequest) XXX_DiscardUnknown() {
...
@@ -897,20 +867,6 @@ func (m *DispatchTaskRequest) XXX_DiscardUnknown() {
var
xxx_messageInfo_DispatchTaskRequest
proto
.
InternalMessageInfo
var
xxx_messageInfo_DispatchTaskRequest
proto
.
InternalMessageInfo
func
(
m
*
DispatchTaskRequest
)
GetTaskId
()
string
{
if
m
!=
nil
{
return
m
.
TaskId
}
return
""
}
func
(
m
*
DispatchTaskRequest
)
GetTaskType
()
TaskType
{
if
m
!=
nil
{
return
m
.
TaskType
}
return
TaskType_SystemTask
}
func
(
m
*
DispatchTaskRequest
)
GetTaskData
()
*
v1
.
TaskContent
{
func
(
m
*
DispatchTaskRequest
)
GetTaskData
()
*
v1
.
TaskContent
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
TaskData
return
m
.
TaskData
...
@@ -918,16 +874,16 @@ func (m *DispatchTaskRequest) GetTaskData() *v1.TaskContent {
...
@@ -918,16 +874,16 @@ func (m *DispatchTaskRequest) GetTaskData() *v1.TaskContent {
return
nil
return
nil
}
}
func
(
m
*
DispatchTaskRequest
)
Get
Work
er
()
string
{
func
(
m
*
DispatchTaskRequest
)
Get
Min
er
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Work
er
return
m
.
Min
er
}
}
return
""
return
""
}
}
type
DispatchTaskResponse
struct
{
type
DispatchTaskResponse
struct
{
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskId
string
`protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
WorkerId
string
`protobuf:"bytes,2,opt,name=worker_id,json=workerId,proto3" json:"worker_id
,omitempty"`
Miner
string
`protobuf:"bytes,2,opt,name=miner,proto3" json:"miner
,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
@@ -964,9 +920,9 @@ func (m *DispatchTaskResponse) GetTaskId() string {
...
@@ -964,9 +920,9 @@ func (m *DispatchTaskResponse) GetTaskId() string {
return
""
return
""
}
}
func
(
m
*
DispatchTaskResponse
)
Get
WorkerId
()
string
{
func
(
m
*
DispatchTaskResponse
)
Get
Miner
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
WorkerId
return
m
.
Miner
}
}
return
""
return
""
}
}
...
@@ -1040,7 +996,6 @@ func (m *ManagerListResponse) GetManagers() []NodeManagerInfo {
...
@@ -1040,7 +996,6 @@ func (m *ManagerListResponse) GetManagers() []NodeManagerInfo {
}
}
func
init
()
{
func
init
()
{
proto
.
RegisterEnum
(
"nodemanager.v1.TaskType"
,
TaskType_name
,
TaskType_value
)
proto
.
RegisterType
((
*
WorkerMessage
)(
nil
),
"nodemanager.v1.WorkerMessage"
)
proto
.
RegisterType
((
*
WorkerMessage
)(
nil
),
"nodemanager.v1.WorkerMessage"
)
proto
.
RegisterType
((
*
ManagerMessage
)(
nil
),
"nodemanager.v1.ManagerMessage"
)
proto
.
RegisterType
((
*
ManagerMessage
)(
nil
),
"nodemanager.v1.ManagerMessage"
)
proto
.
RegisterType
((
*
GoodbyeMessage
)(
nil
),
"nodemanager.v1.GoodbyeMessage"
)
proto
.
RegisterType
((
*
GoodbyeMessage
)(
nil
),
"nodemanager.v1.GoodbyeMessage"
)
...
@@ -1067,71 +1022,68 @@ func init() {
...
@@ -1067,71 +1022,68 @@ func init() {
}
}
var
fileDescriptor_810ae261dc8e2975
=
[]
byte
{
var
fileDescriptor_810ae261dc8e2975
=
[]
byte
{
// 1044 bytes of a gzipped FileDescriptorProto
// 993 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xac
,
0x56
,
0x4f
,
0x6f
,
0xe3
,
0xc4
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xa4
,
0x56
,
0xcf
,
0x6f
,
0xe3
,
0x44
,
0x1b
,
0xce
,
0xbf
,
0xa6
,
0xc9
,
0xdb
,
0xd4
,
0x49
,
0xa6
,
0xd5
,
0xfe
,
0xf2
,
0xeb
,
0x52
,
0xda
,
0xf5
,
0x14
,
0x6e
,
0x7e
,
0xf4
,
0x47
,
0x5e
,
0x5a
,
0xbb
,
0x99
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b
,
0xe0
,
0x8c
,
0x70
,
0x9c
,
0xe8
,
0xf6
,
0x6f
,
0x55
,
0xcf
,
0x6d
,
0x3e
,
0x7e
,
0x7c
,
0x61
,
0x4d
,
0x36
,
0xe9
,
0x17
,
0xdd
,
0x17
,
0x89
,
0xe1
,
0xd4
,
0xfa
,
0xa1
,
0x50
,
0x3c
,
0xbb
,
0xbc
,
0xfc
,
0xb1
,
0x60
,
0x44
,
0xf6
,
0x4f
,
0xfe
,
0x0b
,
0x00
,
0x00
,
0xff
,
0xff
,
0x7f
,
0x95
,
0xde
,
0xda
,
0x23
,
0x0a
,
0x00
,
0x9c
,
0x25
,
0xf6
,
0xbf
,
0xb0
,
0x7e
,
0x4b
,
0x01
,
0x6f
,
0x2e
,
0xac
,
0xbf
,
0x0a
,
0x5b
,
0x69
,
0xe0
,
0x00
,
0xcd
,
0x51
,
0xbf
,
0x7b
,
0x4a
,
0x38
,
0x16
,
0xd6
,
0xff
,
0x5d
,
0xa8
,
0x27
,
0x26
,
0x9f
,
0x3d
,
0xbb
,
0xb0
,
0x86
,
0x65
,
0xb9
,
0xfb
,
0x67
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0x4d
,
0x6c
,
0xbd
,
0x1b
,
0xaf
,
0x0a
,
0x00
,
0x00
,
}
}
gen/proto/go/nodemanager/v1/resource.pb.go
View file @
a934bfb6
...
@@ -129,9 +129,9 @@ func (m *DeviceInfo) GetDevicePower() uint64 {
...
@@ -129,9 +129,9 @@ func (m *DeviceInfo) GetDevicePower() uint64 {
}
}
type
WorkerContent
struct
{
type
WorkerContent
struct
{
WorkerPubkey
string
`protobuf:"bytes,1,opt,name=worker_pubkey,json=workerPubkey,proto3" json:"work
er_pubkey,omitempty"`
MinerPubkey
string
`protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"min
er_pubkey,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
Device
Proof
[]
byte
`protobuf:"bytes,3,opt,name=device_proof,json=deviceProof,proto3" json:"device_proof
,omitempty"`
Device
Signature
[]
byte
`protobuf:"bytes,3,opt,name=device_signature,json=deviceSignature,proto3" json:"device_signature
,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
@@ -161,9 +161,9 @@ func (m *WorkerContent) XXX_DiscardUnknown() {
...
@@ -161,9 +161,9 @@ func (m *WorkerContent) XXX_DiscardUnknown() {
var
xxx_messageInfo_WorkerContent
proto
.
InternalMessageInfo
var
xxx_messageInfo_WorkerContent
proto
.
InternalMessageInfo
func
(
m
*
WorkerContent
)
Get
Work
erPubkey
()
string
{
func
(
m
*
WorkerContent
)
Get
Min
erPubkey
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Work
erPubkey
return
m
.
Min
erPubkey
}
}
return
""
return
""
}
}
...
@@ -175,9 +175,9 @@ func (m *WorkerContent) GetDevices() []*DeviceInfo {
...
@@ -175,9 +175,9 @@ func (m *WorkerContent) GetDevices() []*DeviceInfo {
return
nil
return
nil
}
}
func
(
m
*
WorkerContent
)
GetDevice
Proof
()
[]
byte
{
func
(
m
*
WorkerContent
)
GetDevice
Signature
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Device
Proof
return
m
.
Device
Signature
}
}
return
nil
return
nil
}
}
...
@@ -191,29 +191,30 @@ func init() {
...
@@ -191,29 +191,30 @@ func init() {
func
init
()
{
proto
.
RegisterFile
(
"nodemanager/v1/resource.proto"
,
fileDescriptor_462e4441103de524
)
}
func
init
()
{
proto
.
RegisterFile
(
"nodemanager/v1/resource.proto"
,
fileDescriptor_462e4441103de524
)
}
var
fileDescriptor_462e4441103de524
=
[]
byte
{
var
fileDescriptor_462e4441103de524
=
[]
byte
{
// 383 bytes of a gzipped FileDescriptorProto
// 393 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x5c
,
0x91
,
0xcd
,
0x6a
,
0xdb
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x5c
,
0x92
,
0xcf
,
0x6e
,
0x9b
,
0x40
,
0x14
,
0x85
,
0x91
,
0x6c
,
0xda
,
0x7a
,
0xfc
,
0x07
,
0x5a
,
0x09
,
0xd3
,
0x52
,
0xd7
,
0xdd
,
0x78
,
0x53
,
0x10
,
0xc6
,
0x05
,
0xb6
,
0xda
,
0x7a
,
0xfd
,
0xaf
,
0xe2
,
0x84
,
0xac
,
0x56
,
0x75
,
0x7d
,
0x72
,
0x0f
,
0x09
,
0xb5
,
0x5d
,
0xb9
,
0x3b
,
0xb7
,
0x50
,
0x4a
,
0xb1
,
0x2b
,
0x4c
,
0x71
,
0x4c
,
0x30
,
0x18
,
0xfd
,
0x05
,
0xd1
,
0xf6
,
0xe4
,
0xde
,
0xdc
,
0x4a
,
0x55
,
0x55
,
0xd9
,
0x45
,
0xb4
,
0x72
,
0xac
,
0xc8
,
0x92
,
0x5c
,
0x2b
,
0xc2
,
0xd6
,
0x5c
,
0x31
,
0x1a
,
0xc9
,
0xe8
,
0x21
,
0xb2
,
0xcd
,
0x03
,
0x64
,
0x99
,
0x47
,
0xb5
,
0xc0
,
0x84
,
0x20
,
0x9b
,
0x1d
,
0xb4
,
0x2c
,
0x44
,
0x3c
,
0x47
,
0xa4
,
0x3c
,
0x40
,
0x8e
,
0x79
,
0x09
,
0xe4
,
0x25
,
0xb2
,
0xcc
,
0x53
,
0x04
,
0x8d
,
0x14
,
0x79
,
0x94
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
,
0x00
,
0xff
,
0xff
,
0x88
,
0x98
,
0xc1
,
0x27
,
0x83
,
0x02
,
0x00
,
0x00
,
}
}
gen/proto/go/witness/v1/request_response.pb.go
View file @
a934bfb6
...
@@ -99,7 +99,7 @@ func (m *WitnessStatusResponse) GetPeers() []string {
...
@@ -99,7 +99,7 @@ func (m *WitnessStatusResponse) GetPeers() []string {
type
PushProofRequest
struct
{
type
PushProofRequest
struct
{
Workload
uint64
`protobuf:"varint,1,opt,name=workload,proto3" json:"workload,omitempty"`
Workload
uint64
`protobuf:"varint,1,opt,name=workload,proto3" json:"workload,omitempty"`
TaskId
string
`protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskId
string
`protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
NmSignature
string
`protobuf:"bytes,3,opt,name=nm_signature,json=nmSignature,proto3" json:"nm
_signature,omitempty"`
ManagerSignature
string
`protobuf:"bytes,3,opt,name=manager_signature,json=managerSignature,proto3" json:"manager
_signature,omitempty"`
ContainerSignature
string
`protobuf:"bytes,4,opt,name=container_signature,json=containerSignature,proto3" json:"container_signature,omitempty"`
ContainerSignature
string
`protobuf:"bytes,4,opt,name=container_signature,json=containerSignature,proto3" json:"container_signature,omitempty"`
MinerSignature
string
`protobuf:"bytes,5,opt,name=miner_signature,json=minerSignature,proto3" json:"miner_signature,omitempty"`
MinerSignature
string
`protobuf:"bytes,5,opt,name=miner_signature,json=minerSignature,proto3" json:"miner_signature,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
...
@@ -145,9 +145,9 @@ func (m *PushProofRequest) GetTaskId() string {
...
@@ -145,9 +145,9 @@ func (m *PushProofRequest) GetTaskId() string {
return
""
return
""
}
}
func
(
m
*
PushProofRequest
)
Get
Nm
Signature
()
string
{
func
(
m
*
PushProofRequest
)
Get
Manager
Signature
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Nm
Signature
return
m
.
Manager
Signature
}
}
return
""
return
""
}
}
...
@@ -465,50 +465,51 @@ func (m *GetWithdrawProofResponse) GetMerkleProof() []string {
...
@@ -465,50 +465,51 @@ func (m *GetWithdrawProofResponse) GetMerkleProof() []string {
}
}
func
init
()
{
func
init
()
{
proto
.
RegisterType
((
*
WitnessStatusRequest
)(
nil
),
"witness.v1.
w
itnessStatusRequest"
)
proto
.
RegisterType
((
*
WitnessStatusRequest
)(
nil
),
"witness.v1.
W
itnessStatusRequest"
)
proto
.
RegisterType
((
*
WitnessStatusResponse
)(
nil
),
"witness.v1.
w
itnessStatusResponse"
)
proto
.
RegisterType
((
*
WitnessStatusResponse
)(
nil
),
"witness.v1.
W
itnessStatusResponse"
)
proto
.
RegisterType
((
*
PushProofRequest
)(
nil
),
"witness.v1.
p
ushProofRequest"
)
proto
.
RegisterType
((
*
PushProofRequest
)(
nil
),
"witness.v1.
P
ushProofRequest"
)
proto
.
RegisterType
((
*
PushProofResponse
)(
nil
),
"witness.v1.
p
ushProofResponse"
)
proto
.
RegisterType
((
*
PushProofResponse
)(
nil
),
"witness.v1.
P
ushProofResponse"
)
proto
.
RegisterType
((
*
GetMinerProofRequest
)(
nil
),
"witness.v1.
g
etMinerProofRequest"
)
proto
.
RegisterType
((
*
GetMinerProofRequest
)(
nil
),
"witness.v1.
G
etMinerProofRequest"
)
proto
.
RegisterType
((
*
GetMinerProofResponse
)(
nil
),
"witness.v1.
g
etMinerProofResponse"
)
proto
.
RegisterType
((
*
GetMinerProofResponse
)(
nil
),
"witness.v1.
G
etMinerProofResponse"
)
proto
.
RegisterType
((
*
GetProofRequest
)(
nil
),
"witness.v1.
g
etProofRequest"
)
proto
.
RegisterType
((
*
GetProofRequest
)(
nil
),
"witness.v1.
G
etProofRequest"
)
proto
.
RegisterType
((
*
GetProofResponse
)(
nil
),
"witness.v1.
g
etProofResponse"
)
proto
.
RegisterType
((
*
GetProofResponse
)(
nil
),
"witness.v1.
G
etProofResponse"
)
proto
.
RegisterType
((
*
GetWithdrawProofRequest
)(
nil
),
"witness.v1.
g
etWithdrawProofRequest"
)
proto
.
RegisterType
((
*
GetWithdrawProofRequest
)(
nil
),
"witness.v1.
G
etWithdrawProofRequest"
)
proto
.
RegisterType
((
*
GetWithdrawProofResponse
)(
nil
),
"witness.v1.
g
etWithdrawProofResponse"
)
proto
.
RegisterType
((
*
GetWithdrawProofResponse
)(
nil
),
"witness.v1.
G
etWithdrawProofResponse"
)
}
}
func
init
()
{
proto
.
RegisterFile
(
"witness/v1/request_response.proto"
,
fileDescriptor_fcd71b26d9e7af56
)
}
func
init
()
{
proto
.
RegisterFile
(
"witness/v1/request_response.proto"
,
fileDescriptor_fcd71b26d9e7af56
)
}
var
fileDescriptor_fcd71b26d9e7af56
=
[]
byte
{
var
fileDescriptor_fcd71b26d9e7af56
=
[]
byte
{
// 48
0
bytes of a gzipped FileDescriptorProto
// 48
3
bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x8c
,
0x53
,
0xc1
,
0x6a
,
0xdb
,
0x40
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x8c
,
0x53
,
0xc1
,
0x6a
,
0xdb
,
0x40
,
0x10
,
0x45
,
0x52
,
0xe2
,
0xd4
,
0xe3
,
0x92
,
0xb8
,
0x5b
,
0xc7
,
0x11
,
0x85
,
0x82
,
0xa3
,
0x1e
,
0x9a
,
0x10
,
0xc5
,
0x52
,
0xe2
,
0xd4
,
0x13
,
0x48
,
0x9c
,
0xad
,
0xe3
,
0x88
,
0x42
,
0xc1
,
0x55
,
0x0f
,
0x0d
,
0x4b
,
0x25
,
0x44
,
0x6e
,
0x29
,
0xf4
,
0xe0
,
0x4b
,
0x08
,
0x6d
,
0xc0
,
0x38
,
0x60
,
0x87
,
0x12
,
0x30
,
0x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,
0x47
,
0xd7
,
0xd7
,
0x3c
,
0x07
,
0xe1
,
0xaf
,
0x15
,
0xb8
,
0x1b
,
0x84
,
0xbf
,
0xed
,
0x76
,
0x05
,
0xee
,
0x2e
,
0x7b
,
0xdd
,
0xdf
,
0x2d
,
0x30
,
0xf7
,
0xe4
,
0x0d
,
0x83
,
0x9f
,
0x6b
,
0x70
,
0x33
,
0x0c
,
0x7e
,
0x5b
,
0xdd
,
0x1a
,
0x6b
,
0x54
,
0x34
,
0xa2
,
0x8a
,
0xfe
,
0xb1
,
0x1b
,
0xe6
,
0xe2
,
0xe2
,
0x62
,
0x10
,
0xde
,
0xd7
,
0xb4
,
0xdc
,
0x84
,
0x51
,
0xff
,
0x12
,
0x15
,
0x8d
,
0xa9
,
0xa2
,
0x7f
,
0xac
,
0x7d
,
0x53
,
0x38
,
0x3f
,
0x1f
,
0xcb
,
0xf9
,
0xdf
,
0x00
,
0x00
,
0x00
,
0xff
,
0xff
,
0x43
,
0x72
,
0x70
,
0x2a
,
0xd7
,
0x03
,
0x00
,
0x00
,
0x06
,
0xb7
,
0x4d
,
0xed
,
0x72
,
0xf6
,
0x37
,
0x00
,
0x00
,
0xff
,
0xff
,
0x6c
,
0xf5
,
0x84
,
0x7f
,
0xe1
,
0x03
,
0x00
,
0x00
,
}
}
gen/proto/go/witness/v1/service.pb.go
View file @
a934bfb6
...
@@ -23,27 +23,26 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
...
@@ -23,27 +23,26 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func
init
()
{
proto
.
RegisterFile
(
"witness/v1/service.proto"
,
fileDescriptor_687af857651c0e7f
)
}
func
init
()
{
proto
.
RegisterFile
(
"witness/v1/service.proto"
,
fileDescriptor_687af857651c0e7f
)
}
var
fileDescriptor_687af857651c0e7f
=
[]
byte
{
var
fileDescriptor_687af857651c0e7f
=
[]
byte
{
// 337 bytes of a gzipped FileDescriptorProto
// 335 bytes of a gzipped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ff
,
0x05
,
0x0c
,
0xc7
,
0x21
,
0x86
,
0xdf
,
0xce
,
0x9e
,
0x11
,
0xda
,
0xed
,
0x80
,
0x8d
,
0xfe
,
0x2f
,
0xb7
,
0x57
,
0x53
,
0xae
,
0x7f
,
0x02
,
0x00
,
0x00
,
0xff
,
0xff
,
0xd8
,
0x30
,
0x98
,
0x73
,
0xbd
,
0x02
,
0x00
,
0x5c
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0xcf
,
0x7f
,
0x10
,
0x74
,
0xbd
,
0x02
,
0x00
,
0x00
,
0x00
,
}
}
gen/proto/go/witness/v1/service_grpc.pb.go
View file @
a934bfb6
...
@@ -39,7 +39,7 @@ func NewWitnessServiceClient(cc grpc.ClientConnInterface) WitnessServiceClient {
...
@@ -39,7 +39,7 @@ func NewWitnessServiceClient(cc grpc.ClientConnInterface) WitnessServiceClient {
func
(
c
*
witnessServiceClient
)
WitnessStatus
(
ctx
context
.
Context
,
in
*
WitnessStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
WitnessStatusResponse
,
error
)
{
func
(
c
*
witnessServiceClient
)
WitnessStatus
(
ctx
context
.
Context
,
in
*
WitnessStatusRequest
,
opts
...
grpc
.
CallOption
)
(
*
WitnessStatusResponse
,
error
)
{
out
:=
new
(
WitnessStatusResponse
)
out
:=
new
(
WitnessStatusResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
w
itnessService/WitnessStatus"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
W
itnessService/WitnessStatus"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -48,7 +48,7 @@ func (c *witnessServiceClient) WitnessStatus(ctx context.Context, in *WitnessSta
...
@@ -48,7 +48,7 @@ func (c *witnessServiceClient) WitnessStatus(ctx context.Context, in *WitnessSta
func
(
c
*
witnessServiceClient
)
PushProof
(
ctx
context
.
Context
,
in
*
PushProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
PushProofResponse
,
error
)
{
func
(
c
*
witnessServiceClient
)
PushProof
(
ctx
context
.
Context
,
in
*
PushProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
PushProofResponse
,
error
)
{
out
:=
new
(
PushProofResponse
)
out
:=
new
(
PushProofResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
w
itnessService/PushProof"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
W
itnessService/PushProof"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -57,7 +57,7 @@ func (c *witnessServiceClient) PushProof(ctx context.Context, in *PushProofReque
...
@@ -57,7 +57,7 @@ func (c *witnessServiceClient) PushProof(ctx context.Context, in *PushProofReque
func
(
c
*
witnessServiceClient
)
GetMinerProof
(
ctx
context
.
Context
,
in
*
GetMinerProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetMinerProofResponse
,
error
)
{
func
(
c
*
witnessServiceClient
)
GetMinerProof
(
ctx
context
.
Context
,
in
*
GetMinerProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetMinerProofResponse
,
error
)
{
out
:=
new
(
GetMinerProofResponse
)
out
:=
new
(
GetMinerProofResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
w
itnessService/GetMinerProof"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
W
itnessService/GetMinerProof"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -66,7 +66,7 @@ func (c *witnessServiceClient) GetMinerProof(ctx context.Context, in *GetMinerPr
...
@@ -66,7 +66,7 @@ func (c *witnessServiceClient) GetMinerProof(ctx context.Context, in *GetMinerPr
func
(
c
*
witnessServiceClient
)
GetProof
(
ctx
context
.
Context
,
in
*
GetProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetProofResponse
,
error
)
{
func
(
c
*
witnessServiceClient
)
GetProof
(
ctx
context
.
Context
,
in
*
GetProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetProofResponse
,
error
)
{
out
:=
new
(
GetProofResponse
)
out
:=
new
(
GetProofResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
w
itnessService/GetProof"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
W
itnessService/GetProof"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -75,7 +75,7 @@ func (c *witnessServiceClient) GetProof(ctx context.Context, in *GetProofRequest
...
@@ -75,7 +75,7 @@ func (c *witnessServiceClient) GetProof(ctx context.Context, in *GetProofRequest
func
(
c
*
witnessServiceClient
)
GetWithdrawProof
(
ctx
context
.
Context
,
in
*
GetWithdrawProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetWithdrawProofResponse
,
error
)
{
func
(
c
*
witnessServiceClient
)
GetWithdrawProof
(
ctx
context
.
Context
,
in
*
GetWithdrawProofRequest
,
opts
...
grpc
.
CallOption
)
(
*
GetWithdrawProofResponse
,
error
)
{
out
:=
new
(
GetWithdrawProofResponse
)
out
:=
new
(
GetWithdrawProofResponse
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
w
itnessService/GetWithdrawProof"
,
in
,
out
,
opts
...
)
err
:=
c
.
cc
.
Invoke
(
ctx
,
"/witness.v1.
W
itnessService/GetWithdrawProof"
,
in
,
out
,
opts
...
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
@@ -136,7 +136,7 @@ func _WitnessService_WitnessStatus_Handler(srv interface{}, ctx context.Context,
...
@@ -136,7 +136,7 @@ func _WitnessService_WitnessStatus_Handler(srv interface{}, ctx context.Context,
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
Server
:
srv
,
FullMethod
:
"/witness.v1.
w
itnessService/WitnessStatus"
,
FullMethod
:
"/witness.v1.
W
itnessService/WitnessStatus"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
WitnessServiceServer
)
.
WitnessStatus
(
ctx
,
req
.
(
*
WitnessStatusRequest
))
return
srv
.
(
WitnessServiceServer
)
.
WitnessStatus
(
ctx
,
req
.
(
*
WitnessStatusRequest
))
...
@@ -154,7 +154,7 @@ func _WitnessService_PushProof_Handler(srv interface{}, ctx context.Context, dec
...
@@ -154,7 +154,7 @@ func _WitnessService_PushProof_Handler(srv interface{}, ctx context.Context, dec
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
Server
:
srv
,
FullMethod
:
"/witness.v1.
w
itnessService/PushProof"
,
FullMethod
:
"/witness.v1.
W
itnessService/PushProof"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
WitnessServiceServer
)
.
PushProof
(
ctx
,
req
.
(
*
PushProofRequest
))
return
srv
.
(
WitnessServiceServer
)
.
PushProof
(
ctx
,
req
.
(
*
PushProofRequest
))
...
@@ -172,7 +172,7 @@ func _WitnessService_GetMinerProof_Handler(srv interface{}, ctx context.Context,
...
@@ -172,7 +172,7 @@ func _WitnessService_GetMinerProof_Handler(srv interface{}, ctx context.Context,
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
Server
:
srv
,
FullMethod
:
"/witness.v1.
w
itnessService/GetMinerProof"
,
FullMethod
:
"/witness.v1.
W
itnessService/GetMinerProof"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
WitnessServiceServer
)
.
GetMinerProof
(
ctx
,
req
.
(
*
GetMinerProofRequest
))
return
srv
.
(
WitnessServiceServer
)
.
GetMinerProof
(
ctx
,
req
.
(
*
GetMinerProofRequest
))
...
@@ -190,7 +190,7 @@ func _WitnessService_GetProof_Handler(srv interface{}, ctx context.Context, dec
...
@@ -190,7 +190,7 @@ func _WitnessService_GetProof_Handler(srv interface{}, ctx context.Context, dec
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
Server
:
srv
,
FullMethod
:
"/witness.v1.
w
itnessService/GetProof"
,
FullMethod
:
"/witness.v1.
W
itnessService/GetProof"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
WitnessServiceServer
)
.
GetProof
(
ctx
,
req
.
(
*
GetProofRequest
))
return
srv
.
(
WitnessServiceServer
)
.
GetProof
(
ctx
,
req
.
(
*
GetProofRequest
))
...
@@ -208,7 +208,7 @@ func _WitnessService_GetWithdrawProof_Handler(srv interface{}, ctx context.Conte
...
@@ -208,7 +208,7 @@ func _WitnessService_GetWithdrawProof_Handler(srv interface{}, ctx context.Conte
}
}
info
:=
&
grpc
.
UnaryServerInfo
{
info
:=
&
grpc
.
UnaryServerInfo
{
Server
:
srv
,
Server
:
srv
,
FullMethod
:
"/witness.v1.
w
itnessService/GetWithdrawProof"
,
FullMethod
:
"/witness.v1.
W
itnessService/GetWithdrawProof"
,
}
}
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
handler
:=
func
(
ctx
context
.
Context
,
req
interface
{})
(
interface
{},
error
)
{
return
srv
.
(
WitnessServiceServer
)
.
GetWithdrawProof
(
ctx
,
req
.
(
*
GetWithdrawProofRequest
))
return
srv
.
(
WitnessServiceServer
)
.
GetWithdrawProof
(
ctx
,
req
.
(
*
GetWithdrawProofRequest
))
...
@@ -220,7 +220,7 @@ func _WitnessService_GetWithdrawProof_Handler(srv interface{}, ctx context.Conte
...
@@ -220,7 +220,7 @@ func _WitnessService_GetWithdrawProof_Handler(srv interface{}, ctx context.Conte
// It's only intended for direct use with grpc.RegisterService,
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
// and not to be introspected or modified (even as a copy)
var
WitnessService_ServiceDesc
=
grpc
.
ServiceDesc
{
var
WitnessService_ServiceDesc
=
grpc
.
ServiceDesc
{
ServiceName
:
"witness.v1.
w
itnessService"
,
ServiceName
:
"witness.v1.
W
itnessService"
,
HandlerType
:
(
*
WitnessServiceServer
)(
nil
),
HandlerType
:
(
*
WitnessServiceServer
)(
nil
),
Methods
:
[]
grpc
.
MethodDesc
{
Methods
:
[]
grpc
.
MethodDesc
{
{
{
...
...
nodemanager/nodemanager/v1/request_response.proto
View file @
a934bfb6
...
@@ -28,15 +28,10 @@ message ManagerMessage {
...
@@ -28,15 +28,10 @@ message ManagerMessage {
}
}
}
}
enum
TaskType
{
SystemTask
=
0
;
UserTask
=
1
;
CustomTask
=
2
;
}
message
GoodbyeMessage
{
message
GoodbyeMessage
{
string
reason
=
1
;
string
reason
=
1
;
}
}
message
HeartbeatRequest
{
message
HeartbeatRequest
{
uint64
timestamp
=
1
;
uint64
timestamp
=
1
;
}
}
...
@@ -49,7 +44,6 @@ message StatusRequest {
...
@@ -49,7 +44,6 @@ message StatusRequest {
}
}
message
DeviceUsageRequest
{
message
DeviceUsageRequest
{
}
}
message
DeviceUsageResponse
{
message
DeviceUsageResponse
{
...
@@ -74,20 +68,20 @@ message StatusResponse {
...
@@ -74,20 +68,20 @@ message StatusResponse {
message
PushTaskMessage
{
message
PushTaskMessage
{
string
task_id
=
1
;
string
task_id
=
1
;
TaskType
task_type
=
2
;
base.v1.
TaskType
task_type
=
2
;
uint64
work
_
load
=
3
;
uint64
workload
=
3
;
string
task_cmd
=
4
;
//
string
task_cmd
=
4
;
//
bytes
task_param
=
5
;
bytes
task_param
=
5
;
}
}
//
容器签名 (task_id+hash(task_param)+hash(task_result
))
//
container_signature = sign(hash(task_id+hash(task_param)+hash(task_result)
))
//
矿工签名 (task_id+hash(task_param)+hash(task_result
))
//
miner_signature = sign(hash((task_id+hash(task_param)+hash(task_result)
))
//
nodemanager签名 (task_id+hash(task_param)+hash(task_result)+docker_signature+miner_signature+workload
)
//
manager_signature = sign(hash((task_id+hash(task_param)+hash(task_result)+container_signature+miner_signature+workload)
)
message
SubmitTaskResult
{
message
SubmitTaskResult
{
string
task_id
=
1
;
string
task_id
=
1
;
bytes
task_proof
=
2
;
// 容器签名
bytes
container_signature
=
2
;
// 容器签名
bytes
work
er_signature
=
3
;
// worker 签名
bytes
min
er_signature
=
3
;
// worker 签名
bytes
task_result
=
4
;
// 任务结果
bytes
task_result
=
4
;
// 任务结果
}
}
...
@@ -96,20 +90,16 @@ message ProofTaskResult {
...
@@ -96,20 +90,16 @@ message ProofTaskResult {
bytes
manager_signature
=
2
;
// nodemanager 签名
bytes
manager_signature
=
2
;
// nodemanager 签名
}
}
message
DispatchTaskRequest
{
message
DispatchTaskRequest
{
string
task_id
=
1
;
base.v1.TaskContent
task_data
=
1
;
TaskType
task_type
=
2
;
string
miner
=
2
;
base.v1.TaskContent
task_data
=
3
;
string
worker
=
4
;
}
}
message
DispatchTaskResponse
{
message
DispatchTaskResponse
{
string
task_id
=
1
;
string
task_id
=
1
;
string
worker_id
=
2
;
string
miner
=
2
;
}
}
message
ManagerListRequest
{
message
ManagerListRequest
{
}
}
...
...
nodemanager/nodemanager/v1/resource.proto
View file @
a934bfb6
...
@@ -16,7 +16,7 @@ message DeviceInfo {
...
@@ -16,7 +16,7 @@ message DeviceInfo {
}
}
message
WorkerContent
{
message
WorkerContent
{
string
work
er_pubkey
=
1
;
string
min
er_pubkey
=
1
;
repeated
DeviceInfo
devices
=
2
;
repeated
DeviceInfo
devices
=
2
;
bytes
device_
proof
=
3
;
// 由测试程序对设备信息进行签名
bytes
device_
signature
=
3
;
// 由测试程序对设备信息进行签名
}
}
\ No newline at end of file
witness/witness/v1/request_response.proto
View file @
a934bfb6
...
@@ -2,49 +2,49 @@ syntax = "proto3";
...
@@ -2,49 +2,49 @@ syntax = "proto3";
package
witness
.
v1
;
package
witness
.
v1
;
message
w
itnessStatusRequest
{
message
W
itnessStatusRequest
{
}
}
message
w
itnessStatusResponse
{
message
W
itnessStatusResponse
{
string
witness_id
=
1
;
string
witness_id
=
1
;
repeated
string
peers
=
2
;
repeated
string
peers
=
2
;
}
}
message
p
ushProofRequest
{
message
P
ushProofRequest
{
uint64
workload
=
1
;
uint64
workload
=
1
;
string
task_id
=
2
;
string
task_id
=
2
;
string
nm
_signature
=
3
;
string
manager
_signature
=
3
;
string
container_signature
=
4
;
string
container_signature
=
4
;
string
miner_signature
=
5
;
string
miner_signature
=
5
;
}
}
message
p
ushProofResponse
{
message
P
ushProofResponse
{
uint64
workload
=
1
;
uint64
workload
=
1
;
}
}
message
g
etMinerProofRequest
{
message
G
etMinerProofRequest
{
string
ymd
=
1
;
string
ymd
=
1
;
string
miner
=
2
;
string
miner
=
2
;
}
}
message
g
etMinerProofResponse
{
message
G
etMinerProofResponse
{
uint64
workload
=
1
;
uint64
workload
=
1
;
string
amount
=
2
;
string
amount
=
2
;
}
}
message
g
etProofRequest
{
message
G
etProofRequest
{
string
ymd
=
1
;
string
ymd
=
1
;
}
}
message
g
etProofResponse
{
message
G
etProofResponse
{
uint64
workload
=
1
;
uint64
workload
=
1
;
}
}
message
g
etWithdrawProofRequest
{
message
G
etWithdrawProofRequest
{
string
address
=
1
;
string
address
=
1
;
}
}
message
g
etWithdrawProofResponse
{
message
G
etWithdrawProofResponse
{
string
address
=
1
;
string
address
=
1
;
string
amount
=
2
;
string
amount
=
2
;
repeated
string
merkleProof
=
3
;
repeated
string
merkleProof
=
3
;
...
...
witness/witness/v1/service.proto
View file @
a934bfb6
...
@@ -5,12 +5,12 @@ package witness.v1;
...
@@ -5,12 +5,12 @@ package witness.v1;
import
"witness/v1/request_response.proto"
;
import
"witness/v1/request_response.proto"
;
service
w
itnessService
{
service
W
itnessService
{
rpc
WitnessStatus
(
witnessStatusRequest
)
returns
(
w
itnessStatusResponse
)
{};
// witness status
rpc
WitnessStatus
(
WitnessStatusRequest
)
returns
(
W
itnessStatusResponse
)
{};
// witness status
rpc
PushProof
(
pushProofRequest
)
returns
(
p
ushProofResponse
)
{};
// miner push proof
rpc
PushProof
(
PushProofRequest
)
returns
(
P
ushProofResponse
)
{};
// miner push proof
rpc
GetMinerProof
(
getMinerProofRequest
)
returns
(
g
etMinerProofResponse
)
{};
// proof of a miner per day
rpc
GetMinerProof
(
GetMinerProofRequest
)
returns
(
G
etMinerProofResponse
)
{};
// proof of a miner per day
rpc
GetProof
(
getProofRequest
)
returns
(
g
etProofResponse
)
{};
// proof per day
rpc
GetProof
(
GetProofRequest
)
returns
(
G
etProofResponse
)
{};
// proof per day
rpc
GetWithdrawProof
(
getWithdrawProofRequest
)
returns
(
g
etWithdrawProofResponse
)
{};
// get merkle proof of withdraw token
rpc
GetWithdrawProof
(
GetWithdrawProofRequest
)
returns
(
G
etWithdrawProofResponse
)
{};
// get merkle proof of withdraw token
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment