GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
#endif
#endif
-#include "gnunet_bandwidth_lib.h"
+/**
+ * Last resort choice for configuration file name.
+ */
+#define GNUNET_DEFAULT_USER_CONFIG_FILE "~/.config/gnunet.conf"
/**
* Bandwidth (in/out) to assume initially (before either peer has
* After how long do we consider a connection to a peer dead
* if we don't receive messages from the peer?
*/
-#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 5)
+#define GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 5)
/**
* How long do we delay reading more from a peer after a quota violation?
* even if we assume that the service commonly does not
* respond instantly (DNS, Database, etc.).
*/
-#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_YEARS, 10)
+#define GNUNET_CONSTANTS_SERVICE_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10)
/**
* How long do we delay messages to get larger packet sizes (CORKing)?
/**
* Largest block that can be stored in the DHT.
- */
+ */
#define GNUNET_CONSTANTS_MAX_BLOCK_SIZE (62 * 1024)