aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sblock-show
blob: 836e60a3e99fe5fddb00435a852276b44158e282 (plain)
1
2
3
4
5
6
7
8
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