Enum ethcore::miner::Banning [] [src]

pub enum Banning {
    Disabled,
    Enabled {
        offend_threshold: Duration,
        min_offends: u16,
        ban_duration: Duration,
    },
}

Transaction queue banning settings.

Variants

Banning in transaction queue is disabled

Banning in transaction queue is enabled

Fields

Upper limit of transaction processing time before banning.

Number of similar offending transactions before banning.

Number of seconds the offender is banned for.

Trait Implementations

impl Debug for Banning
[src]

Formats the value using the given formatter.

impl PartialEq for Banning
[src]

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

This method tests for !=.

impl Clone for Banning
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more