From 99804a64857af75f1990c893204255e90fe065a7 Mon Sep 17 00:00:00 2001 From: hashmap Date: Tue, 27 Mar 2018 14:51:42 +0200 Subject: [PATCH] Change log level for found cuckoo solution event (#881) Trace seems to be to low, there is a user request to make it more visible https://gitter.im/grin_community/Lobby?at=5aba24967c3a01610d7c211f --- grin/src/miner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grin/src/miner.rs b/grin/src/miner.rs index 0733122e3..ff366531c 100644 --- a/grin/src/miner.rs +++ b/grin/src/miner.rs @@ -172,7 +172,7 @@ impl Miner { if let Some(s) = job_handle.get_solution() { let proof = Proof::new(s.solution_nonces.to_vec()); let proof_diff = proof.clone().to_difficulty(); - trace!( + debug!( LOGGER, "Found cuckoo solution! nonce {} gave difficulty {} (block diff {})", s.get_nonce_as_u64(), @@ -296,7 +296,7 @@ impl Miner { let pow_hash = b.header.pre_pow_hash(); if let Ok(proof) = plugin_miner.mine(&pow_hash[..]) { let proof_diff = proof.clone().to_difficulty(); - trace!( + debug!( LOGGER, "Found cuckoo solution for nonce {} of difficulty {} (cumulative diff {})", b.header.nonce,