mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +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:
-1
@@ -75,7 +75,6 @@ class FollowPacksState(
|
||||
// it uses these popular relays. Verified empirically.
|
||||
val DISCOVERY_RELAYS: Set<NormalizedRelayUrl> =
|
||||
listOfNotNull(
|
||||
RelayUrlNormalizer.normalizeOrNull("wss://relay.damus.io"),
|
||||
RelayUrlNormalizer.normalizeOrNull("wss://relay.nostr.band"),
|
||||
RelayUrlNormalizer.normalizeOrNull("wss://relay.primal.net"),
|
||||
RelayUrlNormalizer.normalizeOrNull("wss://nos.lol"),
|
||||
|
||||
-2
@@ -40,10 +40,8 @@ data class RelayStatus(
|
||||
object DefaultRelays {
|
||||
val RELAYS =
|
||||
listOf(
|
||||
"wss://relay.damus.io",
|
||||
"wss://relay.nostr.band",
|
||||
"wss://nos.lol",
|
||||
"wss://relay.snort.social",
|
||||
"wss://nostr.wine",
|
||||
"wss://relay.noswhere.com",
|
||||
"wss://relay.primal.net",
|
||||
|
||||
Reference in New Issue
Block a user