referrerpolicy=no-referrer-when-downgrade

Trait equivocation_detector::SourceClient

source ·
pub trait SourceClient<P: EquivocationDetectionPipeline>: SourceClientBase<P> {
    type TransactionTracker: TransactionTracker;

    // Required method
    fn report_equivocation<'life0, 'async_trait>(
        &'life0 self,
        at: P::Hash,
        equivocation: P::EquivocationProof,
    ) -> Pin<Box<dyn Future<Output = Result<Self::TransactionTracker, Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Source client used in equivocation detection loop.

Required Associated Types§

source

type TransactionTracker: TransactionTracker

Transaction tracker to track submitted transactions.

Required Methods§

source

fn report_equivocation<'life0, 'async_trait>( &'life0 self, at: P::Hash, equivocation: P::EquivocationProof, ) -> Pin<Box<dyn Future<Output = Result<Self::TransactionTracker, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Report equivocation.

Object Safety§

This trait is not object safe.

Implementors§