Type Definition sc_transaction_pool::LightPool[][src]

type LightPool<Block, Client, Fetcher> = BasicPool<LightChainApi<Client, Fetcher, Block>, Block>;

A transaction pool for a light node.

Implementations

impl<Block, Client, Fetcher> LightPool<Block, Client, Fetcher> where
    Block: BlockT,
    Client: HeaderBackend<Block> + 'static,
    Fetcher: Fetcher<Block> + 'static, 
[src]

pub fn new_light(
    options: Options,
    prometheus: Option<&PrometheusRegistry>,
    spawner: impl SpawnNamed,
    client: Arc<Client>,
    fetcher: Arc<Fetcher>
) -> Self
[src]

Create new basic transaction pool for a light node with the provided api.