-
Notifications
You must be signed in to change notification settings - Fork 1
Key server DHT
Network layer consists of a regular P2P network (does it?). Should we use membership/gossip for this too?
On top, data is distributed through a GOSSIP protocol like SWIM:
-
As soon as a new key (or new version) is pushed to a peer, the peer will gossip this key to the rest of the network.
-
As soon as a key should be removed, the delete action is pushed to a peer and will gossip to the network.
-
When a node does not have a certain key, it will ask the network for the key (also gossip?).
-
Could we fetch a subset of keys, like all keys starting with
AF.+
for instance? (should be send in an archive, instead of single keys) -
When a new node enters the network, how are the key distributed?
-
What if there are two keys with different data (which MAY happen when 2 users upload the same address). Does one "win", if so, which one?
-
Do all nodes have all keys? Is it possible to have nodes with a small subset of keys?