replay: temp disable overloaded relays
ci/woodpecker/push/woodpecker Pipeline was successful Details

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.
pull/72/head
OFF0 1 year ago
parent 9e46342250
commit 46bd581950
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -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) {

Loading…
Cancel
Save