Server processing initiated

This commit is contained in:
ycc
2022-09-25 10:16:39 +02:00
parent adb058492f
commit 6293e979b7
3 changed files with 42 additions and 13 deletions

View File

@ -11,7 +11,7 @@ message PackedServerMessage {
// structure defining a message for a server, that will be encrypted, then sent in a "packedmessage" payload
message ToServerMessage {
string type = 1; // Type
string type = 1; // Type 1 : final destination / 2 : forward
string from = 2 ; // My pub key for the server to send me an encrypter answer
bytes payload = 3 ; // optional payload for server
@ -28,6 +28,7 @@ message ToServerMessage {
repeated PackedUserMessage messages = 5;
repeated Server knownServers = 6;
string uuid = 7;
}
@ -83,16 +84,16 @@ message PackedUserMessage {
// structure defining information that might be exchanged between two peers.
message UserMessage {
string Destination = 1;
string From = 2;
string Type = 3;
bytes Data = 4;
string destination = 1;
string from = 2;
string type = 3;
bytes data = 4;
message ConversationStatus {
string LocalUuid = 1;
uint64 LocalSequence = 2 ;
uint64 Sent = 3 ;
uint64 Received = 4;
uint64 Processed = 5;
string localUuid = 1;
uint64 localSequence = 2 ;
uint64 sent = 3 ;
uint64 received = 4;
uint64 processed = 5;
ContactCard myNextIdentity = 6;
int32 peerNextIdentityAck = 7; // version of the new peed accepted id
}