DCE
authorChristian Grothoff <christian@grothoff.org>
Mon, 10 Oct 2011 11:22:19 +0000 (11:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 10 Oct 2011 11:22:19 +0000 (11:22 +0000)
src/core/gnunet-service-core_kx.c
src/core/gnunet-service-core_neighbours.c

index 6d10c9022f80136d13ee704b66be7a4d2e7860e1..ba3ab87b94ca03b1c32fa153f40fe382941ec9f1 100644 (file)
@@ -93,8 +93,7 @@ struct PingMessage
 
 
 /**
- * Response to a PING.  Includes data from the original PING
- * plus initial bandwidth quota information.
+ * Response to a PING.  Includes data from the original PING.
  */
 struct PongMessage
 {
@@ -898,8 +897,6 @@ GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx,
   }
   /* construct PONG */
   tx.reserved = GNUNET_BANDWIDTH_VALUE_MAX;
-  /* FIXME: here we should ideally ask ATS about unassigned bandwidth and fill in 
-     a value based on that; using the minimum here results in a rather slow start... */
   tx.challenge = t.challenge;
   tx.target = t.target;
   tp.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_PONG);
index 0548766d0249542b305f3b48ada199e377b44445..2aabde05edec302a15ff659ab2d13fe2065f7429 100644 (file)
 #include "gnunet_constants.h"
 
 
-/**
- * Receive and send buffer windows grow over time.  For
- * how long can 'unused' bandwidth accumulate before we
- * need to cap it?  (specified in seconds).
- */
-#define MAX_WINDOW_TIME_S (5 * 60)
-
-
 /**
  * Message ready for transmission via transport service.  This struct
  * is followed by the actual content of the message.