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 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.

Reseal when new uncle block has been imported.

Minimum period between transaction-inspired reseals.

Maximum period between blocks (enables force sealing after that).

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?

Create a pending block with maximal possible gas limit. NOTE: Such block will contain all pending transactions but will be invalid if mined.

Strategy to use for prioritizing transactions in the queue.

Simple senders penalization.

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

Transaction pool limits.

Initial transaction verification options.

Trait Implementations

impl Debug for MinerOptions
[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

impl Send for MinerOptions

impl Sync for MinerOptions