larger bloom filter
authorNathan S. Evans <evans@in.tum.de>
Mon, 24 Jan 2011 15:49:50 +0000 (15:49 +0000)
committerNathan S. Evans <evans@in.tum.de>
Mon, 24 Jan 2011 15:49:50 +0000 (15:49 +0000)
src/dht/gnunet-dht-driver.c

index cae9bb3db0127ca7d443b7532381906ea00fd31c..1978d1cafc20256e59ee0dbd67b06483713b74c7 100644 (file)
@@ -3077,7 +3077,7 @@ run (void *cls,
     }
 
   /* Create the bloomfilter for choosing which peers to set malicious */
-  malicious_bloom = GNUNET_CONTAINER_bloomfilter_init (NULL, DHT_BLOOM_SIZE, DHT_BLOOM_K);
+  malicious_bloom = GNUNET_CONTAINER_bloomfilter_init (NULL, DHT_BLOOM_SIZE * 10, DHT_BLOOM_K);
 
   /* The normal behavior of the DHT is to do find peer requests
    * on its own.  Only if this is explicitly turned off should