mikeshultz / k2v

Test project using libp2p
0 stars 0 forks source link

Proposal X #1

Open DanielVF opened 5 years ago

DanielVF commented 5 years ago

Fun project. To add to your list of proposals.

Keys are PUBLIC_KEY:KEY.

Updates are signed, and have a timestamp. Later timestamped updates override earlier timestamped updates for the same key. No server will accept a timestamp more than 120 seconds into the future.

When a server receives an update from a client, it broadcasts it globally to other servers.

Initial server spin ups and further data synchronization is an exercise for the reader.

mikeshultz commented 5 years ago

PRIVATE_KEY:KEY

How does this work and why?

I think generally, this gels with proposal 3. Thanks for the input.

DanielVF commented 5 years ago

HAhaahahaa! No, I meant public key. :D Let me fix that embarrassing mistake.