syntax = "proto3"; package challenge; import "google/protobuf/timestamp.proto"; message NodeUpdate { string ip = 1; google.protobuf.Timestamp started_at = 2; google.protobuf.Timestamp keepalive = 3; uint64 mint_requests = 4; uint64 mints = 5; uint64 mratls_conns = 6; uint64 quote_attacks = 7; bool public = 8; uint64 restarts = 9; uint64 disk_attacks = 10; } message Keys { bytes keypair = 1; string token_address = 2; } message Empty {} service Update { rpc GetKeys (Empty) returns (Keys); rpc GetUpdates (stream NodeUpdate) returns (stream NodeUpdate); }