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§
sourcetype Runtime: MessagesConfig<Self::MessagesInstance>
type Runtime: MessagesConfig<Self::MessagesInstance>
Runtime that has messages pallet deployed.
sourcetype MessagesInstance: 'static
type MessagesInstance: 'static
Instance of the messages pallet that is used to send messages.
sourcetype ToSourceChainSender: SendXcm
type ToSourceChainSender: SendXcm
Actual XCM message sender (HRMP
or UMP
) to the source chain
location (Self::SenderAndLane::get().location
).
Provided Methods§
sourcefn supports_congestion_detection() -> bool
fn supports_congestion_detection() -> bool
Returns true
if we want to handle congestion.
Object Safety§
This trait is not object safe.