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
01297bbd
Commit
01297bbd
authored
Jan 17, 2024
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update witness
parent
e1735cac
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
118 additions
and
55 deletions
+118
-55
request_response.pb.go
gen/proto/go/witness/v1/request_response.pb.go
+104
-55
request_response.proto
witness/witness/v1/request_response.proto
+5
-0
resource.proto
witness/witness/v1/resource.proto
+9
-0
No files found.
gen/proto/go/witness/v1/request_response.pb.go
View file @
01297bbd
This diff is collapsed.
Click to expand it.
witness/witness/v1/request_response.proto
View file @
01297bbd
...
...
@@ -11,6 +11,11 @@ message WitnessStatusResponse {
}
message
PushProofRequest
{
repeated
Proof
proofs
=
1
;
string
miner
=
2
;
}
message
Proof
{
uint64
workload
=
1
;
string
task_id
=
2
;
bytes
req_hash
=
6
;
...
...
witness/witness/v1/resource.proto
0 → 100644
View file @
01297bbd
syntax
=
"proto3"
;
package
witness
.
v1
;
message
ValidatedProof
{
string
miner
=
1
;
uint64
balance
=
2
;
uint64
workload
=
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