]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - TODO
Another attempt at throttling, still not working.
[quix0rs-apt-p2p.git] / TODO
diff --git a/TODO b/TODO
index 3abb53ccfa5d5ea0269dc28175e923a45ccad2bb..bd24953de2cffe8a2b5e2bafa86e05b7f9da20be 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,13 +1,16 @@
-Clean up the khashmir actions.
-
-The khashmir actions are a mess, and some cleanup is necessary. A lot
-of the actions have most of their processing in common, so this code
-should be put in functions that all can call. Perhaps creating a
-base "RecurringAction" and "StaticAction" would be a good idea,
-as then find_node and find_value could use the first, while get_value
-and store_value could use the second. Perhaps ping and join actions
-should also be created for consistency, and maybe inherit from a
-"SingleNodeAction" base class.
+Consider what happens when we are the closest node.
+
+In some of the actions it is unclear what happens when we are one of the
+closest nodes to the target key. Do we store values that we publish
+ourself?
+
+
+Add all cache files to the database.
+
+All files in the cache should be added to the database, so that they can
+be checked to make sure nothing has happened to them. The database would
+then need a flag to indicate files that are hashed and available, but
+that shouldn't be added to the DHT.
 
 
 Packages.diff files need to be considered.