diff options
author | Nick Johnson <arachnid@notdot.net> | 2018-01-10 20:57:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-01-10 20:57:36 +0800 |
commit | b06e20bc7c498adef658b58f10f5c729b46d84f9 (patch) | |
tree | 1c16872e929bd0af039ba791419ce2c1e6190a6c /eth/config.go | |
parent | 3a5a5599dd387e70da2df3240fa5553722851bb9 (diff) | |
download | dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar.gz dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar.bz2 dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar.lz dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar.xz dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.tar.zst dexon-b06e20bc7c498adef658b58f10f5c729b46d84f9.zip |
eth/gasprice: set default percentile to 60%, count blocks instead of transactions (#15828)
The first should address a long term issue where we recommend a gas
price that is greater than that required for 50% of transactions in
recent blocks, which can lead to gas price inflation as people take
this figure and add a margin to it, resulting in a positive feedback
loop.
Diffstat (limited to 'eth/config.go')
-rw-r--r-- | eth/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/config.go b/eth/config.go index 383cd6783..4399560fa 100644 --- a/eth/config.go +++ b/eth/config.go @@ -49,8 +49,8 @@ var DefaultConfig = Config{ TxPool: core.DefaultTxPoolConfig, GPO: gasprice.Config{ - Blocks: 10, - Percentile: 50, + Blocks: 20, + Percentile: 60, }, } |