From e8f229b82ef99213f8f84b8a71f752b236024494 Mon Sep 17 00:00:00 2001 From: Péter Szilágyi Date: Wed, 29 Aug 2018 12:21:12 +0300 Subject: cmd, core, eth, miner, params: configurable gas floor and ceil --- miner/stress_ethash.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'miner/stress_ethash.go') diff --git a/miner/stress_ethash.go b/miner/stress_ethash.go index 4ed8aeee4..5ed11d73a 100644 --- a/miner/stress_ethash.go +++ b/miner/stress_ethash.go @@ -186,6 +186,8 @@ func makeMiner(genesis *core.Genesis, nodes []string) (*node.Node, error) { TxPool: core.DefaultTxPoolConfig, GPO: eth.DefaultConfig.GPO, Ethash: eth.DefaultConfig.Ethash, + MinerGasFloor: genesis.GasLimit * 9 / 10, + MinerGasCeil: genesis.GasLimit * 11 / 10, MinerGasPrice: big.NewInt(1), MinerRecommit: time.Second, }) -- cgit