Crate finality_relay
source ·Expand description
This crate has single entrypoint to run synchronization loop that is built around finality proofs, as opposed to headers synchronization loop, which is built around headers. The headers are still submitted to the target node, but are treated as auxiliary data as we are not trying to submit all source headers to the target node.
Structs§
- Source finality proofs buffer.
- Source finality proofs stream that may be restarted.
- Finality proof synchronization loop parameters.
- Headers sync metrics.
Enums§
- Type of headers that we relay.
Traits§
- Base finality pipeline.
- Finality proofs synchronization pipeline.
- Source client used in finality synchronization loop.
- Source client used in finality related loops.
- Header that we’re receiving from source node.
- Target client used in finality synchronization loop.
Functions§
- Return prefix that will be used by default to expose Prometheus metrics of the finality proofs sync loop.
- Run finality proofs synchronization loop.