aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-08-23 21:03:10 +0800
committerGitHub <noreply@github.com>2018-08-23 21:03:10 +0800
commitc134e00e488bf4bfd88689ecf6b91ee351fb77e5 (patch)
tree2ee9858e529c1355fc02461b4ed89b9cab398d35 /miner/worker.go
parent40a71f28cf1ada0bf6bdcdc2f3c6f31a8da134a2 (diff)
parent1136269a79e6ee8bc97f5bf277bf8ec12286b79b (diff)
downloadgo-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.gz
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.bz2
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.lz
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.xz
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.zst
go-tangerine-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.zip
Merge pull request #17494 from karalabe/mined-block-uncle-check
miner: differentiate between uncle and lost block
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 18fb12e45..1a881799d 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -55,7 +55,7 @@ const (
resubmitAdjustChanSize = 10
// miningLogAtDepth is the number of confirmations before logging successful mining.
- miningLogAtDepth = 5
+ miningLogAtDepth = 7
// minRecommitInterval is the minimal time interval to recreate the mining block with
// any newly arrived transactions.