diff --git a/proxy/miner.go b/proxy/miner.go index 5f338ec..0441773 100644 --- a/proxy/miner.go +++ b/proxy/miner.go @@ -84,6 +84,7 @@ func (m *Miner) processShare(s *ProxyServer, t *BlockTemplate, diff string, para h, ok := t.headers[hashNoNonce] if !ok { log.Printf("Stale share from %v@%v", m.Id, m.IP) + atomic.AddUint64(&m.rejects, 1) return false } mixDigest := params[2]