Function pallet_bridge_relayers::extension::compute_priority_boost
source · pub fn compute_priority_boost<PriorityBoostPerItem>(
n_items: ItemCount,
) -> TransactionPrioritywhere
PriorityBoostPerItem: Get<TransactionPriority>,
Expand description
Compute priority boost for transaction that brings given number of bridge
items (messages, headers, …), when every additional item adds PriorityBoostPerItem
to transaction priority.