debugnotinfo
authorChristian Grothoff <christian@grothoff.org>
Mon, 25 Jul 2011 15:42:15 +0000 (15:42 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 25 Jul 2011 15:42:15 +0000 (15:42 +0000)
src/nse/gnunet-service-nse.c

index 7ca8bc00c1814e9fb7625f8a87517521f8374cb1..45f8edb9d6b5181aa461e13e5ec3dc18c990a94e 100644 (file)
@@ -814,9 +814,11 @@ find_proof (void *cls,
       if (nse_work_required <= count_leading_zeroes(&result))
        {
          my_proof = counter;
-         GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-                     _("Proof of work found: %llu!\n"),
+#if DEBUG_NSE
+         GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                     "Proof of work found: %llu!\n",
                      (unsigned long long) GNUNET_ntohll (counter));
+#endif
          for (i=0;i<HISTORY_SIZE;i++)      
            if (ntohl (size_estimate_messages[i].hop_count) == 0) 
              {