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
This commit is contained in:
hashmap 2018-03-27 14:51:42 +02:00 committed by Yeastplume
parent 238b0951e0
commit 99804a6485

View file

@ -172,7 +172,7 @@ impl Miner {
if let Some(s) = job_handle.get_solution() { if let Some(s) = job_handle.get_solution() {
let proof = Proof::new(s.solution_nonces.to_vec()); let proof = Proof::new(s.solution_nonces.to_vec());
let proof_diff = proof.clone().to_difficulty(); let proof_diff = proof.clone().to_difficulty();
trace!( debug!(
LOGGER, LOGGER,
"Found cuckoo solution! nonce {} gave difficulty {} (block diff {})", "Found cuckoo solution! nonce {} gave difficulty {} (block diff {})",
s.get_nonce_as_u64(), s.get_nonce_as_u64(),
@ -296,7 +296,7 @@ impl Miner {
let pow_hash = b.header.pre_pow_hash(); let pow_hash = b.header.pre_pow_hash();
if let Ok(proof) = plugin_miner.mine(&pow_hash[..]) { if let Ok(proof) = plugin_miner.mine(&pow_hash[..]) {
let proof_diff = proof.clone().to_difficulty(); let proof_diff = proof.clone().to_difficulty();
trace!( debug!(
LOGGER, LOGGER,
"Found cuckoo solution for nonce {} of difficulty {} (cumulative diff {})", "Found cuckoo solution for nonce {} of difficulty {} (cumulative diff {})",
b.header.nonce, b.header.nonce,