aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-08-29 17:21:12 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-29 17:40:12 +0800
commite8f229b82ef99213f8f84b8a71f752b236024494 (patch)
tree62f4d24ddfcb9fba0573531995739bcfdbf8b143 /cmd/geth
parentc1c003e4ff36c22d67662ca661fc78cde850d401 (diff)
downloadgo-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar.gz
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar.bz2
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar.lz
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar.xz
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.tar.zst
go-tangerine-e8f229b82ef99213f8f84b8a71f752b236024494.zip
cmd, core, eth, miner, params: configurable gas floor and ceil
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go2
-rw-r--r--cmd/geth/usage.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 0ed67d0d5..4d7e98698 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -101,6 +101,7 @@ var (
utils.MinerNotifyFlag,
utils.MinerGasTargetFlag,
utils.MinerLegacyGasTargetFlag,
+ utils.MinerGasLimitFlag,
utils.MinerGasPriceFlag,
utils.MinerLegacyGasPriceFlag,
utils.MinerEtherbaseFlag,
@@ -236,7 +237,6 @@ func init() {
// Start system runtime metrics collection
go metrics.CollectProcessMetrics(3 * time.Second)
- utils.SetupNetwork(ctx)
return nil
}
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index 2f8260e0f..a674eca4f 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -189,6 +189,7 @@ var AppHelpFlagGroups = []flagGroup{
utils.MinerNotifyFlag,
utils.MinerGasPriceFlag,
utils.MinerGasTargetFlag,
+ utils.MinerGasLimitFlag,
utils.MinerEtherbaseFlag,
utils.MinerExtraDataFlag,
utils.MinerRecommitIntervalFlag,