Add draft of peergos protocol overview

This commit is contained in:
Jay Graber 2020-02-29 20:43:17 -08:00
parent 267c400764
commit 92b789e7fc
1 changed files with 17 additions and 0 deletions

17
protocols/peergos.md Normal file
View File

@ -0,0 +1,17 @@
# Peergos
Peergos is an e2e encrypted distributed file storage service. At the base layer, files are stored using IPFS.
### Identity
There is a global append-only log for the public key to username mappings. This is mirrored on every node in the peergos system. (how is consensus guaranteed?)
### Data storage
Each user must have at least one peergos server. The servers run an instance of IPFS. Data is content-addressed: stored in mappings from hash to hashed data.
The user lists the IPFS node id of the server (hash of its public key). It synchronizes their writes and displays the latest root hashes. Data is always encrypted on the servers.
### Social
Users can follow each other. Follow requests are sent through a users storage server, which is contacted via its public key. Follows are one-way, and allow sharing files and sending messages.