pub trait XcmBlobHauler {
    type Runtime: MessagesConfig<Self::MessagesInstance>;
    type MessagesInstance: 'static;
    type ToSourceChainSender: SendXcm;
    type CongestedMessage: Get<Option<Xcm<()>>>;
    type UncongestedMessage: Get<Option<Xcm<()>>>;

    // Provided method
    fn supports_congestion_detection() -> bool { ... }
}
Expand description

XcmBlobHauler is responsible for sending messages to the bridge “point-to-point link” from one side, where on the other it can be dispatched by XcmBlobMessageDispatch.

Required Associated Types§

source

type Runtime: MessagesConfig<Self::MessagesInstance>

Runtime that has messages pallet deployed.

source

type MessagesInstance: 'static

Instance of the messages pallet that is used to send messages.

source

type ToSourceChainSender: SendXcm

Actual XCM message sender (HRMP or UMP) to the source chain location (Self::SenderAndLane::get().location).

source

type CongestedMessage: Get<Option<Xcm<()>>>

An XCM message that is sent to the sending chain when the bridge queue becomes congested.

source

type UncongestedMessage: Get<Option<Xcm<()>>>

An XCM message that is sent to the sending chain when the bridge queue becomes not congested.

Provided Methods§

source

fn supports_congestion_detection() -> bool

Returns true if we want to handle congestion.

Object Safety§

This trait is not object safe.

Implementors§