Trait tetsy_transaction_pool::Ready[][src]

pub trait Ready<T> {
    fn is_ready(&mut self, tx: &T) -> Readiness;
}
Expand description

A readiness indicator.

Required methods

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

Implementors