aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sblock-show
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-sblock-show')
-rwxr-xr-xbin/ak-sblock-show9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ak-sblock-show b/bin/ak-sblock-show
new file mode 100755
index 0000000..836e60a
--- /dev/null
+++ b/bin/ak-sblock-show
@@ -0,0 +1,9 @@
+#!/bin/bash
+PROGRAM="show_sblock"
+MINED_BLOCKS_DIR="/home/kaotisk/.arching-kaos/mined_blocks"
+if [ ! -z $1 ]
+then
+ cat $MINED_BLOCKS_DIR/$1 | jq
+else
+ echo "No sblock hash input"
+fi