pub trait DmpMessageHandler {
fn handle_dmp_messages(
iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>,
max_weight: Weight
) -> Weight;
}
Expand description
Something that should be called when a downward message is received.
Required Methods§
sourcefn handle_dmp_messages(
iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>,
max_weight: Weight
) -> Weight
fn handle_dmp_messages(
iter: impl Iterator<Item = (RelayChainBlockNumber, Vec<u8>)>,
max_weight: Weight
) -> Weight
Handle some incoming DMP messages (note these are individual XCM messages).
Also, process messages up to some max_weight
.