Trait ethcore_miner::pool::PoolVerifiedTransaction [−][src]
pub trait PoolVerifiedTransaction: Debug { type Hash: Eq + Clone + Hash + Debug + LowerHex; type Sender: Eq + Clone + Hash + Debug; 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: Eq + Clone + Hash + Debug + LowerHex
Transaction hash type.
type Sender: Eq + Clone + Hash + Debug
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
Implementors
impl VerifiedTransaction for VerifiedTransaction type Hash = H256; type Sender = Address;