Function sc_service_test::sync[][src]

pub fn sync<G, E, Fb, F, Lb, L, B, ExF, U>(
    spec: GenericChainSpec<G, E>,
    full_builder: Fb,
    light_builder: Lb,
    make_block_and_import: B,
    extrinsic_factory: ExF
) where
    Fb: Fn(Configuration) -> Result<(F, U), Error>,
    F: TestNetNode,
    Lb: Fn(Configuration) -> Result<L, Error>,
    L: TestNetNode,
    B: FnMut(&F, &mut U),
    ExF: FnMut(&F, &U) -> <F::Block as BlockT>::Extrinsic,
    U: Clone + Send + 'static,
    E: ChainSpecExtension + Clone + 'static + Send + Sync,
    G: RuntimeGenesis + 'static,