Trait tetsy_transaction_pool::VerifiedTransaction[][src]

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[src]

Transaction hash type.

type Sender: Debug + Eq + Clone + Hash + Send[src]

Transaction sender type.

Loading content...

Required methods

fn hash(&self) -> &Self::Hash[src]

Transaction hash

fn mem_usage(&self) -> usize[src]

Memory usage

fn sender(&self) -> &Self::Sender[src]

Transaction sender

Loading content...

Implementors

Loading content...