Enum ethcore::miner::Banning
[−]
[src]
pub enum Banning { Disabled, Enabled { offend_threshold: Duration, min_offends: u16, ban_duration: Duration, }, }
Transaction queue banning settings.
Variants
Disabled
Banning in transaction queue is disabled
Enabled
Banning in transaction queue is enabled
Fields
offend_threshold: Duration | Upper limit of transaction processing time before banning. |
min_offends: u16 | Number of similar offending transactions before banning. |
ban_duration: Duration | Number of seconds the offender is banned for. |
Trait Implementations
impl Debug for Banning
[src]
impl PartialEq for Banning
[src]
fn eq(&self, __arg_0: &Banning) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Banning) -> bool
This method tests for !=
.
impl Clone for Banning
[src]
fn clone(&self) -> Banning
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more