mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 15:48:13 -05:00
docs: some docs on sync gap channel (#15817)
This commit is contained in:
@@ -75,7 +75,9 @@ pub struct Pipeline<N: ProviderNodeTypes> {
|
||||
event_sender: EventSender<PipelineEvent>,
|
||||
/// Keeps track of the progress of the pipeline.
|
||||
progress: PipelineProgress,
|
||||
/// A receiver for the current chain tip to sync to.
|
||||
/// A Sender for the current chain tip to sync to.
|
||||
///
|
||||
/// This is used to notify the headers stage about a new sync target.
|
||||
tip_tx: Option<watch::Sender<B256>>,
|
||||
metrics_tx: Option<MetricEventsSender>,
|
||||
/// Whether an unwind should fail the syncing process. Should only be set when downloading
|
||||
|
||||
@@ -49,6 +49,8 @@ pub struct HeaderStage<Provider, Downloader: HeaderDownloader> {
|
||||
/// Strategy for downloading the headers
|
||||
downloader: Downloader,
|
||||
/// The tip for the stage.
|
||||
///
|
||||
/// This determines the sync target of the stage (set by the pipeline).
|
||||
tip: watch::Receiver<B256>,
|
||||
/// Consensus client implementation
|
||||
consensus: Arc<dyn HeaderValidator<Downloader::Header>>,
|
||||
|
||||
Reference in New Issue
Block a user