pub trait Justification: Clone + Send + Sync + Debug + 'static {
    type Header: Header;
    type Unverified: UnverifiedJustification<UnverifiedHeader = <Self::Header as Header>::Unverified>;

    // Required methods
    fn header(&self) -> &Self::Header;
    fn into_unverified(self) -> Self::Unverified;
}
Expand description

The verified justification of a block, including a header.

Required Associated Types§

Required Methods§

source

fn header(&self) -> &Self::Header

The header of the block.

source

fn into_unverified(self) -> Self::Unverified

Return an unverified version of this, for sending over the network.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Justification for Justification

§

type Header = Header<u32, BlakeTwo256>

§

type Unverified = Justification