]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_dht/apt_dht_conf.py
Update all tests to add the deferred as both errback and callback.
[quix0rs-apt-p2p.git] / apt_dht / apt_dht_conf.py
index 626f0ffc32e394a580b1e122e5d38299319f9539..038819e0b4b422797aa803b4aa03fcb5f9aca52f 100644 (file)
@@ -28,8 +28,13 @@ DEFAULTS = {
     # User name to try and run as
     'username': '',
 
-    # Which DHT implementation to use
-    'DHT': 'apt_dht_Khashmir',
+    # Which DHT implementation to use.
+    # It must be possile to do "from <DHT> import DHT" to get a class that
+    # implements the IDHT interface.
+    'DHT': 'apt_dht_Khashmir.DHT',
+
+    # Whether to only run the DHT (for providing a login node)
+    'DHT-only': 'no',
 }
 
 DHT_DEFAULTS = {