aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-08-22 03:56:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-22 03:56:54 +0800
commitb2c644ffb5c283a171ddf3889693673939917541 (patch)
tree501d3c337f5fb59404fd8d530eb247cdcc2144eb /cmd/geth
parent522cfc68ff496aee4205add982db049dc3092024 (diff)
downloaddexon-b2c644ffb5c283a171ddf3889693673939917541.tar
dexon-b2c644ffb5c283a171ddf3889693673939917541.tar.gz
dexon-b2c644ffb5c283a171ddf3889693673939917541.tar.bz2
dexon-b2c644ffb5c283a171ddf3889693673939917541.tar.lz
dexon-b2c644ffb5c283a171ddf3889693673939917541.tar.xz
dexon-b2c644ffb5c283a171ddf3889693673939917541.tar.zst
dexon-b2c644ffb5c283a171ddf3889693673939917541.zip
cmd, eth, miner: make recommit configurable (#17444)
* cmd, eth, miner: make recommit configurable * cmd, eth, les, miner: polish a bit * miner: filter duplicate sealing work * cmd: remove uncessary conversion * miner: avoid microptimization in favor of cleaner code
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index a06386051..2e87bb820 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -106,6 +106,7 @@ var (
utils.MinerLegacyEtherbaseFlag,
utils.MinerExtraDataFlag,
utils.MinerLegacyExtraDataFlag,
+ utils.MinerRecommitIntervalFlag,
utils.NATFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index 9e18f7047..674c5d901 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -190,6 +190,7 @@ var AppHelpFlagGroups = []flagGroup{
utils.MinerGasTargetFlag,
utils.MinerEtherbaseFlag,
utils.MinerExtraDataFlag,
+ utils.MinerRecommitIntervalFlag,
},
},
{