Function sc_informant::build
source · [−]pub fn build<B: BlockT, C>(
client: Arc<C>,
network_status_sinks: Arc<StatusSinks<NetworkStatus<B>>>,
pool: Arc<impl TransactionPoolAndMaybeMallogSizeOf>,
format: OutputFormat
) -> impl Future<Output = ()> 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.