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
b5d4d6fb
Commit
b5d4d6fb
authored
Jan 30, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update protocol
parent
80e138e1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
53 deletions
+52
-53
odysseus.proto
baseapi/base/v1/odysseus.proto
+2
-2
odysseus.pb.go
gen/proto/go/base/v1/odysseus.pb.go
+50
-51
No files found.
baseapi/base/v1/odysseus.proto
View file @
b5d4d6fb
...
@@ -52,13 +52,13 @@ message TaskContent {
...
@@ -52,13 +52,13 @@ message TaskContent {
// ) timestamp (time) PARTITION BY DAY WAL;
// ) timestamp (time) PARTITION BY DAY WAL;
message
TaskReceipt
{
message
TaskReceipt
{
string
task_uuid
=
1
;
string
task_uuid
=
1
;
uint64
task_
finish_time
=
2
;
uint64
task_
timestamp
=
2
;
uint64
task_id
=
3
;
uint64
task_id
=
3
;
string
task_uid
=
4
;
string
task_uid
=
4
;
int64
task_fee
=
5
;
int64
task_fee
=
5
;
int64
task_out_len
=
6
;
int64
task_out_len
=
6
;
int64
task_workload
=
7
;
int64
task_workload
=
7
;
int64
task_duration
=
8
;
int64
task_duration
=
8
;
// task duration in us.
string
task_profit_account
=
9
;
string
task_profit_account
=
9
;
string
task_worker_account
=
10
;
string
task_worker_account
=
10
;
string
task_result
=
11
;
// some message for task result, ex: failed, success, timeout, etc.
string
task_result
=
11
;
// some message for task result, ex: failed, success, timeout, etc.
...
...
gen/proto/go/base/v1/odysseus.pb.go
View file @
b5d4d6fb
This diff is collapsed.
Click to expand it.
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