referrerpolicy=no-referrer-when-downgrade

Module messages_relay::message_lane_loop

source ·
Expand description

Message delivery loop. Designed to work with messages pallet.

Single relay instance delivers messages of single lane in single direction. To serve two-way lane, you would need two instances of relay. To serve N two-way lanes, you would need N*2 instances of relay.

Please keep in mind that the best header in this file is actually best finalized header. I.e. when talking about headers in lane context, we only care about finalized headers.

Structs§

Traits§

  • Batch transaction that already submit some headers and needs to be extended with messages/delivery proof before sending.
  • Source client trait.
  • Target client trait.

Functions§

  • Return prefix that will be used by default to expose Prometheus metrics of the finality proofs sync loop.
  • Run message lane service loop.

Type Aliases§