- update default values, eliminate obsolete ones
[oweals/gnunet.git] / src / dht / gnunet-service-xdht.c
index f76d62078d7bc0fc64c98340730a225c89e64482..40aa71a0f2d0d4b9490c4b4d96145bb76b55842f 100644 (file)
@@ -77,6 +77,13 @@ static struct GNUNET_TRANSPORT_GetHelloHandle *ghh;
  */
 struct GNUNET_TIME_Relative hello_expiration;
 
+#if ENABLE_MALICIOUS
+/**
+ * Should this peer act malicious?
+ */
+unsigned int malicious;
+#endif
+
 
 /**
  * Receive the HELLO from transport service, free current and replace
@@ -192,14 +199,6 @@ main (int argc, char *const *argv)
 {
   int ret;
 
-  /* FIXME:
-   Here add a new field threshold to set user defined threshold
-   on routing table size and trail length. Pass the thr1 and thr2 
-   to neighbours_init and in neighbours file, in function where we
-   are adding a new entry into our routing table and trail length, 
-   check the threshold values. After conducting experiments, try to 
-   find the correct threshold to have a balance between attack tolerance 
-   and performance.*/
   ret =
       (GNUNET_OK ==
        GNUNET_SERVICE_run (argc, argv, "dht", GNUNET_SERVICE_OPTION_NONE, &run,