Expand description
DAG synchronization with gap-repair logic.
The DAGSyncer handles reconciliation between replicas by:
- Discovering missing nodes via head comparison
- Fetching missing nodes from peers recursively
- Handling concurrent heads (multi-root scenarios)
Structs§
- DAGSyncer
- DAG synchronizer for gap-repair and reconciliation.
- Sync
Config - Configuration for the DAG syncer.
- Sync
Request - Request to fetch nodes from a peer.
- Sync
Response - Response containing nodes from a peer.
- Sync
Simulator - Simulator for testing sync between multiple replicas.
- Sync
Status - Status information about synchronization.
Enums§
- Sync
Error - Errors that can occur during synchronization.