limit number of pending messages at outbound lane (#715)

This commit is contained in:
Svyatoslav Nikolsky
2021-02-11 10:36:14 +03:00
committed by Bastian Köcher
parent 2f457775bb
commit ca91d34059
7 changed files with 148 additions and 12 deletions
@@ -16,7 +16,7 @@
//! Primitives of message lane module, that are used on the source chain.
use crate::{InboundLaneData, LaneId, MessageNonce};
use crate::{InboundLaneData, LaneId, MessageNonce, OutboundLaneData};
use bp_runtime::Size;
use frame_support::{Parameter, RuntimeDebug};
@@ -86,6 +86,7 @@ pub trait LaneMessageVerifier<Submitter, Payload, Fee> {
submitter: &Sender<Submitter>,
delivery_and_dispatch_fee: &Fee,
lane: &LaneId,
outbound_data: &OutboundLaneData,
payload: &Payload,
) -> Result<(), Self::Error>;
}