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
DisabledPenalization in transaction queue is disabled
EnabledPenalization 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 Penalizationfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Penalization[src]
impl PartialEq for Penalizationfn eq(&self, __arg_0: &Penalization) -> bool[src]
fn eq(&self, __arg_0: &Penalization) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for Penalization[src]
impl Clone for Penalizationfn clone(&self) -> Penalization[src]
fn clone(&self) -> PenalizationReturns 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 Penalizationimpl Sync for Penalization
impl Sync for Penalization