Function fuel_core_p2p::service::new_service

source ยท
pub fn new_service<V, B>(
    chain_id: ChainId,
    p2p_config: Config<NotInitialized>,
    view_provider: V,
    block_importer: B,
) -> Service<V>
where V: AtomicView + 'static, V::View: P2pDb, B: BlockHeightImporter,