mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-26 09:38:17 +01:00
akwizgran created page: ForumApp
@@ -9,16 +9,16 @@ TransportApp has a single channel with the following random identifer:
|
|||||||
|
|
||||||
**0: UPDATE** - The content is a [BDF](BDF) list with three elements: `transport_id` (string), `version` (int), and `properties` (dictionary). `transport_id` and `properties` are supplied by the transport plugin. `version` is incremented whenever the properties change.
|
**0: UPDATE** - The content is a [BDF](BDF) list with three elements: `transport_id` (string), `version` (int), and `properties` (dictionary). `transport_id` and `properties` are supplied by the transport plugin. `version` is incremented whenever the properties change.
|
||||||
|
|
||||||
### Validation
|
### Validity policy
|
||||||
|
|
||||||
* An UPDATE is valid if it is well-formed.
|
* An UPDATE is valid if it is well-formed.
|
||||||
|
|
||||||
### Storage policy
|
### Storage policy
|
||||||
|
|
||||||
* For each transport, the valid local message with the highest version is stored, any other versions are deleted.
|
* For each transport, the local message with the highest version is stored.
|
||||||
* For each transport and each remote device, the valid remote message with the highest version is stored, any other versions are deleted.
|
* For each transport and each remote device, the remote message with the highest version is stored.
|
||||||
|
|
||||||
### Sharing policy
|
### Sharing policy
|
||||||
|
|
||||||
* Valid local messages are shared with all remote devices.
|
* Local messages are shared with all remote devices.
|
||||||
* Remote messages are not shared with other remote devices.
|
* Remote messages are not shared with other remote devices.
|
||||||
|
|||||||
Reference in New Issue
Block a user