Trait transaction_pool::VerifiedTransaction [−][src]
pub trait VerifiedTransaction: Debug { type Hash: Debug + LowerHex + Eq + Clone + Hash; type Sender: Debug + Eq + Clone + Hash; 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
Transaction sender type.
Required Methods
fn hash(&self) -> &Self::Hash
Transaction hash
fn mem_usage(&self) -> usize
Memory usage
fn sender(&self) -> &Self::Sender
Transaction sender