[][src]Trait transaction_pool::VerifiedTransaction

pub trait VerifiedTransaction: Debug {
    type Hash: Debug + LowerHex + Eq + Clone + Hash;
    type Sender: Debug + Eq + Clone + Hash + Send;
    fn hash(&self) -> &Self::Hash;
fn mem_usage(&self) -> usize;
fn sender(&self) -> &Self::Sender; }

Already verified transaction that can be safely queued.

Associated Types

type Hash: Debug + LowerHex + Eq + Clone + Hash

Transaction hash type.

type Sender: Debug + Eq + Clone + Hash + Send

Transaction sender type.

Loading content...

Required methods

fn hash(&self) -> &Self::Hash

Transaction hash

fn mem_usage(&self) -> usize

Memory usage

fn sender(&self) -> &Self::Sender

Transaction sender

Loading content...

Implementors

Loading content...