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§
- per_
message - Computations, specific to bridge messages transactions.
- per_
parachain_ header - Computations, specific to bridge parachains transactions.
- per_
relay_ header - Computations, specific to bridge relay chains transactions.
Structs§
- Bridge
Relayers Transaction Extension - A signed extension, built around
pallet-bridge-relayers
. - PreDispatch
Data - Data that is crafted in
validate
, passed toprepare
and used atpost_dispatch
method. - With
Grandpa Chain Extension Config - Adapter to be used in signed extension configuration, when bridging with remote chains that are using GRANDPA finality.
- With
Messages Extension Config - Transaction extension that refunds a relayer for standalone messages delivery and confirmation transactions. Finality transactions are not refunded.
- With
Parachain Extension Config - Adapter to be used in signed extension configuration, when bridging with remote parachains.
Enums§
- Relayer
Account Action - The actions on relayer account that need to be performed because of his actions.
Functions§
- compute_
priority_ boost - 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§
- Item
Count - 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.