aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-14 00:29:48 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commitb995e79eaf3ac940547beb902c1e1da5c08308ec (patch)
tree1ea42490d078970ca05290fcd059c0094fc30e9e /README.md
parent8b94c3bf3a06caa7b003fe61e8242bdb00004eb5 (diff)
Update readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/README.md b/README.md
index 1f6d8a9..90c17fd 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,6 @@ See src/Encryption.cpp, src/Signature.cpp and src/Hash.cpp.
Also check Scheme.md for packet construction.
# Limits
Only 65kb of data can be used for each `add`. You can add more data by using `add` several times.
-User and group name can't be longer than 255 characters.
# TODO
## Data limit
@@ -27,7 +26,7 @@ This can happen because we dont verify all peers get the data so by the time one
(depends on network routing, network speed etc). Out of order requests also allows the network to operate faster.
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
+Packets should have padding in the encrypted data to prevent peers without encryption key to analyze content by length
## 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
@@ -41,5 +40,3 @@ Combine opendht with udt. Use opendht to find other peers and udt for communicat
Use a merkle tree and when requesting new nodes when connecting, send X latest hashes and other peers can send you where you have missing data and send you it.
If all X hashes are wrong, send older hashes.
However if we are only using opendht to find other peers, we might as well use https://github.com/DavidKeller/kademlia or https://github.com/ytakano/libcage
-## Remove username
-Username is cosmetic and not unique. Applications that uses odhtdb should implement their own username system if they wish to do so (using addData operation)