Trait transaction_pool::Ready
[−]
[src]
pub trait Ready<T> { fn is_ready(&mut self, tx: &T) -> Readiness; }
A readiness indicator.
Required Methods
fn is_ready(&mut self, tx: &T) -> Readiness
Returns true if transaction is ready to be included in pending block, given all previous transactions that were ready are already included.
NOTE: readiness of transactions will be checked according to Score
ordering,
the implementation should maintain a state of already checked transactions.
Implementations on Foreign Types
impl<T, A, B> Ready<T> for (A, B) where
A: Ready<T>,
B: Ready<T>,
[src]
A: Ready<T>,
B: Ready<T>,