* @author Florian Dold
*/
#include "platform.h"
-#include "gnunet_common.h"
#include "gnunet_util_lib.h"
#include "gnunet_set_service.h"
#include "gnunet_testbed_service.h"
config = cfg;
- if (GNUNET_OK != GNUNET_CRYPTO_get_host_identity (cfg, &local_peer))
+ if (GNUNET_OK != GNUNET_CRYPTO_get_peer_identity (cfg, &local_peer))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "could not retrieve host identity\n");
ret = 0;
info1.id = "a";
info2.id = "b";
-
+
info1.sent = GNUNET_CONTAINER_multihashmap_create (num_a+1, GNUNET_NO);
info2.sent = GNUNET_CONTAINER_multihashmap_create (num_b+1, GNUNET_NO);
common_sent = GNUNET_CONTAINER_multihashmap_create (num_c+1, GNUNET_NO);