referrerpolicy=no-referrer-when-downgrade

Module pallet_bridge_relayers::extension

source ·
Expand description

Signed extension, built around pallet-bridge-relayers. It is able to:

  • refund the cost of successful message delivery and confirmation transactions to the submitter by registering corresponding reward in the pallet;

  • bump priority of messages delivery and confirmation transactions, signed by the registered relayers.

Modules§

Structs§

Enums§

  • The actions on relayer account that need to be performed because of his actions.

Functions§

  • Compute priority boost for transaction that brings given number of bridge items (messages, headers, …), when every additional item adds PriorityBoostPerItem to transaction priority.

Type Aliases§

  • We’ll deal with different bridge items here - messages, headers, … To avoid being too verbose with generic code, let’s just define a separate alias.