Make everything required

This commit is contained in:
2023-03-23 00:10:14 +01:00
parent 1d105a041d
commit d0747faf68
4 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ syntax = "proto3";
// Request logging into the server
// seed: the seed used to generate the address
message AuthenticationRequest {
fixed64 seed = 1;
required fixed64 seed = 1;
}
// Server -> Client
@@ -12,6 +12,6 @@ message AuthenticationRequest {
// status: 0 if successful, anything else is an error
// address: the address assigned to the peer
message AuthenticationResponse {
uint32 status = 1;
fixed64 address = 2;
required uint32 status = 1;
required fixed64 address = 2;
}