diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-13 11:54:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-13 11:54:44 +0000 |
commit | e82ae411a399b4c1089162c2ec7582caf652c010 (patch) | |
tree | a7dd695da243800317f9139e60a0ce4e208630a2 /src/dht/dht.h | |
parent | 485e370d56f978a7261138d2fdca32be1bcbcd8c (diff) | |
download | gnunet-e82ae411a399b4c1089162c2ec7582caf652c010.tar.gz gnunet-e82ae411a399b4c1089162c2ec7582caf652c010.zip |
stuff
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r-- | src/dht/dht.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h index e73789220..de1792070 100644 --- a/src/dht/dht.h +++ b/src/dht/dht.h | |||
@@ -35,12 +35,12 @@ | |||
35 | #define DEBUG_DHT_ROUTING GNUNET_YES | 35 | #define DEBUG_DHT_ROUTING GNUNET_YES |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * FIXME: document. | 38 | * Size of the bloom filter the DHT uses to filter peers. |
39 | */ | 39 | */ |
40 | #define DHT_BLOOM_SIZE 128 | 40 | #define DHT_BLOOM_SIZE 128 |
41 | 41 | ||
42 | /** | 42 | /** |
43 | * FIXME: document. | 43 | * Number of bits set per entry in the bloom filter for peers. |
44 | */ | 44 | */ |
45 | #define DHT_BLOOM_K 6 | 45 | #define DHT_BLOOM_K 6 |
46 | 46 | ||
@@ -271,7 +271,7 @@ struct GNUNET_DHT_P2PRouteMessage | |||
271 | uint64_t unique_id GNUNET_PACKED; | 271 | uint64_t unique_id GNUNET_PACKED; |
272 | 272 | ||
273 | /** | 273 | /** |
274 | * Bloomfilter to stop circular routes | 274 | * Bloomfilter (for peer identities) to stop circular routes |
275 | */ | 275 | */ |
276 | char bloomfilter[DHT_BLOOM_SIZE]; | 276 | char bloomfilter[DHT_BLOOM_SIZE]; |
277 | 277 | ||