diff --git a/nostr_dvm/utils/nostr_utils.py b/nostr_dvm/utils/nostr_utils.py index e9979f6..a5a3212 100644 --- a/nostr_dvm/utils/nostr_utils.py +++ b/nostr_dvm/utils/nostr_utils.py @@ -176,7 +176,8 @@ async def get_main_relays(event_to_send: Event, client: Client, dvm_config): content = json.loads(followlist.content()) relays = [] for relay in content: - relays.append(relay) + if relay not in dvm_config.AVOID_OUTBOX_RELAY_LIST: + relays.append(relay) return relays except: return [] diff --git a/nostr_dvm/utils/outbox_utils.py b/nostr_dvm/utils/outbox_utils.py index 4a17b08..5173e1a 100644 --- a/nostr_dvm/utils/outbox_utils.py +++ b/nostr_dvm/utils/outbox_utils.py @@ -67,6 +67,8 @@ AVOID_OUTBOX_RELAY_LIST = ["wss://nos.lol", "wss://nostr.bitcoiner.social", "wss://relay.galtsgulch.cc", "ws://oxtrdevav64z64yb7x6rjg4ntzqjhedm5b5zjqulugknhzr46ny2qbad.onion", "wss://relay.f7z.io", "wss://nostr-relay.h3z.jp", "wss://nfrelay.app", - "wss://r.kojira.io" + "wss://r.kojira.io", "wss://jp-relay-nostr.invr.chat", + "wss://nostream-production-5895.up.railway.app", + "ws://127.0.0.1:4869", "wss://sign.siamstr.com" ]