Type Definition sc_transaction_pool::FullPool
source · [−]pub type FullPool<Block, Client> = BasicPool<FullChainApi<Client, Block>, Block>;
Expand description
A transaction pool for a full node.
Implementations
sourceimpl<Block, Client> FullPool<Block, Client> where
Block: BlockT,
Client: ProvideRuntimeApi<Block> + BlockBackend<Block> + BlockIdTo<Block>,
Client: ExecutorProvider<Block> + Send + Sync + 'static,
Client::Api: TaggedTransactionQueue<Block>,
ApiErrorFor<Client, Block>: Send + Display,
impl<Block, Client> FullPool<Block, Client> where
Block: BlockT,
Client: ProvideRuntimeApi<Block> + BlockBackend<Block> + BlockIdTo<Block>,
Client: ExecutorProvider<Block> + Send + Sync + 'static,
Client::Api: TaggedTransactionQueue<Block>,
ApiErrorFor<Client, Block>: Send + Display,
sourcepub fn new_full(
options: Options,
is_validator: IsValidator,
prometheus: Option<&PrometheusRegistry>,
spawner: impl SpawnNamed,
client: Arc<Client>
) -> Arc<Self>
pub fn new_full(
options: Options,
is_validator: IsValidator,
prometheus: Option<&PrometheusRegistry>,
spawner: impl SpawnNamed,
client: Arc<Client>
) -> Arc<Self>
Create new basic transaction pool for a full node with the provided api.