Function sc_informant::build[][src]

pub async fn build<B: BlockT, C, P>(
    client: Arc<C>,
    network: Arc<NetworkService<B, <B as BlockT>::Hash>>,
    pool: Arc<P>,
    format: OutputFormat
) where
    C: UsageProvider<B> + HeaderMetadata<B> + BlockchainEvents<B>,
    <C as HeaderMetadata<B>>::Error: Display,
    P: TransactionPool + MallocSizeOf
Expand description

Builds the informant and returns a Future that drives the informant.