aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-peers-get-stellar
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-24 04:00:36 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-24 04:00:36 +0300
commit432acf6bf5cd42025a63266e77bacd8c5256c0a5 (patch)
treeef2ef8b80a9741f648f01e8a2f5c50da1f98b83b /bin/ak-peers-get-stellar
parent0c8f9f5ed254c923c368c8fa92d352f8da89b3ca (diff)
downloadarching-kaos-tools-432acf6bf5cd42025a63266e77bacd8c5256c0a5.tar.gz
arching-kaos-tools-432acf6bf5cd42025a63266e77bacd8c5256c0a5.tar.bz2
arching-kaos-tools-432acf6bf5cd42025a63266e77bacd8c5256c0a5.zip
ak-network: script to handle connectivity
```bash ak-network - AK Nettool ======================= Network tools Usage: -h, --help Prints this help message -s, --scan [ipfs|cjdns|stellar] Scan network(s) for peers -c, --connect [ipfs|cjdns] Connect to network(s) -p, --peers [ipfs|cjdns|stellar] Outputs peers found 1719190884 <ak> [ERROR] ak-network command finished (1) ``` Functions introduced or refactored: - _ak_network_cjdns_scanner - _ak_network_stellar_show_ids - _ak_network_stellar_get_next_page - _ak_network_stellar_proceed_to_next_page - _ak_network_stellar_get_asset_holders - _ak_network_scan_stellar - _ak_network_scan_ipfs - _ak_network_scan_cjdns - _ak_network_scan - _ak_network_show_peers_stellar - _ak_network_show_peers_cjdns - _ak_network_show_peers_ipfs - _ak_network_show_peers - _ak_network_ipfs_connect_bootstrap - _ak_network_cjdns_connect - _ak_network_cjdns_connect_bootstrap - _ak_network_connect
Diffstat (limited to 'bin/ak-peers-get-stellar')
-rwxr-xr-xbin/ak-peers-get-stellar18
1 files changed, 0 insertions, 18 deletions
diff --git a/bin/ak-peers-get-stellar b/bin/ak-peers-get-stellar
deleted file mode 100755
index ec9eaa6..0000000
--- a/bin/ak-peers-get-stellar
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/bash
-source $AK_LIBDIR/_ak_ipfs
-stellarParticipants="$AK_WORKDIR/stellar-network-participants"
-stellarParticipantsOnline="$AK_WORKDIR/stellar-network-participants-online"
-(
-printf '['
-counter=0
-cat $stellarParticipantsOnline | while read stellarAddress akConfig
-do
- if [ $counter -ne 0 ]
- then
- printf ','
- fi
- counter=$(( $counter + 1 ))
- printf '{"stellar":{"address":"%s","config":"%s"},"node_info":%s}' "$stellarAddress" "$akConfig" "$(_ak_ipfs_cat /ipns/$akConfig)"
-done
-printf ']'
-) #| jq