updated scripts

This commit is contained in:
Vishal 2022-12-24 11:20:53 +05:30
parent e90522ea80
commit 1a1f037564
2 changed files with 25 additions and 1 deletions

View File

@ -1,6 +1,13 @@
#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.openchain.fr"
"wss://nostr.drss.io"
"wss://nostr.delo.software"
"wss://nostr.rdfriedl.com"
"wss://nostr.zaprite.io"
"wss://nostr-relay-dev.wlvs.space"
"wss://nostr-01.bolt.observer"
"wss://nostr.shawnyeager.net"
@ -28,6 +35,13 @@ nostr_servers=(
"wss://nostr.w3ird.tech"
"wss://nostr.bongbong.com"
"wss://nostr.hugo.md"
"wss://nostr.slothy.win"
"wss://wss://nostr.robotechy.com"
"wss://wss://nostr.nodeofsven.com"
"wss:// wss://nostrrelay.com"
"wss://wss://nostr.mwmdev.com"
"wss://wss://nostr.sandwich.farm"
)

View File

@ -7,7 +7,17 @@ numHours=1
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}]";
#req="[\"REQ\",\"l\",{\"since\":$sinceSeconds,\"limit\":$limit}]";
#3235
#req="[\"REQ\",\"id_mention_#p_nostr.coinos.io\",{\"#p\":[\"3235036bd0957dfb27ccda02d452d7c763be40c91a1ac082ba6983b25238388c\"],\"limit\":20000,\"since\":1654569836},{\"authors\":[\"3235036bd0957dfb27ccda02d452d7c763be40c91a1ac082ba6983b25238388c\"]}]"
#jack
req="[\"REQ\",\"id_mention_#p_nostr.coinos.io\",{\"#p\":[\"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2\"],\"limit\":20000,\"since\":1654569836},{\"authors\":[\"82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2\"]}]"
#req="[\"REQ\",\"id_mention_#e6_nostr.coinos.io\",{\"ids\":[\"df802463b9342b3c12b4f5ab674344dccb9dc152d3e4d7519d0cbd1cd92ce61f\",\"25e5c82273a271cb1a840d0060391a0bf4965cafeb029d5ab55350b418953fbb\",\"52cab2e3e504ad6447d284b85b5cc601ca0613b151641e77facfec851c2ca816\"],\"since\":1654570451}]"
#req="[\"REQ\",\"id_mention_tag_nostr.coinos.io\",{\"#e\":[\"df802463b9342b3c12b4f5ab674344dccb9dc152d3e4d7519d0cbd1cd92ce61f\",\"25e5c82273a271cb1a840d0060391a0bf4965cafeb029d5ab55350b418953fbb\",\"52cab2e3e504ad6447d284b85b5cc601ca0613b151641e77facfec851c2ca816\"],\"since\":1654570451},{\"ids\":[\"df802463b9342b3c12b4f5ab674344dccb9dc152d3e4d7519d0cbd1cd92ce61f\",\"25e5c82273a271cb1a840d0060391a0bf4965cafeb029d5ab55350b418953fbb\",\"52cab2e3e504ad6447d284b85b5cc601ca0613b151641e77facfec851c2ca816\"]}]"
echo "echo $req | websocat $server | wc " ;
for server in ${nostr_servers[@]};