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§
- Computations, specific to bridge messages transactions.
- Computations, specific to bridge parachains transactions.
- Computations, specific to bridge relay chains transactions.
Structs§
- A signed extension, built around
pallet-bridge-relayers
. - Data that is crafted in
validate
, passed toprepare
and used atpost_dispatch
method. - Adapter to be used in signed extension configuration, when bridging with remote chains that are using GRANDPA finality.
- Transaction extension that refunds a relayer for standalone messages delivery and confirmation transactions. Finality transactions are not refunded.
- Adapter to be used in signed extension configuration, when bridging with remote parachains.
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.