pub fn build_relay_chain_consensus<Block, PF, BI, CIDP, RCInterface>(
_: BuildRelayChainConsensusParams<PF, BI, CIDP, RCInterface>,
) -> Box<dyn ParachainConsensus<Block>>where
Block: BlockT,
PF: Environment<Block> + Send + Sync + 'static,
PF::Proposer: Proposer<Block, ProofRecording = EnableProofRecording, Proof = <EnableProofRecording as ProofRecording>::Proof>,
BI: BlockImport<Block> + ParachainBlockImportMarker + Send + Sync + 'static,
CIDP: CreateInherentDataProviders<Block, (Hash, PersistedValidationData)> + 'static,
RCInterface: RelayChainInterface + Clone + 'static,
Expand description
Build the RelayChainConsensus
.
Returns a boxed [ParachainConsensus
].