Function sc_informant::build

source ·
pub async fn build<B: BlockT, C, N>(
    client: Arc<C>,
    network: N,
    format: OutputFormat
)where
    N: NetworkStatusProvider<B>,
    C: UsageProvider<B> + HeaderMetadata<B> + BlockchainEvents<B>,
    <C as HeaderMetadata<B>>::Error: Display,
Expand description

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