Function sc_consensus_subspace::archiver::encode_block

source ·
pub fn encode_block<Block>(signed_block: SignedBlock<Block>) -> Vec<u8> 
where Block: BlockT,
Expand description

Encode block for archiving purposes.

Only specific Subspace justifications are included in the encoding, determined by result of [SubspaceJustification::must_be_archived], other justifications are filtered-out.