pub type HeaderGrandpaInfo<Header> = HeaderFinalityInfo<GrandpaJustification<Header>, JustificationVerificationContext>;
Expand description

Processed Grandpa-related info associated to a header.

Aliased Type§

struct HeaderGrandpaInfo<Header> {
    pub finality_proof: GrandpaJustification<Header>,
    pub new_verification_context: Option<JustificationVerificationContext>,
}

Fields§

§finality_proof: GrandpaJustification<Header>

The header finality proof.

§new_verification_context: Option<JustificationVerificationContext>

The new verification context introduced by the header.

Trait Implementations§

source§

impl<Header: HeaderT> TryFrom<HeaderFinalityInfo<GrandpaJustification<Header>, AuthoritySet>> for HeaderGrandpaInfo<Header>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from( grandpa_info: StoredHeaderGrandpaInfo<Header> ) -> Result<Self, Self::Error>

Performs the conversion.