Module syncer

Module syncer 

Source
Expand description

DAG synchronization with gap-repair logic.

The DAGSyncer handles reconciliation between replicas by:

  1. Discovering missing nodes via head comparison
  2. Fetching missing nodes from peers recursively
  3. Handling concurrent heads (multi-root scenarios)

Structs§

DAGSyncer
DAG synchronizer for gap-repair and reconciliation.
SyncConfig
Configuration for the DAG syncer.
SyncRequest
Request to fetch nodes from a peer.
SyncResponse
Response containing nodes from a peer.
SyncSimulator
Simulator for testing sync between multiple replicas.
SyncStatus
Status information about synchronization.

Enums§

SyncError
Errors that can occur during synchronization.