Trait tetsy_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

type Error[src]

Verification error.

type VerifiedTransaction: VerifiedTransaction[src]

Verified transaction.

Loading content...

Required methods

fn verify_transaction(
    &self,
    tx: U
) -> Result<Self::VerifiedTransaction, Self::Error>
[src]

Verifies a UnverifiedTransaction and produces VerifiedTransaction instance.

Loading content...

Implementors

Loading content...