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
a2737e03
Commit
a2737e03
authored
Jan 15, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update proto
parent
a934bfb6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
108 additions
and
153 deletions
+108
-153
request_response.pb.go
gen/proto/go/nodemanager/v1/request_response.pb.go
+83
-65
resource.pb.go
gen/proto/go/nodemanager/v1/resource.pb.go
+21
-81
request_response.proto
nodemanager/nodemanager/v1/request_response.proto
+3
-1
resource.proto
nodemanager/nodemanager/v1/resource.proto
+1
-6
No files found.
gen/proto/go/nodemanager/v1/request_response.pb.go
View file @
a2737e03
...
...
@@ -536,7 +536,9 @@ func (m *DeviceInfoRequest) XXX_DiscardUnknown() {
var
xxx_messageInfo_DeviceInfoRequest
proto
.
InternalMessageInfo
type
DeviceInfoResponse
struct
{
Devices
[]
*
DeviceInfo
`protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
MinerPubkey
string
`protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
DeviceSignature
[]
byte
`protobuf:"bytes,3,opt,name=device_signature,json=deviceSignature,proto3" json:"device_signature,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -566,6 +568,13 @@ func (m *DeviceInfoResponse) XXX_DiscardUnknown() {
var
xxx_messageInfo_DeviceInfoResponse
proto
.
InternalMessageInfo
func
(
m
*
DeviceInfoResponse
)
GetMinerPubkey
()
string
{
if
m
!=
nil
{
return
m
.
MinerPubkey
}
return
""
}
func
(
m
*
DeviceInfoResponse
)
GetDevices
()
[]
*
DeviceInfo
{
if
m
!=
nil
{
return
m
.
Devices
...
...
@@ -573,6 +582,13 @@ func (m *DeviceInfoResponse) GetDevices() []*DeviceInfo {
return
nil
}
func
(
m
*
DeviceInfoResponse
)
GetDeviceSignature
()
[]
byte
{
if
m
!=
nil
{
return
m
.
DeviceSignature
}
return
nil
}
type
DeviceUsage
struct
{
DeviceType
string
`protobuf:"bytes,1,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
DeviceUsage
uint64
`protobuf:"varint,2,opt,name=device_usage,json=deviceUsage,proto3" json:"device_usage,omitempty"`
...
...
@@ -1022,68 +1038,70 @@ func init() {
}
var
fileDescriptor_810ae261dc8e2975
=
[]
byte
{
// 993 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xa4
,
0x56
,
0xcf
,
0x6f
,
0xe3
,
0x44
,
0x14
,
0x6e
,
0x7e
,
0xf4
,
0x47
,
0x5e
,
0x5a
,
0xbb
,
0x99
,
0x44
,
0x4b
,
0x08
,
0x94
,
0x76
,
0xbd
,
0x42
,
0x54
,
0x42
,
0xc4
,
0xb8
,
0x80
,
0x84
,
0x96
,
0x13
,
0xd9
,
0x2e
,
0x4d
,
0x57
,
0xb4
,
0x1b
,
0xbc
,
0x4b
,
0xb7
,
0x42
,
0x2b
,
0xa2
,
0x49
,
0x3c
,
0x75
,
0xac
,
0xd6
,
0x1e
,
0xe3
,
0x19
,
0x07
,
0xf5
,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f9
,
0x72
,
0x9a
,
0x8c
,
0x7b
,
0x13
,
0x1e
,
0xe4
,
0x3f
,
0x5f
,
0xf9
,
0xc7
,
0xfb
,
0xf8
,
0x9b
,
0x35
,
0xe1
,
0x57
,
0x7d
,
0x8f
,
0x85
,
0x7d
,
0x6c
,
0xf4
,
0x3d
,
0xde
,
0x2f
,
0xff
,
0x94
,
0x7d
,
0x5a
,
0x68
,
0x5e
,
0xdb
,
0x3f
,
0xd6
,
0x17
,
0x4f
,
0xcf
,
0xcf
,
0x7f
,
0xae
,
0x1b
,
0xa7
,
0x85
,
0xf9
,
0xcf
,
0xec
,
0xdf
,
0x4b
,
0x85
,
0x57
,
0x67
,
0xf6
,
0xdf
,
0xf5
,
0xad
,
0x72
,
0xe1
,
0xd5
,
0xd1
,
0xf0
,
0xe0
,
0x84
,
0x49
,
0x9a
,
0xfa
,
0xf6
,
0x4f
,
0xdd
,
0x2c
,
0x74
,
0x3e
,
0x7e
,
0x7c
,
0x66
,
0x8f
,
0x97
,
0x71
,
0xf6
,
0x0f
,
0xff
,
0x0d
,
0x00
,
0x00
,
0xff
,
0xff
,
0xc2
,
0xe7
,
0xd0
,
0x45
,
0x72
,
0x0a
,
0x00
,
0x00
,
}
gen/proto/go/nodemanager/v1/resource.pb.go
View file @
a2737e03
...
...
@@ -128,93 +128,33 @@ func (m *DeviceInfo) GetDevicePower() uint64 {
return
0
}
type
WorkerContent
struct
{
MinerPubkey
string
`protobuf:"bytes,1,opt,name=miner_pubkey,json=minerPubkey,proto3" json:"miner_pubkey,omitempty"`
Devices
[]
*
DeviceInfo
`protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"`
DeviceSignature
[]
byte
`protobuf:"bytes,3,opt,name=device_signature,json=deviceSignature,proto3" json:"device_signature,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
WorkerContent
)
Reset
()
{
*
m
=
WorkerContent
{}
}
func
(
m
*
WorkerContent
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
WorkerContent
)
ProtoMessage
()
{}
func
(
*
WorkerContent
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_462e4441103de524
,
[]
int
{
2
}
}
func
(
m
*
WorkerContent
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_WorkerContent
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
WorkerContent
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_WorkerContent
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
WorkerContent
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_WorkerContent
.
Merge
(
m
,
src
)
}
func
(
m
*
WorkerContent
)
XXX_Size
()
int
{
return
xxx_messageInfo_WorkerContent
.
Size
(
m
)
}
func
(
m
*
WorkerContent
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_WorkerContent
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_WorkerContent
proto
.
InternalMessageInfo
func
(
m
*
WorkerContent
)
GetMinerPubkey
()
string
{
if
m
!=
nil
{
return
m
.
MinerPubkey
}
return
""
}
func
(
m
*
WorkerContent
)
GetDevices
()
[]
*
DeviceInfo
{
if
m
!=
nil
{
return
m
.
Devices
}
return
nil
}
func
(
m
*
WorkerContent
)
GetDeviceSignature
()
[]
byte
{
if
m
!=
nil
{
return
m
.
DeviceSignature
}
return
nil
}
func
init
()
{
proto
.
RegisterType
((
*
NodeManagerInfo
)(
nil
),
"nodemanager.v1.NodeManagerInfo"
)
proto
.
RegisterType
((
*
DeviceInfo
)(
nil
),
"nodemanager.v1.DeviceInfo"
)
proto
.
RegisterType
((
*
WorkerContent
)(
nil
),
"nodemanager.v1.WorkerContent"
)
}
func
init
()
{
proto
.
RegisterFile
(
"nodemanager/v1/resource.proto"
,
fileDescriptor_462e4441103de524
)
}
var
fileDescriptor_462e4441103de524
=
[]
byte
{
// 393 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0x5c
,
0x92
,
0xcf
,
0x6e
,
0x9b
,
0x40
,
0x10
,
0xc6
,
0x05
,
0xb6
,
0xda
,
0x7a
,
0xfd
,
0xaf
,
0xe2
,
0x84
,
0xac
,
0x56
,
0x75
,
0x7d
,
0x72
,
0x0f
,
0x05
,
0xd1
,
0xf6
,
0xe4
,
0xde
,
0xdc
,
0x4a
,
0x55
,
0x55
,
0xd9
,
0x45
,
0xb4
,
0x72
,
0xac
,
0xc8
,
0x92
,
0xb5
,
0xc0
,
0x84
,
0x20
,
0x9b
,
0x1d
,
0xb4
,
0x2c
,
0x44
,
0x3c
,
0x47
,
0xa4
,
0x3c
,
0x40
,
0x8e
,
0x79
,
0x94
,
0x48
,
0x79
,
0x89
,
0x1c
,
0xf3
,
0x14
,
0x11
,
0x0b
,
0xb6
,
0x21
,
0x37
,
0xbe
,
0xdf
,
0x7c
,
0xfb
,
0xed
,
0x0c
,
0xb3
,
0xe4
,
0x3d
,
0x43
,
0x1f
,
0x22
,
0xca
,
0x68
,
0x00
,
0xdc
,
0xcc
,
0x2c
,
0x93
,
0x43
,
0x82
,
0x29
,
0xf7
,
0xc0
,
0x88
,
0x39
,
0x0a
,
0xd4
,
0x06
,
0xb5
,
0xb2
,
0x91
,
0x59
,
0x93
,
0x3f
,
0x64
,
0xb8
,
0x44
,
0x1f
,
0x16
,
0x25
,
0xf9
,
0xcd
,
0x2e
,
0x50
,
0x7b
,
0x47
,
0x3a
,
0x71
,
0xea
,
0xee
,
0x43
,
0x6f
,
0x07
,
0xb9
,
0xae
,
0x8c
,
0x95
,
0x69
,
0xc7
,
0x39
,
0x01
,
0x6d
,
0x44
,
0xde
,
0x00
,
0xf3
,
0x63
,
0x0c
,
0x99
,
0xd0
,
0x55
,
0x59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x13
,
0x58
,
0x0f
,
0x77
,
0x51
,
0xac
,
0x9e
,
0xf3
,
0xad
,
0x17
,
0x62
,
0x42
,
0x91
,
0x97
,
0x59
,
0x06
,
0x79
,
0xd6
,
0x7c
,
0x9c
,
0xeb
,
0x05
,
0x43
,
0xdc
,
0xd1
,
0x08
,
0x52
,
0xaa
,
0x05
,
0x8d
,
0x90
,
0xb6
,
0xf7
,
0xbe
,
0x34
,
0x64
,
0xe1
,
0xbf
,
0xdb
,
0x9d
,
0xc5
,
0x7a
,
0xfd
,
0x61
,
0xf7
,
0x17
,
0xc6
,
0xe1
,
0x95
,
0xff
,
0xd9
,
0x02
,
0x9b
,
0x95
,
0xff
,
0x6d
,
0x0f
,
0xdb
,
0x60
,
0x73
,
0x1d
,
0xcc
,
0xe6
,
0xa0
,
0x18
,
0x67
,
0x8a
,
0xfd
,
0xd8
,
0x03
,
0xc3
,
0x9c
,
0x4e
,
0x57
,
0xfe
,
0xf6
,
0x9f
,
0xbe
,
0x7e
,
0xf1
,
0x1b
,
0x00
,
0x00
,
0xff
,
0xff
,
0xda
,
0x17
,
0x48
,
0x05
,
0xed
,
0x01
,
0x00
,
0x00
,
}
nodemanager/nodemanager/v1/request_response.proto
View file @
a2737e03
...
...
@@ -54,7 +54,9 @@ message DeviceInfoRequest {
}
message
DeviceInfoResponse
{
repeated
DeviceInfo
devices
=
1
;
string
miner_pubkey
=
1
;
repeated
DeviceInfo
devices
=
2
;
bytes
device_signature
=
3
;
// 由测试程序对设备信息进行签名
}
message
DeviceUsage
{
...
...
nodemanager/nodemanager/v1/resource.proto
View file @
a2737e03
...
...
@@ -15,8 +15,3 @@ message DeviceInfo {
uint64
device_power
=
4
;
// CPU: hashrate, MEM: size, GPU: 算力, GPUMEM:size
}
\ No newline at end of file
message
WorkerContent
{
string
miner_pubkey
=
1
;
repeated
DeviceInfo
devices
=
2
;
bytes
device_signature
=
3
;
// 由测试程序对设备信息进行签名
}
\ No newline at end of file
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