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§
sourcetype Number: BlockNumberBase
type Number: BlockNumberBase
Synced headers are identified by this number.
sourcetype FinalityProof: FinalityProof<Self::Hash, Self::Number>
type FinalityProof: FinalityProof<Self::Hash, Self::Number>
Finality proof type.
Required Associated Constants§
sourceconst SOURCE_NAME: &'static str
const SOURCE_NAME: &'static str
Name of the finality proofs source.
sourceconst TARGET_NAME: &'static str
const TARGET_NAME: &'static str
Name of the finality proofs target.
Object Safety§
This trait is not object safe.