Publish protocol 2.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user