Function sc_service_test::consensus[][src]

pub fn consensus<G, E, Fb, F, Lb, L>(
    spec: GenericChainSpec<G, E>,
    full_builder: Fb,
    light_builder: Lb,
    authorities: impl IntoIterator<Item = String>
) where
    Fb: Fn(Configuration) -> Result<F, Error>,
    F: TestNetNode,
    Lb: Fn(Configuration) -> Result<L, Error>,
    L: TestNetNode,
    E: ChainSpecExtension + Clone + 'static + Send + Sync,
    G: RuntimeGenesis + 'static,