From 0588b52635b715a5d7ad66a63f8379cb4408032a Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 27 Feb 2024 07:21:39 +0200 Subject: Renamed script --- bin/ak-sblock-show | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/ak-sblock-show (limited to 'bin/ak-sblock-show') 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 -- cgit v1.2.3