aboutsummaryrefslogtreecommitdiff
path: root/utils/bitcoinnodes.sh
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-05 13:04:44 +0200
committerlns <matzeton@googlemail.com>2022-05-06 22:30:58 +0200
commita41086043385e821c0340e0886a7c5175a1f490e (patch)
tree99420499b9b2edbcba8bcf8e1400446518042152 /utils/bitcoinnodes.sh
parent2e0dedbaae24a8662a494e15fe47a67ea30fdcec (diff)
Added Edgecast and Cachefly CDNs.add/edgecast_and_cachefly_cdn
* Improved ASN update script * Ran `utils/update_every_lists.sh' * `tests/do.sh.in' prints the amount of failed pcap(s) * `utils/asn_update.sh' prints the amount of failed download(s) Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'utils/bitcoinnodes.sh')
-rwxr-xr-xutils/bitcoinnodes.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/bitcoinnodes.sh b/utils/bitcoinnodes.sh
index cfc6b3e1a..03fbedd14 100755
--- a/utils/bitcoinnodes.sh
+++ b/utils/bitcoinnodes.sh
@@ -3,6 +3,8 @@
# List all the current bittorrent nodes
#
+set -e
+
# NOTE: JQ can be found at https://stedolan.github.io/jq/
curl -s -H "Accept: application/json; indent=4" https://bitnodes.io/api/v1/snapshots/latest/ | jq -r '.nodes|keys[] as $k | "\($k)"' | grep -v onion | grep -v ']' | cut -d ':' -f 1