fixmes
authorChristian Grothoff <christian@grothoff.org>
Wed, 29 Sep 2010 09:09:59 +0000 (09:09 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 29 Sep 2010 09:09:59 +0000 (09:09 +0000)
src/dht/gnunet-service-dht.c
src/include/gnunet_dht_service.h

index 32ac94bc10c2b29b8ed6a518baa075586d358cee..9af57af6bcd06788cee2d40287a843cea65d078d 100644 (file)
@@ -3942,6 +3942,7 @@ handle_dht_p2p_route_result (void *cls,
     }
 
   memset(&message_context, 0, sizeof(struct DHT_MessageContext));
+  // FIXME: call GNUNET_BLOCK_evaluate (...) -- instead of doing your own bloomfilter!
   message_context.bloom = GNUNET_CONTAINER_bloomfilter_init(incoming->bloomfilter, DHT_BLOOM_SIZE, DHT_BLOOM_K);
   GNUNET_assert(message_context.bloom != NULL);
   memcpy(&message_context.key, &incoming->key, sizeof(GNUNET_HashCode));
index a95cfafe6f9c257429fda3d8eb1a3552f3387033..e4eed20d8ece4fb9e56f174389cbc8fb171a20a2 100644 (file)
@@ -163,6 +163,7 @@ GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle,
                       struct GNUNET_TIME_Relative timeout,
                       enum GNUNET_BLOCK_Type type,
                       const GNUNET_HashCode * key,
+                     // bf, bf_mutator, xquery, xquery_size
                       GNUNET_DHT_GetIterator iter,
                       void *iter_cls,
                       GNUNET_SCHEDULER_Task cont,