Skip to content

Commit

Permalink
Merge pull request #279 from spacemeshos/278-post-service-operator-api
Browse files Browse the repository at this point in the history
Basic post-service operator API
  • Loading branch information
poszu authored Nov 1, 2023
2 parents d0b19aa + 8cdaf63 commit 10baa94
Show file tree
Hide file tree
Showing 4 changed files with 566 additions and 0 deletions.
18 changes: 18 additions & 0 deletions post/v1/service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
syntax = "proto3";

package post.v1;

message OperatorStatusRequest {}

message OperatorStatusResponse {
enum Status {
_UNUSED = 0;
IDLE = 1;
PROVING = 2;
}
Status status = 1;
}

service OperatorService {
rpc Status(OperatorStatusRequest) returns (OperatorStatusResponse);
}
270 changes: 270 additions & 0 deletions release/go/post/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 10baa94

Please sign in to comment.