Struct ethcore::miner::MinerOptions [] [src]

pub struct MinerOptions {
    pub new_work_notify: Vec<String>,
    pub force_sealing: bool,
    pub reseal_on_external_tx: bool,
    pub reseal_on_own_tx: bool,
    pub reseal_min_period: Duration,
    pub tx_gas_limit: U256,
    pub tx_queue_size: usize,
    pub tx_queue_strategy: PrioritizationStrategy,
    pub pending_set: PendingSet,
    pub work_queue_size: usize,
    pub enable_resubmission: bool,
    pub tx_queue_gas_limit: GasLimit,
    pub tx_queue_banning: Banning,
    pub refuse_service_transactions: bool,
}

Configures the behaviour of the miner.

Fields

URLs to notify when there is new work.

Force the miner to reseal, even when nobody has asked for work.

Reseal on receipt of new external transactions.

Reseal on receipt of new local transactions.

Minimum period between transaction-inspired reseals.

Maximum amount of gas to bother considering for block insertion.

Maximum size of the transaction queue.

Strategy to use for prioritizing transactions in the queue.

Whether we should fallback to providing all the queue's transactions or just pending.

How many historical work packages can we store before running out?

Can we submit two different solutions for the same block and expect both to result in an import?

Global gas limit for all transaction in the queue except for local and retracted.

Banning settings.

Do we refuse to accept service transactions even if sender is certified.

Trait Implementations

impl Debug for MinerOptions
[src]

Formats the value using the given formatter.

impl PartialEq for MinerOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for MinerOptions
[src]

Returns the "default value" for a type. Read more