]> git.mxchange.org Git - quix0rs-apt-p2p.git/blob - TODO
Added some things to do for the future.
[quix0rs-apt-p2p.git] / TODO
1 Upgrade the security in khashmir by using longer TIDs.
2
3 The TIDs sent with every request that must be echoed on response are 
4 very short (one char). They should be lengthened to 20 using the NewID() 
5 function from khash.
6
7
8 Hashes of files need to be stored permanently.
9
10 A new database of files and their hashes is needed. It should store the 
11 location and hash of the file as well as the modtime and other details 
12 so we can check if a file needs to be rehashed on startup. The DB can 
13 also be used to store info needed to manage the values stored in the DHT.
14
15
16 Add ability to search and hash and DHT-store other directories.
17
18 The user should be able to specify a list of directories that will be 
19 searched for files to hash and add to the DHT.
20
21
22 Missing Kademlia implementation details are needed.
23
24 The current implementation is missing some important features, mostly 
25 focussed on storing values:
26  - values need to be republished (every hour?)
27  - original publishers need to republish values (every 24 hours)
28  - when a new node is found that is closer to some values, replicate the 
29    values there without deleting them
30  - when a value lookup succeeds, store the value in the closest node 
31    found that didn't have it
32  - make the expiration time of a value exponentially inversely 
33    proportional to the number of nodes between the current node and the 
34    node closest to the value