]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - test.py
Block favicon.ico and allow remote stats requests (configurable).
[quix0rs-apt-p2p.git] / test.py
diff --git a/test.py b/test.py
index 3ccaa14b3947a22d915757c09a7202966f861a16..ec64de2e30a2a35a268a2da22018682c5ef5939f 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -357,12 +357,12 @@ 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
 
+# Whether a remote peer can access the statistics page
+REMOTE_STATS = yes
+
 # Unload the packages cache after an interval of inactivity this long.
 # The packages cache uses a lot of memory, and only takes a few seconds
 # to reload when a new request arrives.
@@ -387,12 +387,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