pub trait FinalitySyncPipeline: FinalityPipeline {
type ConsensusLogReader: ConsensusLogReader;
type Header: SourceHeader<Self::Hash, Self::Number, Self::ConsensusLogReader>;
}
Expand description
Finality proofs synchronization pipeline.
Required Associated Types§
Sourcetype ConsensusLogReader: ConsensusLogReader
type ConsensusLogReader: ConsensusLogReader
A reader that can extract the consensus log from the header digest and interpret it.
Sourcetype Header: SourceHeader<Self::Hash, Self::Number, Self::ConsensusLogReader>
type Header: SourceHeader<Self::Hash, Self::Number, Self::ConsensusLogReader>
Type of header that we’re syncing.
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.