Function sc_informant::build [−][src]
pub async fn build<B: BlockT, C>(
client: Arc<C>,
network: Arc<NetworkService<B, <B as BlockT>::Hash>>,
pool: Arc<impl TransactionPoolAndMaybeMallogSizeOf>,
format: OutputFormat
) where
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.