aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-mempool
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
commitde53c55383ed07e0b65f69d33f5284a31d791664 (patch)
treef1e426c88a5d0a48ca463eccd21c1d12524d8f3a /bin/ak-mempool
parent9531bcdffff4e44e8aadb000f0b577d59a32ea3f (diff)
downloadarching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.gz
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.bz2
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.zip
Refactoring
Diffstat (limited to 'bin/ak-mempool')
-rwxr-xr-xbin/ak-mempool15
1 files changed, 14 insertions, 1 deletions
diff --git a/bin/ak-mempool b/bin/ak-mempool
index bcf56ad..4e796fb 100755
--- a/bin/ak-mempool
+++ b/bin/ak-mempool
@@ -1,11 +1,24 @@
#!/bin/bash
+##
+## Brief description
+##
+## Usage:
+##
+## -h, --help Prints this help message
+##
+fullprogrampath="$(realpath $0)"
+PROGRAM=$(basename $0)
+descriptionString="Quick description"
+
+# At least these
+source $AK_LIBDIR/_ak_log
+source $AK_LIBDIR/_ak_script
# Assumptions:
# I suppose each ak node is connected to some IP.
# They also run IPFS.
# They also are a part of our swarm.
# So should we ask for our peers?
-source $AK_LIBDIR/_ak_log
source $AK_LIBDIR/_ak_ipfs
_ak_ipfs_swarm_peers > tmp_peers