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
e2d869ab
Commit
e2d869ab
authored
Jan 31, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update protocol
parent
b5d4d6fb
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
158 additions
and
137 deletions
+158
-137
odysseus.proto
baseapi/base/v1/odysseus.proto
+6
-5
odysseus.pb.go
gen/proto/go/base/v1/odysseus.pb.go
+64
-54
request_response.pb.go
gen/proto/go/nodemanager/v1/request_response.pb.go
+85
-76
request_response.proto
nodemanager/nodemanager/v1/request_response.proto
+3
-2
No files found.
baseapi/base/v1/odysseus.proto
View file @
e2d869ab
...
@@ -66,9 +66,10 @@ message TaskReceipt {
...
@@ -66,9 +66,10 @@ message TaskReceipt {
message
TaskResponse
{
message
TaskResponse
{
string
task_uuid
=
1
;
string
task_uuid
=
1
;
bytes
task_result
=
2
;
bytes
task_result_header
=
2
;
string
task_uid
=
3
;
bytes
task_result_body
=
3
;
string
task_fee
=
4
;
string
task_uid
=
4
;
bool
task_is_succeed
=
5
;
string
task_fee
=
5
;
string
task_error
=
6
;
bool
task_is_succeed
=
6
;
string
task_error
=
7
;
}
}
\ No newline at end of file
gen/proto/go/base/v1/odysseus.pb.go
View file @
e2d869ab
This diff is collapsed.
Click to expand it.
gen/proto/go/nodemanager/v1/request_response.pb.go
View file @
e2d869ab
This diff is collapsed.
Click to expand it.
nodemanager/nodemanager/v1/request_response.proto
View file @
e2d869ab
...
@@ -86,8 +86,9 @@ message SubmitTaskResult {
...
@@ -86,8 +86,9 @@ message SubmitTaskResult {
string
task_uuid
=
1
;
string
task_uuid
=
1
;
bytes
container_signature
=
2
;
// 容器签名
bytes
container_signature
=
2
;
// 容器签名
bytes
miner_signature
=
3
;
// worker 签名
bytes
miner_signature
=
3
;
// worker 签名
bytes
task_result
=
4
;
// 任务结果
bytes
task_result_header
=
4
;
// result headyer
bool
is_successed
=
5
;
// 任务是否成功
bytes
task_result_body
=
5
;
// result body.
bool
is_successed
=
6
;
// 任务是否成功
}
}
message
SubmitResourceMap
{
message
SubmitResourceMap
{
...
...
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