Function sc_informant::build
source ยท pub async fn build<B: BlockT, C, N>(
client: Arc<C>,
network: N,
syncing: Arc<SyncingService<B>>,
)where
N: NetworkStatusProvider,
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.