[][src]Trait substrate_client::runtime_api::TaggedTransactionQueue

pub trait TaggedTransactionQueue<Block: BlockT>: Core<Block> {
    fn validate_transaction(
        &self,
        at: &BlockId<Block>,
        tx: <Block as BlockT>::Extrinsic
    ) -> Result<TransactionValidity, Error> { ... }
fn validate_transaction_with_context(
        &self,
        at: &BlockId<Block>,
        context: ExecutionContext,
        tx: <Block as BlockT>::Extrinsic
    ) -> Result<TransactionValidity, Error> { ... } }

The TaggedTransactionQueue api trait for interfering with the new transaction queue.

Provided methods

fn validate_transaction(
    &self,
    at: &BlockId<Block>,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Error>

Validate the given transaction.

fn validate_transaction_with_context(
    &self,
    at: &BlockId<Block>,
    context: ExecutionContext,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Error>

Validate the given transaction.

Loading content...

Trait Implementations

impl<Block: BlockT> RuntimeApiInfo for dyn TaggedTransactionQueue<Block>[src]

Implementors

Loading content...