diff --git a/cmd/miner/client.go b/cmd/miner/client.go index 1d8515c0..f474c461 100644 --- a/cmd/miner/client.go +++ b/cmd/miner/client.go @@ -303,8 +303,9 @@ func (m *Miner) process(ctx context.Context) { continue } - log.Tracef("subscription details: %s, %s, %d", - notifyID, extraNonce1E, extraNonce2Size) + log.Tracef("Subscription details (notifyID: %s, "+ + "extraNonce1: %s, extraNonce2Size: %d)", notifyID, + extraNonce1E, extraNonce2Size) m.extraNonce1E = extraNonce1E m.extraNonce2Size = extraNonce2Size diff --git a/cmd/miner/cpuminer.go b/cmd/miner/cpuminer.go index 4d077538..b16eb2d5 100644 --- a/cmd/miner/cpuminer.go +++ b/cmd/miner/cpuminer.go @@ -172,8 +172,8 @@ func (m *CPUMiner) solveBlock(ctx context.Context, headerB []byte, target *big.R m.workData.extraNonce2 = extraNonce2 m.updateHashes <- hashesCompleted - log.Infof("Solved block hash at height (%v) is (%v)", - header.Height, header.BlockHash().String()) + log.Infof("Found hash at height %d with work below target!"+ + " (pow hash %v)", header.Height, hash) return true }