Struct ethcore::miner::MinerOptions
[−]
[src]
pub struct MinerOptions { pub force_sealing: bool, pub reseal_on_external_tx: bool, pub reseal_on_own_tx: bool, pub reseal_on_uncle: bool, pub reseal_min_period: Duration, pub reseal_max_period: Duration, pub pending_set: PendingSet, pub work_queue_size: usize, pub enable_resubmission: bool, pub infinite_pending_block: bool, pub tx_queue_strategy: PrioritizationStrategy, pub tx_queue_penalization: Penalization, pub refuse_service_transactions: bool, pub pool_limits: Options, pub pool_verification_options: Options, }
Configures the behaviour of the miner.
Fields
force_sealing: bool
Force the miner to reseal, even when nobody has asked for work.
reseal_on_external_tx: bool
Reseal on receipt of new external transactions.
reseal_on_own_tx: bool
Reseal on receipt of new local transactions.
reseal_on_uncle: bool
Reseal when new uncle block has been imported.
reseal_min_period: Duration
Minimum period between transaction-inspired reseals.
reseal_max_period: Duration
Maximum period between blocks (enables force sealing after that).
pending_set: PendingSet
Whether we should fallback to providing all the queue's transactions or just pending.
work_queue_size: usize
How many historical work packages can we store before running out?
enable_resubmission: bool
Can we submit two different solutions for the same block and expect both to result in an import?
infinite_pending_block: bool
Create a pending block with maximal possible gas limit. NOTE: Such block will contain all pending transactions but will be invalid if mined.
tx_queue_strategy: PrioritizationStrategy
Strategy to use for prioritizing transactions in the queue.
tx_queue_penalization: Penalization
Simple senders penalization.
refuse_service_transactions: bool
Do we refuse to accept service transactions even if sender is certified.
pool_limits: Options
Transaction pool limits.
pool_verification_options: Options
Initial transaction verification options.
Trait Implementations
impl Debug for MinerOptions
[src]
impl Debug for MinerOptions
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for MinerOptions
[src]
impl PartialEq for MinerOptions
fn eq(&self, __arg_0: &MinerOptions) -> bool
[src]
fn eq(&self, __arg_0: &MinerOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MinerOptions) -> bool
[src]
fn ne(&self, __arg_0: &MinerOptions) -> bool
This method tests for !=
.
impl Default for MinerOptions
[src]
impl Default for MinerOptions
Auto Trait Implementations
impl Send for MinerOptions
impl Send for MinerOptions
impl Sync for MinerOptions
impl Sync for MinerOptions