mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-02 01:11:09 +03:00
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:
parent
238b0951e0
commit
99804a6485
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue