Trait transaction_pool::Verifier[][src]

pub trait Verifier<U> {
    type Error;
    type VerifiedTransaction: VerifiedTransaction;
    fn verify_transaction(
        &self,
        tx: U
    ) -> Result<Self::VerifiedTransaction, Self::Error>; }

Transaction verification.

Verifier is responsible to decide if the transaction should even be considered for pool inclusion.

Associated Types

Verification error.

Verified transaction.

Required Methods

Verifies a UnverifiedTransaction and produces VerifiedTransaction instance.

Implementors