Function sc_service_test::consensus
source · pub fn consensus<E, Fb, F>(
spec: GenericChainSpec<E>,
full_builder: Fb,
authorities: impl IntoIterator<Item = String>,
)where
Fb: Fn(Configuration) -> Result<F, Error>,
F: TestNetNode,
E: ChainSpecExtension + Clone + 'static + Send + Sync,