referrerpolicy=no-referrer-when-downgrade
substrate_relay_helper::finality_base

Trait SubstrateFinalityPipeline

Source
pub trait SubstrateFinalityPipeline:
    'static
    + Clone
    + Debug
    + Send
    + Sync {
    type SourceChain: Chain;
    type TargetChain: Chain;
    type FinalityEngine: Engine<Self::SourceChain>;
}
Expand description

Substrate -> Substrate finality related pipeline.

Required Associated Types§

Source

type SourceChain: Chain

Headers of this chain are submitted to the TargetChain.

Source

type TargetChain: Chain

Headers of the SourceChain are submitted to this chain.

Source

type FinalityEngine: Engine<Self::SourceChain>

Finality engine.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§