Type Definition sc_transaction_pool::LightPool
source · [−]pub type LightPool<Block, Client, Fetcher> = BasicPool<LightChainApi<Client, Fetcher, Block>, Block>;
Expand description
A transaction pool for a light node.
Implementations
sourceimpl<Block, Client, Fetcher> LightPool<Block, Client, Fetcher> where
Block: BlockT,
Client: HeaderBackend<Block> + 'static,
Fetcher: Fetcher<Block> + 'static,
impl<Block, Client, Fetcher> LightPool<Block, Client, Fetcher> where
Block: BlockT,
Client: HeaderBackend<Block> + 'static,
Fetcher: Fetcher<Block> + 'static,
sourcepub fn new_light(
options: Options,
prometheus: Option<&PrometheusRegistry>,
spawner: impl SpawnNamed,
client: Arc<Client>,
fetcher: Arc<Fetcher>
) -> Self
pub fn new_light(
options: Options,
prometheus: Option<&PrometheusRegistry>,
spawner: impl SpawnNamed,
client: Arc<Client>,
fetcher: Arc<Fetcher>
) -> Self
Create new basic transaction pool for a light node with the provided api.