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, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Block = Block, Block = Block, Error = <FullChainApi<Client, Block> as ChainApi>::Error, InPoolTransaction = Transaction<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Arc<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Extrinsic>>, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Error = <FullChainApi<Client, Block> as ChainApi>::Error>>);
Fields§
§0: Box<dyn FullClientTransactionPool<Block, Client, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Block = Block, Block = Block, Error = <FullChainApi<Client, Block> as ChainApi>::Error, InPoolTransaction = Transaction<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Arc<<<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Extrinsic>>, Hash = <<FullChainApi<Client, Block> as ChainApi>::Block as Block>::Hash, Error = <FullChainApi<Client, Block> as ChainApi>::Error>>