mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
fix: drop relay.damus.io from default relay lists ahead of shutdown
relay.damus.io is being decommissioned, so remove it from every runtime default/fallback relay set to stop the app and amy from wasting connection slots on a dead host: - commons Constants: remove `damus`; it dropped out of `bootstrapInbox` (default NIP-65 inbox) and `eventFinderRelays` (default outbox/fallback), both still carrying 6 healthy relays. - ChessConfig: remove damus from CHESS_RELAYS / CHESS_RELAY_NAMES, leaving the 3 relays the FETCH_TIMEOUT comment already assumes. - desktop DefaultRelays: remove damus and the also-dead relay.snort.social. - desktop FollowPacks DISCOVERY_RELAYS: remove damus. - amy NipCommand SEARCH_RELAYS: swap damus for the NIP-50-capable nostr.wine. Comments, @Preview sample data, and test fixtures that mention damus.io are left untouched — they have no runtime effect. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ttcqa3V78bugGraGhtehj
This commit is contained in:
@@ -56,7 +56,7 @@ object NipCommand {
|
||||
|
||||
// NIP-50-capable relays for the Nostr fallback (search isn't universal).
|
||||
private val SEARCH_RELAYS =
|
||||
listOf("wss://relay.nostr.band", "wss://relay.damus.io")
|
||||
listOf("wss://relay.nostr.band", "wss://nostr.wine")
|
||||
.mapNotNull { RelayUrlNormalizer.normalizeOrNull(it) }
|
||||
.toSet()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user