mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-10-10 11:22:35 +02:00
getting only 200 maximum contacts for any user
reduced calls made. combined user fetch and mention fetch to one request.
This commit is contained in:
@@ -1,14 +1,33 @@
|
||||
#nostr_servers=( "wss://relay.nostr.info" "wss://nostr-relay.wlvs.space" "wss://nostr-pub.wellorder.net" "wss://relay.damus.io" "wss://nostr.delo.software" "wss://nostr-pub.semisol.dev" "wss://nostr-relay-dev.wlvs.space")
|
||||
|
||||
nostr_servers=(
|
||||
"wss://nostr-relay-dev.wlvs.space"
|
||||
"wss://nostr-01.bolt.observer"
|
||||
"wss://nostr.shawnyeager.net"
|
||||
"wss://nostr.zerofeerouting.com"
|
||||
"wss://nostr.satsophone.tk"
|
||||
"wss://relay.oldcity-bitcoiners.info"
|
||||
|
||||
"wss://relay.damus.io"
|
||||
"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://nostr-pub.wellorder.net"
|
||||
"wss://nostr.radixrat.com"
|
||||
"wss://nostr.bitcoiner.social"
|
||||
|
||||
"wss://relay.valireum.net"
|
||||
"wss://nostr-relay.trustbtc.org"
|
||||
"wss://relay.stoner.com"
|
||||
"wss://nostr.w3ird.tech"
|
||||
"wss://nostr.bongbong.com"
|
||||
"wss://nostr.hugo.md"
|
||||
)
|
||||
|
||||
|
||||
|
@@ -5,7 +5,7 @@ source ./configfile.cfg
|
||||
limit=100000
|
||||
numHours=1
|
||||
|
||||
echo -e "Requesting all evetns in last $numHours hours with a limit of $limit by executing the following command for each:"
|
||||
echo -e "Requesting all events in last $numHours hours with a limit of $limit by executing the following command for each:"
|
||||
sinceSeconds=`date -d "-$numHours hour" +%s` ;
|
||||
req="[\"REQ\",\"l\",{\"since\":$sinceSeconds,\"limit\":$limit}]";
|
||||
echo "echo $req | websocat $server | wc " ;
|
||||
|
Reference in New Issue
Block a user