referrerpolicy=no-referrer-when-downgrade

Function sc_service::build_default_syncing_engine

source ·
pub fn build_default_syncing_engine<Block, Client, Net>(
    config: DefaultSyncingEngineConfig<'_, Block, Client, Net>,
) -> Result<(SyncingService<Block>, Net::NotificationProtocolConfig), Error>
where Block: BlockT, Client: HeaderBackend<Block> + BlockBackend<Block> + HeaderMetadata<Block, Error = Error> + ProofProvider<Block> + Send + Sync + 'static, Net: NetworkBackend<Block, <Block as BlockT>::Hash>,
Expand description

Build default syncing engine using build_default_block_downloader and build_polkadot_syncing_strategy internally.