+try:
+ import twisted.names.client
+ reactor.installResolver(twisted.names.client.theResolver)
+except IOError:
+ print "no resolv.conf!"
+"""
+from twisted.internet import reactor
+
+# magic id to use before we know a peer's id
+NULL_ID = 20 * '\0'
+
+# 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 = 60 * 15 # fifteen minutes
+
+
+### SEARCHING/STORING