referrerpolicy=no-referrer-when-downgrade

Trait finality_relay::FinalityPipeline

source ·
pub trait FinalityPipeline: 'static + Clone + Debug + Send + Sync {
    type Hash: Eq + Clone + Copy + Send + Sync + Debug;
    type Number: BlockNumberBase;
    type FinalityProof: FinalityProof<Self::Hash, Self::Number>;

    const SOURCE_NAME: &'static str;
    const TARGET_NAME: &'static str;
}
Expand description

Base finality pipeline.

Required Associated Types§

source

type Hash: Eq + Clone + Copy + Send + Sync + Debug

Synced headers are identified by this hash.

source

type Number: BlockNumberBase

Synced headers are identified by this number.

source

type FinalityProof: FinalityProof<Self::Hash, Self::Number>

Finality proof type.

Required Associated Constants§

source

const SOURCE_NAME: &'static str

Name of the finality proofs source.

source

const TARGET_NAME: &'static str

Name of the finality proofs target.

Object Safety§

This trait is not object safe.

Implementors§