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§
- Finality
Proofs Buf - Source finality proofs buffer.
- Finality
Proofs Stream - Source finality proofs stream that may be restarted.
- Finality
Sync Params - Finality proof synchronization loop parameters.
- Sync
Loop Metrics - Headers sync metrics.
Enums§
- Headers
ToRelay - Type of headers that we relay.
Traits§
- Finality
Pipeline - Base finality pipeline.
- Finality
Sync Pipeline - Finality proofs synchronization pipeline.
- Source
Client - Source client used in finality synchronization loop.
- Source
Client Base - Source client used in finality related loops.
- Source
Header - Header that we’re receiving from source node.
- Target
Client - Target client used in finality synchronization loop.
Functions§
- metrics_
prefix - Return prefix that will be used by default to expose Prometheus metrics of the finality proofs sync loop.
- run
- Run finality proofs synchronization loop.