aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-05-14 00:29:48 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-05-14 00:29:51 +0200
commit87a425d8461b084407cfe5aa11ca2832033b4453 (patch)
treec1a1caaa70b7be4807f1955987b8a774fc6472c1
parent9af086151e6d9d3fe88f9e3e21797812a3e701ba (diff)
Update readme
-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)