Increase size of transaction queue by default (#2519)
Conflicts: ethcore/src/miner/miner.rs parity/cli/config.full.toml parity/cli/mod.rs parity/configuration.rs
This commit is contained in:
		
							parent
							
								
									fe83046198
								
							
						
					
					
						commit
						64af073bd4
					
				@ -83,7 +83,7 @@ impl Default for MinerOptions {
 | 
			
		||||
			reseal_on_external_tx: false,
 | 
			
		||||
			reseal_on_own_tx: true,
 | 
			
		||||
			tx_gas_limit: !U256::zero(),
 | 
			
		||||
			tx_queue_size: 1024,
 | 
			
		||||
			tx_queue_size: 2048,
 | 
			
		||||
			tx_queue_strategy: PrioritizationStrategy::GasFactorAndGasPrice,
 | 
			
		||||
			pending_set: PendingSet::AlwaysQueue,
 | 
			
		||||
			reseal_min_period: Duration::from_secs(2),
 | 
			
		||||
 | 
			
		||||
@ -193,7 +193,7 @@ Sealing/Mining Options:
 | 
			
		||||
  --extra-data STRING      Specify a custom extra-data for authored blocks, no
 | 
			
		||||
                           more than 32 characters.
 | 
			
		||||
  --tx-queue-size LIMIT    Maximum amount of transactions in the queue (waiting
 | 
			
		||||
                           to be included in next block) [default: 1024].
 | 
			
		||||
                           to be included in next block) [default: 2048].
 | 
			
		||||
  --tx-queue-strategy S    Prioritization strategy used to order transactions
 | 
			
		||||
                           in the queue. S may be:
 | 
			
		||||
                           gas - Prioritize txs with low gas limit;
 | 
			
		||||
 | 
			
		||||
@ -215,7 +215,7 @@ impl Default for MinerExtras {
 | 
			
		||||
			extra_data: version_data(),
 | 
			
		||||
			gas_floor_target: U256::from(4_700_000),
 | 
			
		||||
			gas_ceil_target: U256::from(6_283_184),
 | 
			
		||||
			transactions_limit: 1024,
 | 
			
		||||
			transactions_limit: 2048,
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user