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
cc5ae358
Commit
cc5ae358
authored
Mar 01, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update protocol
parent
e3413c73
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
271 additions
and
153 deletions
+271
-153
request_response.pb.go
gen/proto/go/nodemanager/v1/request_response.pb.go
+251
-143
request_response.proto
nodemanager/nodemanager/v1/request_response.proto
+19
-9
resource.proto
nodemanager/nodemanager/v1/resource.proto
+1
-1
No files found.
gen/proto/go/nodemanager/v1/request_response.pb.go
View file @
cc5ae358
...
@@ -32,6 +32,8 @@ type WorkerMessage struct {
...
@@ -32,6 +32,8 @@ type WorkerMessage struct {
// *WorkerMessage_GoodbyeMessage
// *WorkerMessage_GoodbyeMessage
// *WorkerMessage_ResourceMap
// *WorkerMessage_ResourceMap
// *WorkerMessage_FetchStandardTask
// *WorkerMessage_FetchStandardTask
// *WorkerMessage_RegisteMessage
// *WorkerMessage_NodeInfo
Message
isWorkerMessage_Message
`protobuf_oneof:"message"`
Message
isWorkerMessage_Message
`protobuf_oneof:"message"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
...
@@ -76,7 +78,7 @@ type WorkerMessage_Status struct {
...
@@ -76,7 +78,7 @@ type WorkerMessage_Status struct {
Status
*
StatusResponse
`protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
Status
*
StatusResponse
`protobuf:"bytes,3,opt,name=status,proto3,oneof" json:"status,omitempty"`
}
}
type
WorkerMessage_DeviceInfo
struct
{
type
WorkerMessage_DeviceInfo
struct
{
DeviceInfo
*
DeviceInfo
Respons
e
`protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,proto3,oneof" json:"device_info,omitempty"`
DeviceInfo
*
DeviceInfo
Messag
e
`protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,proto3,oneof" json:"device_info,omitempty"`
}
}
type
WorkerMessage_DeviceUsage
struct
{
type
WorkerMessage_DeviceUsage
struct
{
DeviceUsage
*
DeviceUsageResponse
`protobuf:"bytes,5,opt,name=device_usage,json=deviceUsage,proto3,oneof" json:"device_usage,omitempty"`
DeviceUsage
*
DeviceUsageResponse
`protobuf:"bytes,5,opt,name=device_usage,json=deviceUsage,proto3,oneof" json:"device_usage,omitempty"`
...
@@ -90,6 +92,12 @@ type WorkerMessage_ResourceMap struct {
...
@@ -90,6 +92,12 @@ type WorkerMessage_ResourceMap struct {
type
WorkerMessage_FetchStandardTask
struct
{
type
WorkerMessage_FetchStandardTask
struct
{
FetchStandardTask
*
FetchStandardTask
`protobuf:"bytes,8,opt,name=fetch_standard_task,json=fetchStandardTask,proto3,oneof" json:"fetch_standard_task,omitempty"`
FetchStandardTask
*
FetchStandardTask
`protobuf:"bytes,8,opt,name=fetch_standard_task,json=fetchStandardTask,proto3,oneof" json:"fetch_standard_task,omitempty"`
}
}
type
WorkerMessage_RegisteMessage
struct
{
RegisteMessage
*
RegisteMessage
`protobuf:"bytes,9,opt,name=registe_message,json=registeMessage,proto3,oneof" json:"registe_message,omitempty"`
}
type
WorkerMessage_NodeInfo
struct
{
NodeInfo
*
NodeInfoResponse
`protobuf:"bytes,10,opt,name=node_info,json=nodeInfo,proto3,oneof" json:"node_info,omitempty"`
}
func
(
*
WorkerMessage_HeartbeatResponse
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_HeartbeatResponse
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_SubmitTaskResult
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_SubmitTaskResult
)
isWorkerMessage_Message
()
{}
...
@@ -99,6 +107,8 @@ func (*WorkerMessage_DeviceUsage) isWorkerMessage_Message() {}
...
@@ -99,6 +107,8 @@ func (*WorkerMessage_DeviceUsage) isWorkerMessage_Message() {}
func
(
*
WorkerMessage_GoodbyeMessage
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_GoodbyeMessage
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_ResourceMap
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_ResourceMap
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_FetchStandardTask
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_FetchStandardTask
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_RegisteMessage
)
isWorkerMessage_Message
()
{}
func
(
*
WorkerMessage_NodeInfo
)
isWorkerMessage_Message
()
{}
func
(
m
*
WorkerMessage
)
GetMessage
()
isWorkerMessage_Message
{
func
(
m
*
WorkerMessage
)
GetMessage
()
isWorkerMessage_Message
{
if
m
!=
nil
{
if
m
!=
nil
{
...
@@ -128,7 +138,7 @@ func (m *WorkerMessage) GetStatus() *StatusResponse {
...
@@ -128,7 +138,7 @@ func (m *WorkerMessage) GetStatus() *StatusResponse {
return
nil
return
nil
}
}
func
(
m
*
WorkerMessage
)
GetDeviceInfo
()
*
DeviceInfo
Respons
e
{
func
(
m
*
WorkerMessage
)
GetDeviceInfo
()
*
DeviceInfo
Messag
e
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
WorkerMessage_DeviceInfo
);
ok
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
WorkerMessage_DeviceInfo
);
ok
{
return
x
.
DeviceInfo
return
x
.
DeviceInfo
}
}
...
@@ -163,6 +173,20 @@ func (m *WorkerMessage) GetFetchStandardTask() *FetchStandardTask {
...
@@ -163,6 +173,20 @@ func (m *WorkerMessage) GetFetchStandardTask() *FetchStandardTask {
return
nil
return
nil
}
}
func
(
m
*
WorkerMessage
)
GetRegisteMessage
()
*
RegisteMessage
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
WorkerMessage_RegisteMessage
);
ok
{
return
x
.
RegisteMessage
}
return
nil
}
func
(
m
*
WorkerMessage
)
GetNodeInfo
()
*
NodeInfoResponse
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
WorkerMessage_NodeInfo
);
ok
{
return
x
.
NodeInfo
}
return
nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
// XXX_OneofWrappers is for the internal use of the proto package.
func
(
*
WorkerMessage
)
XXX_OneofWrappers
()
[]
interface
{}
{
func
(
*
WorkerMessage
)
XXX_OneofWrappers
()
[]
interface
{}
{
return
[]
interface
{}{
return
[]
interface
{}{
...
@@ -174,6 +198,8 @@ func (*WorkerMessage) XXX_OneofWrappers() []interface{} {
...
@@ -174,6 +198,8 @@ func (*WorkerMessage) XXX_OneofWrappers() []interface{} {
(
*
WorkerMessage_GoodbyeMessage
)(
nil
),
(
*
WorkerMessage_GoodbyeMessage
)(
nil
),
(
*
WorkerMessage_ResourceMap
)(
nil
),
(
*
WorkerMessage_ResourceMap
)(
nil
),
(
*
WorkerMessage_FetchStandardTask
)(
nil
),
(
*
WorkerMessage_FetchStandardTask
)(
nil
),
(
*
WorkerMessage_RegisteMessage
)(
nil
),
(
*
WorkerMessage_NodeInfo
)(
nil
),
}
}
}
}
...
@@ -183,7 +209,6 @@ type ManagerMessage struct {
...
@@ -183,7 +209,6 @@ type ManagerMessage struct {
// *ManagerMessage_PushTaskMessage
// *ManagerMessage_PushTaskMessage
// *ManagerMessage_ProofTaskResult
// *ManagerMessage_ProofTaskResult
// *ManagerMessage_StatusRequest
// *ManagerMessage_StatusRequest
// *ManagerMessage_DeviceRequest
// *ManagerMessage_DeviceUsage
// *ManagerMessage_DeviceUsage
// *ManagerMessage_GoodbyeMessage
// *ManagerMessage_GoodbyeMessage
Message
isManagerMessage_Message
`protobuf_oneof:"message"`
Message
isManagerMessage_Message
`protobuf_oneof:"message"`
...
@@ -232,21 +257,17 @@ type ManagerMessage_ProofTaskResult struct {
...
@@ -232,21 +257,17 @@ type ManagerMessage_ProofTaskResult struct {
type
ManagerMessage_StatusRequest
struct
{
type
ManagerMessage_StatusRequest
struct
{
StatusRequest
*
StatusRequest
`protobuf:"bytes,4,opt,name=status_request,json=statusRequest,proto3,oneof" json:"status_request,omitempty"`
StatusRequest
*
StatusRequest
`protobuf:"bytes,4,opt,name=status_request,json=statusRequest,proto3,oneof" json:"status_request,omitempty"`
}
}
type
ManagerMessage_DeviceRequest
struct
{
DeviceRequest
*
DeviceInfoRequest
`protobuf:"bytes,5,opt,name=device_request,json=deviceRequest,proto3,oneof" json:"device_request,omitempty"`
}
type
ManagerMessage_DeviceUsage
struct
{
type
ManagerMessage_DeviceUsage
struct
{
DeviceUsage
*
DeviceUsageRequest
`protobuf:"bytes,
6
,opt,name=device_usage,json=deviceUsage,proto3,oneof" json:"device_usage,omitempty"`
DeviceUsage
*
DeviceUsageRequest
`protobuf:"bytes,
5
,opt,name=device_usage,json=deviceUsage,proto3,oneof" json:"device_usage,omitempty"`
}
}
type
ManagerMessage_GoodbyeMessage
struct
{
type
ManagerMessage_GoodbyeMessage
struct
{
GoodbyeMessage
*
GoodbyeMessage
`protobuf:"bytes,
7
,opt,name=goodbye_message,json=goodbyeMessage,proto3,oneof" json:"goodbye_message,omitempty"`
GoodbyeMessage
*
GoodbyeMessage
`protobuf:"bytes,
6
,opt,name=goodbye_message,json=goodbyeMessage,proto3,oneof" json:"goodbye_message,omitempty"`
}
}
func
(
*
ManagerMessage_HeartbeatRequest
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_HeartbeatRequest
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_PushTaskMessage
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_PushTaskMessage
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_ProofTaskResult
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_ProofTaskResult
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_StatusRequest
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_StatusRequest
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_DeviceRequest
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_DeviceUsage
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_DeviceUsage
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_GoodbyeMessage
)
isManagerMessage_Message
()
{}
func
(
*
ManagerMessage_GoodbyeMessage
)
isManagerMessage_Message
()
{}
...
@@ -285,13 +306,6 @@ func (m *ManagerMessage) GetStatusRequest() *StatusRequest {
...
@@ -285,13 +306,6 @@ func (m *ManagerMessage) GetStatusRequest() *StatusRequest {
return
nil
return
nil
}
}
func
(
m
*
ManagerMessage
)
GetDeviceRequest
()
*
DeviceInfoRequest
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
ManagerMessage_DeviceRequest
);
ok
{
return
x
.
DeviceRequest
}
return
nil
}
func
(
m
*
ManagerMessage
)
GetDeviceUsage
()
*
DeviceUsageRequest
{
func
(
m
*
ManagerMessage
)
GetDeviceUsage
()
*
DeviceUsageRequest
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
ManagerMessage_DeviceUsage
);
ok
{
if
x
,
ok
:=
m
.
GetMessage
()
.
(
*
ManagerMessage_DeviceUsage
);
ok
{
return
x
.
DeviceUsage
return
x
.
DeviceUsage
...
@@ -313,7 +327,6 @@ func (*ManagerMessage) XXX_OneofWrappers() []interface{} {
...
@@ -313,7 +327,6 @@ func (*ManagerMessage) XXX_OneofWrappers() []interface{} {
(
*
ManagerMessage_PushTaskMessage
)(
nil
),
(
*
ManagerMessage_PushTaskMessage
)(
nil
),
(
*
ManagerMessage_ProofTaskResult
)(
nil
),
(
*
ManagerMessage_ProofTaskResult
)(
nil
),
(
*
ManagerMessage_StatusRequest
)(
nil
),
(
*
ManagerMessage_StatusRequest
)(
nil
),
(
*
ManagerMessage_DeviceRequest
)(
nil
),
(
*
ManagerMessage_DeviceUsage
)(
nil
),
(
*
ManagerMessage_DeviceUsage
)(
nil
),
(
*
ManagerMessage_GoodbyeMessage
)(
nil
),
(
*
ManagerMessage_GoodbyeMessage
)(
nil
),
}
}
...
@@ -561,74 +574,164 @@ func (m *DeviceInfoRequest) XXX_DiscardUnknown() {
...
@@ -561,74 +574,164 @@ func (m *DeviceInfoRequest) XXX_DiscardUnknown() {
var
xxx_messageInfo_DeviceInfoRequest
proto
.
InternalMessageInfo
var
xxx_messageInfo_DeviceInfoRequest
proto
.
InternalMessageInfo
type
DeviceInfoResponse
struct
{
type
DeviceInfoMessage
struct
{
MinerPubkey
string
`protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
BenefitAddress
string
`protobuf:"bytes,2,opt,name=benefit_address,json=benefitAddress,proto3" json:"benefit_address,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
DeviceSignature
[]
byte
`protobuf:"bytes,4,opt,name=device_signature,json=deviceSignature,proto3" json:"device_signature,omitempty"`
DeviceSignature
[]
byte
`protobuf:"bytes,4,opt,name=device_signature,json=deviceSignature,proto3" json:"device_signature,omitempty"`
DeviceIps
[]
string
`protobuf:"bytes,5,rep,name=device_ips,json=deviceIps,proto3" json:"device_ips,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
*
DeviceInfo
Response
)
Reset
()
{
*
m
=
DeviceInfoRespons
e
{}
}
func
(
m
*
DeviceInfo
Message
)
Reset
()
{
*
m
=
DeviceInfoMessag
e
{}
}
func
(
m
*
DeviceInfo
Respons
e
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
DeviceInfo
Messag
e
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DeviceInfo
Respons
e
)
ProtoMessage
()
{}
func
(
*
DeviceInfo
Messag
e
)
ProtoMessage
()
{}
func
(
*
DeviceInfo
Respons
e
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
DeviceInfo
Messag
e
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
9
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
9
}
}
}
func
(
m
*
DeviceInfo
Respons
e
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
DeviceInfo
Messag
e
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DeviceInfo
Respons
e
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_DeviceInfo
Messag
e
.
Unmarshal
(
m
,
b
)
}
}
func
(
m
*
DeviceInfo
Respons
e
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
func
(
m
*
DeviceInfo
Messag
e
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_DeviceInfo
Respons
e
.
Marshal
(
b
,
m
,
deterministic
)
return
xxx_messageInfo_DeviceInfo
Messag
e
.
Marshal
(
b
,
m
,
deterministic
)
}
}
func
(
m
*
DeviceInfo
Respons
e
)
XXX_Merge
(
src
proto
.
Message
)
{
func
(
m
*
DeviceInfo
Messag
e
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_DeviceInfo
Respons
e
.
Merge
(
m
,
src
)
xxx_messageInfo_DeviceInfo
Messag
e
.
Merge
(
m
,
src
)
}
}
func
(
m
*
DeviceInfo
Respons
e
)
XXX_Size
()
int
{
func
(
m
*
DeviceInfo
Messag
e
)
XXX_Size
()
int
{
return
xxx_messageInfo_DeviceInfo
Respons
e
.
Size
(
m
)
return
xxx_messageInfo_DeviceInfo
Messag
e
.
Size
(
m
)
}
}
func
(
m
*
DeviceInfo
Respons
e
)
XXX_DiscardUnknown
()
{
func
(
m
*
DeviceInfo
Messag
e
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_DeviceInfo
Respons
e
.
DiscardUnknown
(
m
)
xxx_messageInfo_DeviceInfo
Messag
e
.
DiscardUnknown
(
m
)
}
}
var
xxx_messageInfo_DeviceInfo
Respons
e
proto
.
InternalMessageInfo
var
xxx_messageInfo_DeviceInfo
Messag
e
proto
.
InternalMessageInfo
func
(
m
*
DeviceInfo
Response
)
GetMinerPubkey
()
string
{
func
(
m
*
DeviceInfo
Message
)
GetDevices
()
[]
*
DeviceInfo
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
MinerPubkey
return
m
.
Devices
}
}
return
""
return
nil
}
}
func
(
m
*
DeviceInfo
Response
)
GetBenefitAddress
()
string
{
func
(
m
*
DeviceInfo
Message
)
GetDeviceSignature
()
[]
byte
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
BenefitAddress
return
m
.
DeviceSignature
}
}
return
""
return
nil
}
}
func
(
m
*
DeviceInfoResponse
)
GetDevices
()
[]
*
DeviceInfo
{
type
RegisteMessage
struct
{
DeviceIp
string
`protobuf:"bytes,1,opt,name=device_ip,json=deviceIp,proto3" json:"device_ip,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RegisteMessage
)
Reset
()
{
*
m
=
RegisteMessage
{}
}
func
(
m
*
RegisteMessage
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RegisteMessage
)
ProtoMessage
()
{}
func
(
*
RegisteMessage
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
10
}
}
func
(
m
*
RegisteMessage
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RegisteMessage
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RegisteMessage
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RegisteMessage
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
RegisteMessage
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RegisteMessage
.
Merge
(
m
,
src
)
}
func
(
m
*
RegisteMessage
)
XXX_Size
()
int
{
return
xxx_messageInfo_RegisteMessage
.
Size
(
m
)
}
func
(
m
*
RegisteMessage
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RegisteMessage
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_RegisteMessage
proto
.
InternalMessageInfo
func
(
m
*
RegisteMessage
)
GetDeviceIp
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
Device
s
return
m
.
Device
Ip
}
}
return
nil
return
""
}
type
NodeInfoRequest
struct
{
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
}
func
(
m
*
DeviceInfoResponse
)
GetDeviceSignature
()
[]
byte
{
func
(
m
*
NodeInfoRequest
)
Reset
()
{
*
m
=
NodeInfoRequest
{}
}
func
(
m
*
NodeInfoRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
NodeInfoRequest
)
ProtoMessage
()
{}
func
(
*
NodeInfoRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
11
}
}
func
(
m
*
NodeInfoRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_NodeInfoRequest
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
NodeInfoRequest
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_NodeInfoRequest
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
NodeInfoRequest
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_NodeInfoRequest
.
Merge
(
m
,
src
)
}
func
(
m
*
NodeInfoRequest
)
XXX_Size
()
int
{
return
xxx_messageInfo_NodeInfoRequest
.
Size
(
m
)
}
func
(
m
*
NodeInfoRequest
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_NodeInfoRequest
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_NodeInfoRequest
proto
.
InternalMessageInfo
type
NodeInfoResponse
struct
{
MinerPubkey
string
`protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
BenefitAddress
string
`protobuf:"bytes,2,opt,name=benefit_address,json=benefitAddress,proto3" json:"benefit_address,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
NodeInfoResponse
)
Reset
()
{
*
m
=
NodeInfoResponse
{}
}
func
(
m
*
NodeInfoResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
NodeInfoResponse
)
ProtoMessage
()
{}
func
(
*
NodeInfoResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
12
}
}
func
(
m
*
NodeInfoResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_NodeInfoResponse
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
NodeInfoResponse
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_NodeInfoResponse
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
NodeInfoResponse
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_NodeInfoResponse
.
Merge
(
m
,
src
)
}
func
(
m
*
NodeInfoResponse
)
XXX_Size
()
int
{
return
xxx_messageInfo_NodeInfoResponse
.
Size
(
m
)
}
func
(
m
*
NodeInfoResponse
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_NodeInfoResponse
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_NodeInfoResponse
proto
.
InternalMessageInfo
func
(
m
*
NodeInfoResponse
)
GetMinerPubkey
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
DeviceSignature
return
m
.
MinerPubkey
}
}
return
nil
return
""
}
}
func
(
m
*
DeviceInfoResponse
)
GetDeviceIps
()
[]
string
{
func
(
m
*
NodeInfoResponse
)
GetBenefitAddress
()
string
{
if
m
!=
nil
{
if
m
!=
nil
{
return
m
.
DeviceIp
s
return
m
.
BenefitAddres
s
}
}
return
nil
return
""
}
}
type
DeviceUsage
struct
{
type
DeviceUsage
struct
{
...
@@ -643,7 +746,7 @@ func (m *DeviceUsage) Reset() { *m = DeviceUsage{} }
...
@@ -643,7 +746,7 @@ func (m *DeviceUsage) Reset() { *m = DeviceUsage{} }
func
(
m
*
DeviceUsage
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
DeviceUsage
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DeviceUsage
)
ProtoMessage
()
{}
func
(
*
DeviceUsage
)
ProtoMessage
()
{}
func
(
*
DeviceUsage
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
DeviceUsage
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
0
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
3
}
}
}
func
(
m
*
DeviceUsage
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
DeviceUsage
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DeviceUsage
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_DeviceUsage
.
Unmarshal
(
m
,
b
)
...
@@ -688,7 +791,7 @@ func (m *StatusResponse) Reset() { *m = StatusResponse{} }
...
@@ -688,7 +791,7 @@ func (m *StatusResponse) Reset() { *m = StatusResponse{} }
func
(
m
*
StatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
StatusResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
StatusResponse
)
ProtoMessage
()
{}
func
(
*
StatusResponse
)
ProtoMessage
()
{}
func
(
*
StatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
StatusResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
1
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
4
}
}
}
func
(
m
*
StatusResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
StatusResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_StatusResponse
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_StatusResponse
.
Unmarshal
(
m
,
b
)
...
@@ -731,7 +834,7 @@ func (m *PushTaskMessage) Reset() { *m = PushTaskMessage{} }
...
@@ -731,7 +834,7 @@ func (m *PushTaskMessage) Reset() { *m = PushTaskMessage{} }
func
(
m
*
PushTaskMessage
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
PushTaskMessage
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
PushTaskMessage
)
ProtoMessage
()
{}
func
(
*
PushTaskMessage
)
ProtoMessage
()
{}
func
(
*
PushTaskMessage
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
PushTaskMessage
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
2
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
5
}
}
}
func
(
m
*
PushTaskMessage
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
PushTaskMessage
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_PushTaskMessage
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_PushTaskMessage
.
Unmarshal
(
m
,
b
)
...
@@ -810,7 +913,7 @@ func (m *SubmitTaskResult) Reset() { *m = SubmitTaskResult{} }
...
@@ -810,7 +913,7 @@ func (m *SubmitTaskResult) Reset() { *m = SubmitTaskResult{} }
func
(
m
*
SubmitTaskResult
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
SubmitTaskResult
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SubmitTaskResult
)
ProtoMessage
()
{}
func
(
*
SubmitTaskResult
)
ProtoMessage
()
{}
func
(
*
SubmitTaskResult
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SubmitTaskResult
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
3
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
6
}
}
}
func
(
m
*
SubmitTaskResult
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
SubmitTaskResult
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_SubmitTaskResult
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_SubmitTaskResult
.
Unmarshal
(
m
,
b
)
...
@@ -890,7 +993,7 @@ func (m *SubmitResourceMap) Reset() { *m = SubmitResourceMap{} }
...
@@ -890,7 +993,7 @@ func (m *SubmitResourceMap) Reset() { *m = SubmitResourceMap{} }
func
(
m
*
SubmitResourceMap
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
SubmitResourceMap
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
SubmitResourceMap
)
ProtoMessage
()
{}
func
(
*
SubmitResourceMap
)
ProtoMessage
()
{}
func
(
*
SubmitResourceMap
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
SubmitResourceMap
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
4
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
7
}
}
}
func
(
m
*
SubmitResourceMap
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
SubmitResourceMap
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_SubmitResourceMap
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_SubmitResourceMap
.
Unmarshal
(
m
,
b
)
...
@@ -932,7 +1035,7 @@ func (m *ProofTaskResult) Reset() { *m = ProofTaskResult{} }
...
@@ -932,7 +1035,7 @@ func (m *ProofTaskResult) Reset() { *m = ProofTaskResult{} }
func
(
m
*
ProofTaskResult
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ProofTaskResult
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ProofTaskResult
)
ProtoMessage
()
{}
func
(
*
ProofTaskResult
)
ProtoMessage
()
{}
func
(
*
ProofTaskResult
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ProofTaskResult
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
5
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
8
}
}
}
func
(
m
*
ProofTaskResult
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ProofTaskResult
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ProofTaskResult
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ProofTaskResult
.
Unmarshal
(
m
,
b
)
...
@@ -998,7 +1101,7 @@ func (m *FetchStandardTask) Reset() { *m = FetchStandardTask{} }
...
@@ -998,7 +1101,7 @@ func (m *FetchStandardTask) Reset() { *m = FetchStandardTask{} }
func
(
m
*
FetchStandardTask
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
FetchStandardTask
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
FetchStandardTask
)
ProtoMessage
()
{}
func
(
*
FetchStandardTask
)
ProtoMessage
()
{}
func
(
*
FetchStandardTask
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
FetchStandardTask
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
6
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
1
9
}
}
}
func
(
m
*
FetchStandardTask
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
FetchStandardTask
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_FetchStandardTask
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_FetchStandardTask
.
Unmarshal
(
m
,
b
)
...
@@ -1037,7 +1140,7 @@ func (m *DispatchTaskRequest) Reset() { *m = DispatchTaskRequest{} }
...
@@ -1037,7 +1140,7 @@ func (m *DispatchTaskRequest) Reset() { *m = DispatchTaskRequest{} }
func
(
m
*
DispatchTaskRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
DispatchTaskRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DispatchTaskRequest
)
ProtoMessage
()
{}
func
(
*
DispatchTaskRequest
)
ProtoMessage
()
{}
func
(
*
DispatchTaskRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
DispatchTaskRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
17
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
20
}
}
}
func
(
m
*
DispatchTaskRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
DispatchTaskRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DispatchTaskRequest
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_DispatchTaskRequest
.
Unmarshal
(
m
,
b
)
...
@@ -1083,7 +1186,7 @@ func (m *DispatchTaskResponse) Reset() { *m = DispatchTaskResponse{} }
...
@@ -1083,7 +1186,7 @@ func (m *DispatchTaskResponse) Reset() { *m = DispatchTaskResponse{} }
func
(
m
*
DispatchTaskResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
DispatchTaskResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
DispatchTaskResponse
)
ProtoMessage
()
{}
func
(
*
DispatchTaskResponse
)
ProtoMessage
()
{}
func
(
*
DispatchTaskResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
DispatchTaskResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
18
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
21
}
}
}
func
(
m
*
DispatchTaskResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
DispatchTaskResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_DispatchTaskResponse
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_DispatchTaskResponse
.
Unmarshal
(
m
,
b
)
...
@@ -1127,7 +1230,7 @@ func (m *ManagerListRequest) Reset() { *m = ManagerListRequest{} }
...
@@ -1127,7 +1230,7 @@ func (m *ManagerListRequest) Reset() { *m = ManagerListRequest{} }
func
(
m
*
ManagerListRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ManagerListRequest
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ManagerListRequest
)
ProtoMessage
()
{}
func
(
*
ManagerListRequest
)
ProtoMessage
()
{}
func
(
*
ManagerListRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ManagerListRequest
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
19
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
22
}
}
}
func
(
m
*
ManagerListRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ManagerListRequest
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ManagerListRequest
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ManagerListRequest
.
Unmarshal
(
m
,
b
)
...
@@ -1158,7 +1261,7 @@ func (m *ManagerListResponse) Reset() { *m = ManagerListResponse{} }
...
@@ -1158,7 +1261,7 @@ func (m *ManagerListResponse) Reset() { *m = ManagerListResponse{} }
func
(
m
*
ManagerListResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
m
*
ManagerListResponse
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
ManagerListResponse
)
ProtoMessage
()
{}
func
(
*
ManagerListResponse
)
ProtoMessage
()
{}
func
(
*
ManagerListResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
*
ManagerListResponse
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
2
0
}
return
fileDescriptor_810ae261dc8e2975
,
[]
int
{
2
3
}
}
}
func
(
m
*
ManagerListResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
func
(
m
*
ManagerListResponse
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_ManagerListResponse
.
Unmarshal
(
m
,
b
)
return
xxx_messageInfo_ManagerListResponse
.
Unmarshal
(
m
,
b
)
...
@@ -1195,7 +1298,10 @@ func init() {
...
@@ -1195,7 +1298,10 @@ func init() {
proto
.
RegisterType
((
*
DeviceUsageRequest
)(
nil
),
"nodemanager.v1.DeviceUsageRequest"
)
proto
.
RegisterType
((
*
DeviceUsageRequest
)(
nil
),
"nodemanager.v1.DeviceUsageRequest"
)
proto
.
RegisterType
((
*
DeviceUsageResponse
)(
nil
),
"nodemanager.v1.DeviceUsageResponse"
)
proto
.
RegisterType
((
*
DeviceUsageResponse
)(
nil
),
"nodemanager.v1.DeviceUsageResponse"
)
proto
.
RegisterType
((
*
DeviceInfoRequest
)(
nil
),
"nodemanager.v1.DeviceInfoRequest"
)
proto
.
RegisterType
((
*
DeviceInfoRequest
)(
nil
),
"nodemanager.v1.DeviceInfoRequest"
)
proto
.
RegisterType
((
*
DeviceInfoResponse
)(
nil
),
"nodemanager.v1.DeviceInfoResponse"
)
proto
.
RegisterType
((
*
DeviceInfoMessage
)(
nil
),
"nodemanager.v1.DeviceInfoMessage"
)
proto
.
RegisterType
((
*
RegisteMessage
)(
nil
),
"nodemanager.v1.RegisteMessage"
)
proto
.
RegisterType
((
*
NodeInfoRequest
)(
nil
),
"nodemanager.v1.NodeInfoRequest"
)
proto
.
RegisterType
((
*
NodeInfoResponse
)(
nil
),
"nodemanager.v1.NodeInfoResponse"
)
proto
.
RegisterType
((
*
DeviceUsage
)(
nil
),
"nodemanager.v1.DeviceUsage"
)
proto
.
RegisterType
((
*
DeviceUsage
)(
nil
),
"nodemanager.v1.DeviceUsage"
)
proto
.
RegisterType
((
*
StatusResponse
)(
nil
),
"nodemanager.v1.StatusResponse"
)
proto
.
RegisterType
((
*
StatusResponse
)(
nil
),
"nodemanager.v1.StatusResponse"
)
proto
.
RegisterType
((
*
PushTaskMessage
)(
nil
),
"nodemanager.v1.PushTaskMessage"
)
proto
.
RegisterType
((
*
PushTaskMessage
)(
nil
),
"nodemanager.v1.PushTaskMessage"
)
...
@@ -1214,84 +1320,86 @@ func init() {
...
@@ -1214,84 +1320,86 @@ func init() {
}
}
var
fileDescriptor_810ae261dc8e2975
=
[]
byte
{
var
fileDescriptor_810ae261dc8e2975
=
[]
byte
{
// 1258 bytes of a gzipped FileDescriptorProto
// 1281 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x9c
,
0x56
,
0xdd
,
0x72
,
0xdb
,
0x44
,
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xb4
,
0x57
,
0xcb
,
0x8e
,
0x1b
,
0x45
,
0x14
,
0xae
,
0x7f
,
0xe2
,
0xc4
,
0xc7
,
0x89
,
0x6c
,
0xaf
,
0x4d
,
0x31
,
0x29
,
0xa5
,
0xa9
,
0x3a
,
0x4c
,
0x1b
,
0x8d
,
0xed
,
0xb9
,
0xd8
,
0x9f
,
0x67
,
0xda
,
0x76
,
0xd9
,
0x7f
,
0x7e
,
0x33
,
0x21
,
0x64
,
0xd2
,
0xd3
,
0x01
,
0xec
,
0x3a
,
0xfc
,
0x0c
,
0xd3
,
0x5e
,
0x91
,
0xa6
,
0xad
,
0x0b
,
0x24
,
0x35
,
0x4a
,
0x09
,
0x11
,
0x62
,
0x22
,
0x88
,
0x1d
,
0x0f
,
0x17
,
0xa1
,
0x64
,
0x81
,
0x98
,
0x4c
,
0x12
,
0x47
,
0x30
,
0x89
,
0x1d
,
0xa6
,
0x83
,
0x66
,
0x2d
,
0xad
,
0x6d
,
0x8d
,
0x23
,
0xad
,
0xd0
,
0xae
,
0x02
,
0x7e
,
0x1d
,
0x2e
,
0xe9
,
0x09
,
0x21
,
0x42
,
0x51
,
0x5a
,
0xe5
,
0xee
,
0xb2
,
0xdd
,
0x72
,
0xba
,
0xab
,
0xe9
,
0xaa
,
0x1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bb
,
0x7f
,
0xf8
,
0x5f
,
0x00
,
0x00
,
0x00
,
0x0c
,
0x7e
,
0xcd
,
0x01
,
0xaf
,
0x5e
,
0x0c
,
0xfe
,
0x28
,
0x1f
,
0xe4
,
0x81
,
0x57
,
0x8f
,
0x47
,
0x27
,
0xff
,
0xff
,
0x70
,
0x1a
,
0x0a
,
0x05
,
0xcc
,
0x0c
,
0x00
,
0x00
,
0x67
,
0x84
,
0x63
,
0x11
,
0xb1
,
0xbf
,
0xca
,
0x8d
,
0xcc
,
0xe6
,
0xbd
,
0x7b
,
0x2f
,
0x06
,
0xe3
,
0x1d
,
0x79
,
0xfb
,
0x87
,
0xff
,
0x04
,
0x00
,
0x00
,
0xff
,
0xff
,
0xaf
,
0xf7
,
0xdf
,
0xf2
,
0x40
,
0x0d
,
0x00
,
0x00
,
}
}
nodemanager/nodemanager/v1/request_response.proto
View file @
cc5ae358
...
@@ -10,11 +10,13 @@ message WorkerMessage {
...
@@ -10,11 +10,13 @@ message WorkerMessage {
HeartbeatResponse
heartbeat_response
=
1
;
HeartbeatResponse
heartbeat_response
=
1
;
SubmitTaskResult
submit_task_result
=
2
;
SubmitTaskResult
submit_task_result
=
2
;
StatusResponse
status
=
3
;
StatusResponse
status
=
3
;
DeviceInfo
Respons
e
device_info
=
4
;
DeviceInfo
Messag
e
device_info
=
4
;
DeviceUsageResponse
device_usage
=
5
;
DeviceUsageResponse
device_usage
=
5
;
GoodbyeMessage
goodbye_message
=
6
;
GoodbyeMessage
goodbye_message
=
6
;
SubmitResourceMap
resource_map
=
7
;
SubmitResourceMap
resource_map
=
7
;
FetchStandardTask
fetch_standard_task
=
8
;
FetchStandardTask
fetch_standard_task
=
8
;
RegisteMessage
registe_message
=
9
;
NodeInfoResponse
node_info
=
10
;
}
}
}
}
...
@@ -24,9 +26,8 @@ message ManagerMessage {
...
@@ -24,9 +26,8 @@ message ManagerMessage {
PushTaskMessage
push_task_message
=
2
;
PushTaskMessage
push_task_message
=
2
;
ProofTaskResult
proof_task_result
=
3
;
ProofTaskResult
proof_task_result
=
3
;
StatusRequest
status_request
=
4
;
StatusRequest
status_request
=
4
;
DeviceInfoRequest
device_request
=
5
;
DeviceUsageRequest
device_usage
=
5
;
DeviceUsageRequest
device_usage
=
6
;
GoodbyeMessage
goodbye_message
=
6
;
GoodbyeMessage
goodbye_message
=
7
;
}
}
}
}
...
@@ -51,16 +52,25 @@ message DeviceUsageRequest {
...
@@ -51,16 +52,25 @@ message DeviceUsageRequest {
message
DeviceUsageResponse
{
message
DeviceUsageResponse
{
repeated
DeviceUsage
usage
=
1
;
repeated
DeviceUsage
usage
=
1
;
}
}
message
DeviceInfoRequest
{
message
DeviceInfoRequest
{
}
message
DeviceInfoMessage
{
repeated
DeviceInfo
devices
=
3
;
bytes
device_signature
=
4
;
// 由测试程序对设备信息进行签名
}
}
message
DeviceInfoResponse
{
message
RegisteMessage
{
string
device_ip
=
1
;
}
message
NodeInfoRequest
{
}
message
NodeInfoResponse
{
string
miner_pubkey
=
1
;
string
miner_pubkey
=
1
;
string
benefit_address
=
2
;
string
benefit_address
=
2
;
repeated
DeviceInfo
devices
=
3
;
bytes
device_signature
=
4
;
// 由测试程序对设备信息进行签名
repeated
string
device_ips
=
5
;
}
}
message
DeviceUsage
{
message
DeviceUsage
{
...
@@ -69,7 +79,7 @@ message DeviceUsage {
...
@@ -69,7 +79,7 @@ message DeviceUsage {
}
}
message
StatusResponse
{
message
StatusResponse
{
bytes
device_status
=
1
;
// bitmap
bytes
device_status
=
1
;
// bitmap
for every gpu.
}
}
message
PushTaskMessage
{
message
PushTaskMessage
{
...
...
nodemanager/nodemanager/v1/resource.proto
View file @
cc5ae358
...
@@ -9,7 +9,7 @@ message NodeManagerInfo {
...
@@ -9,7 +9,7 @@ message NodeManagerInfo {
message
DeviceInfo
{
message
DeviceInfo
{
string
device_type
=
1
;
// cpu/gpu/mem
string
device_type
=
1
;
// cpu/gpu/mem
with index, ex: cpu-0, gpu-1, mem-0
string
device_model
=
2
;
// 具体型号 rtx-4090
string
device_model
=
2
;
// 具体型号 rtx-4090
string
device_param
=
3
;
// 内存容量/CPU主频/GPU显存 等等
string
device_param
=
3
;
// 内存容量/CPU主频/GPU显存 等等
uint64
device_power
=
4
;
// CPU: hashrate, MEM: size, GPU: 算力, GPUMEM:size
uint64
device_power
=
4
;
// CPU: hashrate, MEM: size, GPU: 算力, GPUMEM:size
...
...
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