Trait bp_header_chain::HeaderChain[][src]

pub trait HeaderChain<H, E> {
    fn best_finalized() -> H;
fn authority_set() -> AuthoritySet;
fn append_header(header: H) -> Result<(), E>; }
Expand description

A trait for pallets which want to keep track of finalized headers from a bridged chain.

Required methods

Get the best finalized header known to the header chain.

Get the best authority set known to the header chain.

Write a header finalized by GRANDPA to the underlying pallet storage.

Implementations on Foreign Types

Implementors