Function bp_messages::calc_relayers_rewards
source · pub fn calc_relayers_rewards<AccountId>(
messages_relayers: VecDeque<UnrewardedRelayer<AccountId>>,
received_range: &RangeInclusive<MessageNonce>,
) -> RelayersRewards<AccountId>where
AccountId: Ord,
Expand description
Calculate the number of messages that the relayers have delivered.