diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |