aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-01 11:59:15 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit58819e501f2705a7d1dd678eb0112e97697e4366 (patch)
treec3933e5c556e36000d50dd875192acc40a63ffca /README.md
parentf416f33d7cf879f543be9c804c20b0c9cb76de4d (diff)
Remove unnecessary dependency 'fmt'
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5e62b91..5c61bf6 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,9 @@ This database is used for chat application, and in chat applications you may wan
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.
+## UDT
+Combine opendht with udt. Use opendht to find other peers and udt for communication.
+## New node download
+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