From dbc988f9aedc4c68c040feaf545c9e6d18bf8e15 Mon Sep 17 00:00:00 2001 From: 2ro <17595647+2ro@users.noreply.github.com> Date: Mon, 15 Jun 2026 20:00:13 -0400 Subject: [PATCH] Default to relay.goblin.st (strfry) instead of nrelay.us-ea.st The Goblin relay moved to strfry at relay.goblin.st; point the wallet's default DM relay set there (public relays damus/nos.lol stay as redundancy). --- src/nostr/nip05.rs | 4 ++-- src/nostr/relays.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/nostr/nip05.rs b/src/nostr/nip05.rs index dc6c950..7a71294 100644 --- a/src/nostr/nip05.rs +++ b/src/nostr/nip05.rs @@ -396,10 +396,10 @@ mod tests { fn parses_well_known() { let body = r#"{ "names": {"ada": "91cf9dbbea5e6511fd2bbb190b112055ee4131c5d2bbb9faedf3ee8cbeac0d05"}, - "relays": {"91cf9dbbea5e6511fd2bbb190b112055ee4131c5d2bbb9faedf3ee8cbeac0d05": ["wss://nrelay.us-ea.st"]} + "relays": {"91cf9dbbea5e6511fd2bbb190b112055ee4131c5d2bbb9faedf3ee8cbeac0d05": ["wss://relay.goblin.st"]} }"#; let res = parse_well_known(body, "ada").unwrap(); - assert_eq!(res.relays, vec!["wss://nrelay.us-ea.st".to_string()]); + assert_eq!(res.relays, vec!["wss://relay.goblin.st".to_string()]); assert!(parse_well_known(body, "bob").is_none()); assert!(parse_well_known("not json", "ada").is_none()); } diff --git a/src/nostr/relays.rs b/src/nostr/relays.rs index e6ac8d2..ad55e71 100644 --- a/src/nostr/relays.rs +++ b/src/nostr/relays.rs @@ -16,7 +16,7 @@ /// Default DM relays: the Goblin relay plus large public relays for redundancy. pub const DEFAULT_RELAYS: &[&str] = &[ - "wss://nrelay.us-ea.st", + "wss://relay.goblin.st", "wss://relay.damus.io", "wss://nos.lol", ]; @@ -55,8 +55,8 @@ mod tests { #[test] fn normalizes_relay_urls() { assert_eq!( - normalize_relay_url("nrelay.us-ea.st"), - Some("wss://nrelay.us-ea.st".to_string()) + normalize_relay_url("relay.goblin.st"), + Some("wss://relay.goblin.st".to_string()) ); assert_eq!( normalize_relay_url("wss://relay.damus.io/"),