aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-14 19:45:15 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit414f2cafc6cf2fe141c011b0d63d447a9b983ac3 (patch)
treea0d53ca898b8586e7be97689fcb993d5405d08a0 /README.md
parent53a1850ce2a253c574113684ac38c8ed31b1d0ae (diff)
Store database storage to files, also loading
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7a81580..abe8a0d 100644
--- a/README.md
+++ b/README.md
@@ -30,3 +30,10 @@ This can happen because we dont verify all peers get the data so by the time one
Operations are parsed in order for the receiving peer using operation timestamp.
## Padding
Packets should have padding in the encrypted data to prevent peers without encryption key to analyze content
+## Fake packets
+To prevent duplication of packets, the hash of packets should be stored and each request should check against the hash list if it has not already been received
+## Functionality for dependant applications
+This database is used for chat application, and in chat applications you may want to have the ability to invite users to a channel using an invite link.
+Functionality for an invite link that is only available for a certain amount of time can be added by generating an invite packet as an admin user with timestamp
+and the user that should be added can be excluded from the signed packet, allowing any user to be added to channel while the invite link is valid.
+The invite link could be converted to hex string to make it shareable and also generate QR-code using it to make it easy to join with mobile device.