diff options
author | Felföldi Zsolt <zsfelfoldi@gmail.com> | 2017-04-06 22:20:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-04-06 22:20:42 +0800 |
commit | 9aca9e6deb243b87cc75325be593a3b0c2f0a113 (patch) | |
tree | 605baeff7692446519b40118314a44a2fcb8e923 /cmd/geth | |
parent | 0ec1104ba92c226c279389bbeb88ca515208f030 (diff) | |
download | dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar.gz dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar.bz2 dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar.lz dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar.xz dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.tar.zst dexon-9aca9e6deb243b87cc75325be593a3b0c2f0a113.zip |
cmd, les, eth, eth/gasprice: using new gas price oracle (#13853)
* cmd, les, eth, eth/gasprice: using new gas price oracle
* eth/gasprice: renamed source file
* eth/gasprice: added security checks for gpo params
* eth/gasprice: fixed naming issues
* eth/gasprice: max limit, maxEmpty
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/main.go | 8 | ||||
-rw-r--r-- | cmd/geth/usage.go | 8 |
2 files changed, 4 insertions, 12 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index e942d53c8..c4309f44b 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -147,12 +147,8 @@ func init() { utils.FakePoWFlag, utils.NoCompactionFlag, utils.SolcPathFlag, - utils.GpoMinGasPriceFlag, - utils.GpoMaxGasPriceFlag, - utils.GpoFullBlockRatioFlag, - utils.GpobaseStepDownFlag, - utils.GpobaseStepUpFlag, - utils.GpobaseCorrectionFactorFlag, + utils.GpoBlocksFlag, + utils.GpoPercentileFlag, utils.ExtraDataFlag, } app.Flags = append(app.Flags, debug.Flags...) diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 74768f507..491a4eb98 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -151,12 +151,8 @@ var AppHelpFlagGroups = []flagGroup{ { Name: "GAS PRICE ORACLE", Flags: []cli.Flag{ - utils.GpoMinGasPriceFlag, - utils.GpoMaxGasPriceFlag, - utils.GpoFullBlockRatioFlag, - utils.GpobaseStepDownFlag, - utils.GpobaseStepUpFlag, - utils.GpobaseCorrectionFactorFlag, + utils.GpoBlocksFlag, + utils.GpoPercentileFlag, }, }, { |