diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:34:01 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-27 09:34:01 +0200 |
commit | 465d5db06e56dc21072a8ff01258f6815d340b00 (patch) | |
tree | ae16ecf2f980b054caa2f97f48e8fa5f22b768a6 /bin/ak-mempool | |
parent | 1cb6c8bef840a96baa37392e9833a7674f805a83 (diff) | |
download | arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.gz arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.bz2 arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.zip |
new lib _ak_ipfs
Diffstat (limited to 'bin/ak-mempool')
-rwxr-xr-x | bin/ak-mempool | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/ak-mempool b/bin/ak-mempool index 1baf4c8..51f59a7 100755 --- a/bin/ak-mempool +++ b/bin/ak-mempool @@ -5,13 +5,16 @@ # They also are a part of our swarm. # So should we ask for our peers? -ak-ipfs-swarm-peers > tmp_peers +source $AK_LIBDIR/_ak_logit +source $AK_LIBDIR/_ak_ipfs + +_ak_ipfs_swarm_peers > tmp_peers while IFS="" read -r p || [ -n "$p" ] do peer="$(echo "$p" | sed -e 's/^.*\///')" - echo "Peer $peer found! Examining..." - ak-ipfs-cat /ipns/$peer/zlatest + logit "INFO" "Peer $peer found! Examining..." + _ak_ipfs_cat /ipns/$peer/zlatest done < tmp_peers rm tmp_peers |