From b167f1b2ae7edbcab95554b5203d22d9e372c8b5 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 4 Dec 2025 17:03:40 +0000 Subject: feat(sync): Phase 1 MVP - single relay proactive sync - Add src/sync/ module with SyncManager - Add NGIT_SYNC_RELAY_URL config option - Subscribe to kind 30617 on configured relay - Validate synced events through Nip34WritePolicy - Integration test with two TestRelay instances --- src/http/nip11.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http') diff --git a/src/http/nip11.rs b/src/http/nip11.rs index 1723601..e9e1c25 100644 --- a/src/http/nip11.rs +++ b/src/http/nip11.rs @@ -105,6 +105,7 @@ mod tests { metrics_enabled: true, metrics_connection_per_ip_abuse_threshold: 10, metrics_top_n_repos: 10, + sync_relay_url: None, }; let doc = RelayInformationDocument::from_config(&config); @@ -139,6 +140,7 @@ mod tests { metrics_enabled: true, metrics_connection_per_ip_abuse_threshold: 10, metrics_top_n_repos: 10, + sync_relay_url: None, }; let doc = RelayInformationDocument::from_config(&config); -- cgit v1.2.3