Publish protocol 2.0

This commit is contained in:
2023-03-22 16:55:04 +01:00
commit 99cb5928bc
4 changed files with 91 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
syntax = "proto3";
// Client -> Server
// Request logging into the server
// seed: the seed used to generate the address
message AuthenticationRequest {
fixed64 seed = 1;
}
// Server -> Client
// Login response
// status: 0 if successful, anything else is an error
// address: the address assigned to the peer
message AuthenticationResponse {
uint32 status = 1;
fixed64 address = 2;
}