]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - test.py
Clean up the DHT config, making K and HASH_LENGTH constants instead.
[quix0rs-apt-p2p.git] / test.py
diff --git a/test.py b/test.py
index 3ccaa14b3947a22d915757c09a7202966f861a16..d4df4e74e661a56ede906c65e2b6f57e36ac4e71 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -357,9 +357,6 @@ CACHE_DIR = %(CACHE_DIR)s
 #          for everybody to download
 # OTHER_DIRS = 
     
-# User name to try and run as
-# USERNAME = 
-
 # Whether it's OK to use an IP addres from a known local/private range
 LOCAL_OK = yes
 
@@ -387,12 +384,6 @@ BOOTSTRAP = %(BOOTSTRAP)s
 # whether this node is a bootstrap node
 BOOTSTRAP_NODE = %(BOOTSTRAP_NODE)s
 
-# Kademlia "K" constant, this should be an even number
-K = 8
-
-# SHA1 is 160 bits long
-HASH_LENGTH = 160
-
 # checkpoint every this many seconds
 CHECKPOINT_INTERVAL = 5m