pub trait BlockWithJustification<Header> {
// Required methods
fn header(&self) -> Header;
fn extrinsics(&self) -> Vec<Vec<u8>>;
fn justification(
&self,
engine_id: ConsensusEngineId,
) -> Option<&EncodedJustification>;
}
Expand description
Block with justification.
Required Methods§
sourcefn extrinsics(&self) -> Vec<Vec<u8>>
fn extrinsics(&self) -> Vec<Vec<u8>>
Return encoded block extrinsics.
sourcefn justification(
&self,
engine_id: ConsensusEngineId,
) -> Option<&EncodedJustification>
fn justification( &self, engine_id: ConsensusEngineId, ) -> Option<&EncodedJustification>
Return block justification, if known.