From 46bd581950337d53c9a395d8c9789a556c02ab43 Mon Sep 17 00:00:00 2001 From: OFF0 Date: Thu, 2 Feb 2023 09:32:31 +0100 Subject: [PATCH] replay: temp disable overloaded relays there is currently lots of chinese spam, probably since damus was accepted in appstore. temporary disabled damus, snort.social and nostr.info relays, and added some less known german and swiss relays. --- src/main.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index fcce2e9..e1e6634 100644 --- a/src/main.js +++ b/src/main.js @@ -6,12 +6,16 @@ import {dateTime, formatTime} from './timeutil.js'; // curl -H 'accept: application/nostr+json' https://relay.nostr.ch/ const pool = relayPool(); -pool.addRelay('wss://relay.nostr.info', {read: true, write: true}); +// pool.addRelay('wss://relay.nostr.info', {read: true, write: true}); +// pool.addRelay('wss://relay.damus.io', {read: true, write: true}); +// pool.addRelay('wss://relay.snort.social', {read: true, write: true}); + +pool.addRelay('wss://relay.nostr.ch', {read: true, write: true}); pool.addRelay('wss://nostr.openchain.fr', {read: true, write: true}); -pool.addRelay('wss://relay.damus.io', {read: true, write: true}); -pool.addRelay('wss://relay.snort.social', {read: true, write: true}); pool.addRelay('wss://eden.nostr.land', {read: true, write: true}); -pool.addRelay('wss://relay.nostr.ch', {read: true, write: true}); +pool.addRelay('wss://nostr.einundzwanzig.space', {read: true, write: true}); +pool.addRelay('wss://relay.nostrich.de', {read: true, write: true}); +pool.addRelay('wss://nostr.cercatrova.me', {read: true, write: true}); function onEvent(evt, relay) { switch (evt.kind) {