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, Transaction = BI::Transaction, ProofRecording = EnableProofRecording, Proof = <EnableProofRecording as ProofRecording>::Proof>,
BI: BlockImport<Block> + Send + Sync + 'static,
CIDP: CreateInherentDataProviders<Block, (PHash, PersistedValidationData)> + 'static,
RCInterface: RelayChainInterface + Clone + 'static,
Expand description
Build the RelayChainConsensus
.
Returns a boxed ParachainConsensus
.