hacker-challenge-sgx-general/proto/challenge.proto
ghe0 4d00b116f4
fixed connection management
all nodes now properly maintain 3 outbound connections
2024-08-20 03:36:19 +03:00

16 lines
299 B
Protocol Buffer

syntax = "proto3";
package challenge;
import "google/protobuf/timestamp.proto";
message NodeUpdate {
string ip = 1;
string keypair = 2;
google.protobuf.Timestamp updated_at = 3;
bool public = 4;
}
service Update {
rpc GetUpdates (stream NodeUpdate) returns (stream NodeUpdate);
}