referrerpolicy=no-referrer-when-downgrade

Trait bp_header_chain::FinalityProof

source ·
pub trait FinalityProof<Hash, Number>: Clone + Send + Sync + Debug {
    // Required methods
    fn target_header_hash(&self) -> Hash;
    fn target_header_number(&self) -> Number;
}
Expand description

Abstract finality proof that is justifying block finality.

Required Methods§

source

fn target_header_hash(&self) -> Hash

Return hash of header that this proof is generated for.

source

fn target_header_number(&self) -> Number

Return number of header that this proof is generated for.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<H: HeaderT> FinalityProof<<H as Header>::Hash, <H as Header>::Number> for GrandpaJustification<H>