gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35483 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r35483 - gnunet/src/rps
Date: Sat, 28 Mar 2015 17:09:38 +0100

Author: ch3
Date: 2015-03-28 17:09:38 +0100 (Sat, 28 Mar 2015)
New Revision: 35483

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
-logging

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-03-28 16:09:34 UTC (rev 35482)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-03-28 16:09:38 UTC (rev 35483)
@@ -1150,8 +1150,10 @@
       && 0 != GNUNET_CRYPTO_cmp_peer_identity (&own_identity, peer_id))
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG,
-        "Got new peer %s (at %p) from some external source (gossip_list_size: 
%u)\n",
-        GNUNET_i2s (peer_id), peer_id, gossip_list_size);
+        "Got peer_id %s (at %p, gossip_list_size: %u)\n",
+        GNUNET_i2s (peer_id),
+        peer_id,
+        gossip_list_size);
 
     peer_ctx = get_peer_ctx (peer_map, peer_id);
     if (GNUNET_YES != get_peer_flag (peer_ctx, VALID))
@@ -1942,7 +1944,7 @@
                                            (unsigned int) gossip_list_size);
     n_peers = ceil (alpha * gossip_list_size);
     LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "Going to send pushes to %u ceil (%f * %u) peers.\n",
+         "Going to send pushes to %u (ceil (%f * %u)) peers.\n",
          n_peers, alpha, gossip_list_size);
     for (i = 0 ; i < n_peers ; i++)
     {
@@ -1960,7 +1962,7 @@
   //permut = GNUNET_CRYPTO_random_permute (GNUNET_CRYPTO_QUALITY_STRONG, 
(unsigned int) sampler_list->size);
   n_peers = ceil (beta * gossip_list_size);
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Going to send pulls to %u ceil (%f * %u) peers.\n",
+       "Going to send pulls to %u (ceil (%f * %u)) peers.\n",
        n_peers, beta, gossip_list_size);
   for (i = 0 ; i < n_peers ; i++)
   {
@@ -2458,8 +2460,6 @@
 
   /* connect to NSE */
   nse = GNUNET_NSE_connect (cfg, nse_callback, NULL);
-  // TODO check whether that was successful
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Connected to NSE\n");
 
 
   alpha = 0.45;
@@ -2485,7 +2485,6 @@
                                        &cleanup_channel,
                                        cadet_handlers,
                                        ports);
-  LOG (GNUNET_ERROR_TYPE_DEBUG, "Connected to CADET\n");
 
 
   /* Initialise sampler */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]