Struct ethcore_miner::pool::PendingSettings [−][src]
pub struct PendingSettings { pub block_number: u64, pub current_timestamp: u64, pub nonce_cap: Option<U256>, pub max_len: usize, pub ordering: PendingOrdering, }
Pending set query settings
Fields
block_number: u64
Current block number (affects readiness of some transactions).
current_timestamp: u64
Current timestamp (affects readiness of some transactions).
nonce_cap: Option<U256>
Nonce cap (for dust protection; EIP-168)
max_len: usize
Maximal number of transactions in pending the set.
ordering: PendingOrdering
Ordering of transactions.
Methods
impl PendingSettings
[src]
impl PendingSettings
pub fn all_prioritized(block_number: u64, current_timestamp: u64) -> Self
[src]
pub fn all_prioritized(block_number: u64, current_timestamp: u64) -> Self
Get all transactions (no cap or len limit) prioritized.
Trait Implementations
impl Debug for PendingSettings
[src]
impl Debug for PendingSettings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PendingSettings
[src]
impl Clone for PendingSettings
fn clone(&self) -> PendingSettings
[src]
fn clone(&self) -> PendingSettings
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 PendingSettings
impl Send for PendingSettings
impl Sync for PendingSettings
impl Sync for PendingSettings