[][src]Trait sp_transaction_pool::runtime_api::TaggedTransactionQueue

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

The TaggedTransactionQueue api trait for interfering with the transaction queue.

Provided methods

pub fn validate_transaction_before_version_2(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Self::Error>
[src]

👎 Deprecated

Validate the transaction.

pub fn validate_transaction_before_version_2_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Self::Error>
[src]

👎 Deprecated

Validate the transaction.

pub fn validate_transaction(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    source: TransactionSource,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Self::Error>
[src]

Validate the transaction.

This method is invoked by the transaction pool to learn details about given transaction. The implementation should make sure to verify the correctness of the transaction against current state. Note that this call may be performed by the pool multiple times and transactions might be verified in any possible order.

pub fn validate_transaction_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    source: TransactionSource,
    tx: <Block as BlockT>::Extrinsic
) -> Result<TransactionValidity, Self::Error>
[src]

Validate the transaction.

This method is invoked by the transaction pool to learn details about given transaction. The implementation should make sure to verify the correctness of the transaction against current state. Note that this call may be performed by the pool multiple times and transactions might be verified in any possible order.

Loading content...

Trait Implementations

impl<Block: BlockT, __Sr_Api_Error__> RuntimeApiInfo for dyn TaggedTransactionQueue<Block, Error = __Sr_Api_Error__>[src]

Implementors

Loading content...