Trait vapcore_miner::pool::PoolVerifiedTransaction[][src]

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

Already verified transaction that can be safely queued.

Associated Types

type Hash: Clone + Eq + Debug + LowerHex + Hash[src]

Transaction hash type.

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

Transaction sender type.

Loading content...

Required methods

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

Transaction hash

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

Memory usage

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

Transaction sender

Loading content...

Implementors

impl VerifiedTransaction for VerifiedTransaction[src]

type Hash = H256

type Sender = Address

Loading content...