aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-08-22 14:47:50 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-22 14:47:50 +0800
commitaf85d8e2b342aa6feff68cec59db9be3c1e85022 (patch)
tree0b2f4e17d69b39e478643152312e658deeefdf9e /eth
parent6a8b47c880fc55d8095a2894cd00f7984de6090b (diff)
downloaddexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.gz
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.bz2
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.lz
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.xz
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.tar.zst
dexon-af85d8e2b342aa6feff68cec59db9be3c1e85022.zip
cmd, eth: apply default miner recommit setting (#17479)
Diffstat (limited to 'eth')
-rw-r--r--eth/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/config.go b/eth/config.go
index cbd02416b..1398a5514 100644
--- a/eth/config.go
+++ b/eth/config.go
@@ -49,6 +49,7 @@ var DefaultConfig = Config{
TrieCache: 256,
TrieTimeout: 60 * time.Minute,
MinerGasPrice: big.NewInt(18 * params.Shannon),
+ MinerRecommit: 3 * time.Second,
TxPool: core.DefaultTxPoolConfig,
GPO: gasprice.Config{