Revert to gas price ordering (#2919)
This commit is contained in:
parent
8dff4012a6
commit
ce37b6dcb9
@ -98,7 +98,7 @@ impl Default for MinerOptions {
|
|||||||
tx_gas_limit: !U256::zero(),
|
tx_gas_limit: !U256::zero(),
|
||||||
tx_queue_size: 1024,
|
tx_queue_size: 1024,
|
||||||
tx_queue_gas_limit: GasLimit::Auto,
|
tx_queue_gas_limit: GasLimit::Auto,
|
||||||
tx_queue_strategy: PrioritizationStrategy::GasFactorAndGasPrice,
|
tx_queue_strategy: PrioritizationStrategy::GasPriceOnly,
|
||||||
pending_set: PendingSet::AlwaysQueue,
|
pending_set: PendingSet::AlwaysQueue,
|
||||||
reseal_min_period: Duration::from_secs(2),
|
reseal_min_period: Duration::from_secs(2),
|
||||||
work_queue_size: 20,
|
work_queue_size: 20,
|
||||||
|
@ -205,7 +205,7 @@ usage! {
|
|||||||
or |c: &Config| otry!(c.mining).tx_queue_size.clone(),
|
or |c: &Config| otry!(c.mining).tx_queue_size.clone(),
|
||||||
flag_tx_queue_gas: String = "auto",
|
flag_tx_queue_gas: String = "auto",
|
||||||
or |c: &Config| otry!(c.mining).tx_queue_gas.clone(),
|
or |c: &Config| otry!(c.mining).tx_queue_gas.clone(),
|
||||||
flag_tx_queue_strategy: String = "gas_factor",
|
flag_tx_queue_strategy: String = "gas_price",
|
||||||
or |c: &Config| otry!(c.mining).tx_queue_strategy.clone(),
|
or |c: &Config| otry!(c.mining).tx_queue_strategy.clone(),
|
||||||
flag_remove_solved: bool = false,
|
flag_remove_solved: bool = false,
|
||||||
or |c: &Config| otry!(c.mining).remove_solved.clone(),
|
or |c: &Config| otry!(c.mining).remove_solved.clone(),
|
||||||
|
Loading…
Reference in New Issue
Block a user