Enum ethcore::miner::Penalization
[−]
[src]
pub enum Penalization { Disabled, Enabled { offend_threshold: Duration, }, }
Transaction queue penalization settings.
Senders of long-running transactions (above defined threshold) will get lower priority.
Variants
Disabled
Penalization in transaction queue is disabled
Enabled
Penalization in transaction queue is enabled
Fields of Enabled
offend_threshold: Duration | Upper limit of transaction processing time before penalizing. |
Trait Implementations
impl Debug for Penalization
[src]
impl Debug for Penalization
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 Penalization
[src]
impl PartialEq for Penalization
fn eq(&self, __arg_0: &Penalization) -> bool
[src]
fn eq(&self, __arg_0: &Penalization) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Penalization) -> bool
[src]
fn ne(&self, __arg_0: &Penalization) -> bool
This method tests for !=
.
impl Clone for Penalization
[src]
impl Clone for Penalization
fn clone(&self) -> Penalization
[src]
fn clone(&self) -> Penalization
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for Penalization
impl Send for Penalization
impl Sync for Penalization
impl Sync for Penalization