diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 18:30:18 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-04 18:30:18 +0000 |
| commit | 950c2e4e68448d2abcad90a31bfffaca6d7bc47e (patch) | |
| tree | 6893c0b26234b2a809c6379492a7377875387f73 /src/sync/mod.rs | |
| parent | a19ff57e72d9b82a722e14ae365da7f8c2d87e87 (diff) | |
feat(sync): Phase 5 - negentropy catchup (NIP-77)
- Add NegentropyService for set reconciliation
- Implement startup catchup with warm-up delay
- Implement reconnect catchup (last 3 days)
- Add daily catchup schedule with stagger
Diffstat (limited to 'src/sync/mod.rs')
| -rw-r--r-- | src/sync/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sync/mod.rs b/src/sync/mod.rs index 4dca160..dc11812 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs | |||
| @@ -21,11 +21,13 @@ mod connection; | |||
| 21 | mod filter; | 21 | mod filter; |
| 22 | pub mod health; | 22 | pub mod health; |
| 23 | mod manager; | 23 | mod manager; |
| 24 | pub mod negentropy; | ||
| 24 | mod subscription; | 25 | mod subscription; |
| 25 | 26 | ||
| 26 | pub use filter::FilterService; | 27 | pub use filter::FilterService; |
| 27 | pub use health::{HealthState, RelayHealth, RelayHealthTracker}; | 28 | pub use health::{HealthState, RelayHealth, RelayHealthTracker}; |
| 28 | pub use manager::SyncManager; | 29 | pub use manager::SyncManager; |
| 30 | pub use negentropy::NegentropyService; | ||
| 29 | pub use subscription::SubscriptionManager; | 31 | pub use subscription::SubscriptionManager; |
| 30 | 32 | ||
| 31 | use std::net::SocketAddr; | 33 | use std::net::SocketAddr; |