referrerpolicy=no-referrer-when-downgrade
pub trait ParachainsRelayer: ParachainToRelayHeadersCliBridge{
    // Provided methods
    fn relay_parachains<'async_trait>(
        data: RelayParachainsParams,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: Send + 'async_trait { ... }
    fn relay_parachain_head<'async_trait>(
        data: RelayParachainHeadParams,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: Send + 'async_trait { ... }
}
Expand description

Trait used for relaying parachains finality between 2 chains.

Provided Methods§

source

fn relay_parachains<'async_trait>( data: RelayParachainsParams, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,

Start relaying parachains finality.

source

fn relay_parachain_head<'async_trait>( data: RelayParachainHeadParams, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,

Relay single parachain head. No checks are made to ensure that transaction will succeed.

Object Safety§

This trait is not object safe.

Implementors§