aboutsummaryrefslogtreecommitdiffstats
path: root/miner/stress_clique.go
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 /miner/stress_clique.go
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 'miner/stress_clique.go')
-rw-r--r--miner/stress_clique.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/stress_clique.go b/miner/stress_clique.go
index 8545b9413..8961091d5 100644
--- a/miner/stress_clique.go
+++ b/miner/stress_clique.go
@@ -206,6 +206,8 @@ func makeSealer(genesis *core.Genesis, nodes []string) (*node.Node, error) {
DatabaseHandles: 256,
TxPool: core.DefaultTxPoolConfig,
GPO: eth.DefaultConfig.GPO,
+ MinerGasFloor: genesis.GasLimit * 9 / 10,
+ MinerGasCeil: genesis.GasLimit * 11 / 10,
MinerGasPrice: big.NewInt(1),
MinerRecommit: time.Second,
})