diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-08-23 21:03:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-23 21:03:10 +0800 |
commit | c134e00e488bf4bfd88689ecf6b91ee351fb77e5 (patch) | |
tree | 2ee9858e529c1355fc02461b4ed89b9cab398d35 /miner/worker.go | |
parent | 40a71f28cf1ada0bf6bdcdc2f3c6f31a8da134a2 (diff) | |
parent | 1136269a79e6ee8bc97f5bf277bf8ec12286b79b (diff) | |
download | dexon-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.gz dexon-c134e00e488bf4bfd88689ecf6b91ee351fb77e5.tar.zst dexon-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.go | 2 |
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. |