referrerpolicy=no-referrer-when-downgrade

Type Alias sc_transaction_pool::TransactionPoolHandle

source ·
pub type TransactionPoolHandle<Block, Client> = TransactionPoolWrapper<Block, Client>;
Expand description

The public type alias for the actual type providing the implementation of FullClientTransactionPool with the given Client and Block types.

This handle abstracts away the specific type of the transaction pool. Should be used externally to keep reference to transaction pool.

Aliased Type§

struct TransactionPoolHandle<Block, Client>(pub Box<dyn FullClientTransactionPool<Block, Client, Error = <FullChainApi<Client, Block> as ChainApi>::Error, Block = Block, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Block = Block, Error = <FullChainApi<Client, Block> as ChainApi>::Error, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, InPoolTransaction = Transaction<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Arc<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Extrinsic>>>>);

Fields§

§0: Box<dyn FullClientTransactionPool<Block, Client, Error = <FullChainApi<Client, Block> as ChainApi>::Error, Block = Block, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Block = Block, Error = <FullChainApi<Client, Block> as ChainApi>::Error, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, InPoolTransaction = Transaction<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Arc<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Extrinsic>>>>