diff --git a/ethcore/src/miner/miner.rs b/ethcore/src/miner/miner.rs index a2dab447518..08d84b6378a 100644 --- a/ethcore/src/miner/miner.rs +++ b/ethcore/src/miner/miner.rs @@ -462,8 +462,8 @@ impl Miner { let mut queue = self.transaction_queue.lock(); queue.set_gas_limit(gas_limit); if let GasLimit::Auto = self.options.tx_queue_gas_limit { - // Set total tx queue gas limit to be 2x the block gas limit. - queue.set_total_gas_limit(gas_limit << 1); + // Set total tx queue gas limit to be 20x the block gas limit. + queue.set_total_gas_limit(gas_limit * 20.into()); } } diff --git a/parity/cli/usage.txt b/parity/cli/usage.txt index 75501cdd199..c2eb51ade27 100644 --- a/parity/cli/usage.txt +++ b/parity/cli/usage.txt @@ -186,7 +186,7 @@ Sealing/Mining Options: to be included in next block) (default: {flag_tx_queue_size}). --tx-queue-gas LIMIT Maximum amount of total gas for external transactions in the queue. LIMIT can be either an amount of gas or - 'auto' or 'off'. 'auto' sets the limit to be 2x + 'auto' or 'off'. 'auto' sets the limit to be 20x the current block gas limit. (default: {flag_tx_queue_gas}). --remove-solved Move solved blocks from the work package queue instead of cloning them. This gives a slightly