diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-09-07 14:33:14 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-09-07 14:33:14 +0000 |
commit | a6f9e3d3b78cb1e1333965620e957ffeed709ed0 (patch) | |
tree | d26f26029a9784c16293998504003412cf8dde28 /src/dht/dht.h | |
parent | 13d8744f99d41435783f28fd683784705194a281 (diff) | |
download | gnunet-a6f9e3d3b78cb1e1333965620e957ffeed709ed0.tar.gz gnunet-a6f9e3d3b78cb1e1333965620e957ffeed709ed0.zip |
add republish support in dht (default once an hour, just like kademlia), improved next hop selection (or so I think), use 'TrialInfo' struct in dhtlog testcase
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r-- | src/dht/dht.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h index 0f662f0b1..86edc9997 100644 --- a/src/dht/dht.h +++ b/src/dht/dht.h | |||
@@ -29,9 +29,9 @@ | |||
29 | 29 | ||
30 | #define DEBUG_DHT GNUNET_NO | 30 | #define DEBUG_DHT GNUNET_NO |
31 | 31 | ||
32 | #define DEBUG_DHT_ROUTING GNUNET_YES | 32 | #define DEBUG_DHT_ROUTING GNUNET_NO |
33 | 33 | ||
34 | #define DHT_BLOOM_SIZE 16 | 34 | #define DHT_BLOOM_SIZE 32 |
35 | 35 | ||
36 | #define DHT_BLOOM_K 8 | 36 | #define DHT_BLOOM_K 8 |
37 | 37 | ||
@@ -39,6 +39,8 @@ | |||
39 | 39 | ||
40 | #define DHT_FORWARD_TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) | 40 | #define DHT_FORWARD_TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) |
41 | 41 | ||
42 | #define DHT_REPUBLISH_FREQUENCY GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 1) | ||
43 | |||
42 | #define DHT_SEND_PRIORITY 4 | 44 | #define DHT_SEND_PRIORITY 4 |
43 | 45 | ||
44 | #define DEFAULT_GET_REPLICATION 5 | 46 | #define DEFAULT_GET_REPLICATION 5 |