referrerpolicy=no-referrer-when-downgrade

Module relay_headers_and_messages

Source
Expand description

Complex 2-ways headers+messages relays support.

To add new complex relay between ChainA and ChainB, you must:

  1. ensure that there’s a declare_chain_cli_schema!(...) for both chains.
  2. add declare_chain_to_chain_bridge_schema!(...) or declare_chain_to_parachain_bridge_schema for the bridge.
  3. declare a new struct for the added bridge and implement the Full2WayBridge trait for it.

Modules§

parachain_to_parachain
Parachain to parachain relayer CLI primitives.
relay_to_parachain
Relay chain to parachain relayer CLI primitives.
relay_to_relay
Relay chain to Relay chain relayer CLI primitives.

Structs§

BridgeEndCommonParams
Parameters that are associated with one side of the bridge.
Full2WayBridgeCommonParams
Bridge parameters, shared by all bridge types.
FullBridge
All data of the bidirectional complex relay.
HeadersAndMessagesSharedParams
Parameters that have the same names across all bridges.

Traits§

Full2WayBridge
Bidirectional complex relay.
Full2WayBridgeBase
Base portion of the bidirectional complex relay.