aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-14 20:13:24 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit080487c961b424c9dd822d38ec8c2c4d79aff24b (patch)
tree2380205a466eee8837d62f599b83a3a50c41d7c1 /README.md
parent4241bcd4e14095e4340a0300e205f6fdc503f1d8 (diff)
Only download nodes that we are missing
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 90c17fd..78e8cc4 100644
--- a/README.md
+++ b/README.md
@@ -40,3 +40,11 @@ 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
+## Safe multi-threading SQL handling
+Create SQL classes with mutex for performing prepared statements. Currently the database can crasah if DatabaseStorage methods are accessed at the same time
+from multiple threads
+## Find a way to deal with u64 in sqlite
+Used by timestamp and action counter
+## Packet sorting
+When you get packets from remote peers, you might get NodeAddData before Node, in that case the packets should not be discarded but there should be
+a flag for NodeAddData to handle such situations