Merge pull request #13870 from karalabe/miners-fixes

all: clean up various error handling in core and the miner
This commit is contained in:
Péter Szilágyi
2017-04-07 11:03:11 +03:00
committed by GitHub
18 changed files with 117 additions and 367 deletions

View File

@ -161,12 +161,6 @@ func init() {
// Start system runtime metrics collection
go metrics.CollectProcessMetrics(3 * time.Second)
// This should be the only place where reporting is enabled
// because it is not intended to run while testing.
// In addition to this check, bad block reports are sent only
// for chains with the main network genesis block and network id 1.
eth.EnableBadBlockReporting = true
utils.SetupNetwork(ctx)
return nil
}