status-go/api
Andrea Maria Piana 1f6cccd0fc
Add enabling/disabling of installations (#1264)
This commit adds a list new table, installations, which is used to keep
track of which installation are active for a given identity key.

In general, we limit the number of installation that we keep
synchronized to 5, to avoid excessive usage of resources.

Any installation coming from our own identity, will have to be manually
enabled, otherwise we trust the other peer has correctly paired their
devices.

We use a timestamp to decide which installations to keep synchronized as
a logical clock would have make the creation of the bundle more
complicated, but this can always be converted to a logical clock at
later stages without breaking compatibility.
2018-11-06 09:05:32 +01:00
..
app_state.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
app_state_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
backend.go Add enabling/disabling of installations (#1264) 2018-11-06 09:05:32 +01:00
backend_test.go Streamline configuration in status-go. Part of #1180 (#1183) 2018-09-13 18:31:29 +02:00
connection.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
connection_test.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00
utils.go Clean api package (#1055) 2018-06-27 10:11:45 +02:00