From 15712c015c46d0e379d7ea1c72768a0d0b785c51 Mon Sep 17 00:00:00 2001 From: Vishal <64505169+vishalxl@users.noreply.github.com> Date: Sun, 29 Jan 2023 03:25:00 +0530 Subject: [PATCH] replaced damus relay with snort relay --- lib/settings.dart | 6 ++---- pubspec.yaml | 2 ++ scripts/configfile.cfg | 25 +++++++++++++++---------- scripts/test_servers.sh | 2 +- 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/lib/settings.dart b/lib/settings.dart index 255ec0f..82fc619 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -49,12 +49,10 @@ int gHoursDefaultPrint = 6; // print latest given hours only // global counters of total events read or processed int numFileEvents = 0, numFilePosts = 0, numUserPosts = 0, numFeedPosts = 0, numOtherPosts = 0; -String defaultServerUrl = "wss://relay.damus.io"; -const String relayNostrInfo = 'wss://relay.nostr.info'; +String defaultServerUrl = "wss://relay.snort.social"; Set gListRelayUrls1 = { defaultServerUrl, - //relayNostrInfo, - //"wss://nostr-2.zebedee.cloud", + //'wss://relay.nostr.info' "wss://nostr.coinos.io", "wss://nostr-relay.wlvs.space", "wss://nostr.radixrat.com", diff --git a/pubspec.yaml b/pubspec.yaml index 6cba286..dfc20c0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,6 +3,8 @@ description: A multi-platform nostr client built for terminal/console version: 0.3.5-beta homepage: https://github.com/vishalxl/nostr_console +# 0.3.6 +# # 0.3.5 # fix for crash in issue #70 diff --git a/scripts/configfile.cfg b/scripts/configfile.cfg index 4a5ee01..8d1b052 100644 --- a/scripts/configfile.cfg +++ b/scripts/configfile.cfg @@ -1,9 +1,23 @@ nostr_servers=( + "wss://relay.damus.io" + "wss://nostr.coinos.io" + "wss://nostr-relay.wlvs.space" + "wss://nostr.radixrat.com" + "wss://relay.nostr.ch" + "wss://nostr.rdfriedl.com" + "wss://nostr-pub.wellorder.net" + "wss://relay.nostr.scot" + "wss://nos.lol" + "wss://knostr.neutrine.com" + + "wss://relay.snort.social" + "wss://nostr.mom" + "wss://relay.nostr.info" + "wss://nostr.openchain.fr" "wss://nostr.drss.io" "wss://nostr.delo.software" - "wss://nostr.rdfriedl.com" "wss://nostr.zaprite.io" "wss://sg.qemura.xyz" @@ -14,20 +28,14 @@ nostr_servers=( "wss://nostr.satsophone.tk" "wss://relay.oldcity-bitcoiners.info" - "wss://relay.damus.io" "wss://nostr.swiss-enigma.ch" "wss://relay.nostr.info" "wss://nostr-2.zebedee.cloud" "wss://nostr.zebedee.cloud" "wss://nostr.semisol.dev" "wss://nostr.onsats.org" - "wss://nostr-relay.wlvs.space" "wss://nostr-relay.digitalmob.ro" - "wss://nostr.coinos.io" - "wss://relay.nostr.ch" - "wss://nostr-pub.wellorder.net" - "wss://nostr.radixrat.com" "wss://nostr.bitcoiner.social" "wss://relay.valireum.net" @@ -44,9 +52,6 @@ nostr_servers=( "wss://nostr.mwmdev.com" "wss://nostr.sandwich.farm" - "wss://knostr.neutrine.com" - "wss://nos.lol" - "wss://relay.nostr.scot" "wss://brb.io" ) diff --git a/scripts/test_servers.sh b/scripts/test_servers.sh index be4f007..7ee1d3b 100644 --- a/scripts/test_servers.sh +++ b/scripts/test_servers.sh @@ -2,7 +2,7 @@ source ./configfile.cfg -limit=100000 +limit=10000 numHours=1 echo -e "Requesting all events in last $numHours hours with a limit of $limit by executing the following command for each:"