#include "gnunet_dht_service.h"
/* DEFINES */
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
/* Timeout for entire testcase */
#define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5)
const struct GNUNET_PeerIdentity * const *get_path,
const struct GNUNET_PeerIdentity * const *put_path,
enum GNUNET_BLOCK_Type type,
- uint32_t size,
+ size_t size,
const void *data)
{
struct TestGetContext *test_get = cls;
outstanding_gets++;
test_get->get_handle = GNUNET_DHT_get_start(test_get->dht_handle,
GNUNET_TIME_UNIT_FOREVER_REL,
- 1 /* FIXME: use real type */,
+ GNUNET_BLOCK_TYPE_TEST,
&key,
GNUNET_DHT_RO_NONE,
NULL, 0,
GNUNET_DHT_put(test_put->dht_handle,
&key,
GNUNET_DHT_RO_NONE,
- 1 /* FIXME: use real type */,
+ GNUNET_BLOCK_TYPE_TEST,
sizeof(data), data,
GNUNET_TIME_UNIT_FOREVER_ABS,
GNUNET_TIME_UNIT_FOREVER_REL,