... | ... | @@ -13,9 +13,9 @@ The client uses a separate BSP group for communicating with each contact. The [g |
|
|
|
|
|
### Message types
|
|
|
|
|
|
**UPDATE** - The message body is a BDF list with two elements: `version` (int), and `properties` (dictionary). `version` is incremented whenever the properties change. The keys of the dictionary are strings.
|
|
|
**UPDATE** - The message body is a BDF list with two elements: `version` (int), and `properties` (dictionary). `version` is incremented whenever the properties change. The keys of the `properties` dictionary are strings.
|
|
|
|
|
|
For major version 0, the dictionary of a well-formed update is either empty, which means for the receiver that there is no mailbox available for use. Or it contains precisely 4 items:
|
|
|
For major version 0, the `properties` of a well-formed update are either 0 (empty dict), which means for the receiver that there is no mailbox available. Or, there are precisely 4 items:
|
|
|
|
|
|
* "onionPubKey" : byte[32]
|
|
|
* "token" : byte[32]
|
... | ... | |