/**
* General core debugging.
*/
-#define DEBUG_CORE GNUNET_NO
+#define DEBUG_CORE GNUNET_YES
/**
* Debugging interaction core-clients.
#include "core.h"
-#define DEBUG_HANDSHAKE GNUNET_YES
+#define DEBUG_HANDSHAKE GNUNET_NO
-#define DEBUG_CORE_QUOTA GNUNET_NO
+#define DEBUG_CORE_QUOTA GNUNET_YES
/**
* Receive and send buffer windows grow over time. For
GNUNET_YES,
GNUNET_CORE_OPTION_SEND_FULL_OUTBOUND);
#if DEBUG_HANDSHAKE
- fprintf (stderr,
- "Encrypting message of type %u\n",
- ntohs(((struct GNUNET_MessageHeader*)&pos[1])->type));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Encrypting message of type %u\n",
+ ntohs(((struct GNUNET_MessageHeader*)&pos[1])->type));
#endif
/* copy for encrypted transmission */
memcpy (&buf[ret], &pos[1], pos->size);
/* validate hash */
GNUNET_CRYPTO_hash (&pt->sequence_number,
size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode), &ph);
-#if DEBUG_CORE
+#if DEBUG_HANDSHAKE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"V-Hashed %u bytes of plaintext (`%s') using IV `%d'\n",
size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode),
[PATHS]
SERVICEHOME = /tmp/gnunet-test-fs-lib/
-DEFAULTCONFIG = test_fs_lib_data.conf
+DEFAULTCONFIG = fs_test_lib_data.conf
[gnunetd]
HOSTKEY = $SERVICEHOME/.hostkey
HOSTNAME = localhost
#TOTAL_QUOTA_IN = 3932160
#TOTAL_QUOTA_OUT = 3932160
-#DEBUG = YES
+DEBUG = YES
#PREFIX = valgrind --tool=memcheck --leak-check=yes
#BINARY = /home/grothoff/bin/gnunet-service-core
[fs]
PORT = 43471
HOSTNAME = localhost
-#DEBUG = YES
+DEBUG = YES
#PREFIX = valgrind --tool=memcheck --leak-check=yes
#BINARY = /home/grothoff/bin/gnunet-service-fs
#PREFIX = xterm -e gdb -x cmd --args