|
|
|
@ -460,7 +460,7 @@ var ( |
|
|
|
|
Usage: "Time interval to recreate the block being mined", |
|
|
|
|
Value: ethconfig.Defaults.Miner.Recommit, |
|
|
|
|
} |
|
|
|
|
MinerNoVerfiyFlag = cli.BoolFlag{ |
|
|
|
|
MinerNoVerifyFlag = cli.BoolFlag{ |
|
|
|
|
Name: "miner.noverify", |
|
|
|
|
Usage: "Disable remote sealing verification", |
|
|
|
|
} |
|
|
|
@ -1398,8 +1398,8 @@ func setMiner(ctx *cli.Context, cfg *miner.Config) { |
|
|
|
|
if ctx.GlobalIsSet(MinerRecommitIntervalFlag.Name) { |
|
|
|
|
cfg.Recommit = ctx.GlobalDuration(MinerRecommitIntervalFlag.Name) |
|
|
|
|
} |
|
|
|
|
if ctx.GlobalIsSet(MinerNoVerfiyFlag.Name) { |
|
|
|
|
cfg.Noverify = ctx.GlobalBool(MinerNoVerfiyFlag.Name) |
|
|
|
|
if ctx.GlobalIsSet(MinerNoVerifyFlag.Name) { |
|
|
|
|
cfg.Noverify = ctx.GlobalBool(MinerNoVerifyFlag.Name) |
|
|
|
|
} |
|
|
|
|
if ctx.GlobalIsSet(LegacyMinerGasTargetFlag.Name) { |
|
|
|
|
log.Warn("The generic --miner.gastarget flag is deprecated and will be removed in the future!") |
|
|
|
|