From 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 3 Apr 2023 00:24:49 +0300 Subject: Renaming to prefix convention, introduced ipfs wrappers so it can be easier to maintain, changes in filesplitter and filejoiner as they move sm submodule namespace... like there are namespaces in bash or something --- bin/ak-zchain-chk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/ak-zchain-chk') diff --git a/bin/ak-zchain-chk b/bin/ak-zchain-chk index a57e722..946919a 100755 --- a/bin/ak-zchain-chk +++ b/bin/ak-zchain-chk @@ -27,7 +27,7 @@ elif [ ! -z "$1" ] then entrance="$1" else - # By default we enter from the latest block + # By default we ak-enter from the latest block # We can alter this by changing this value entrance="$(cat $ZLATEST)" fi @@ -76,7 +76,7 @@ do # We concatenate the zblock's contents, pipe them through filter # ak-json2bash and output them to tmp-file - ipfs cat $zblock | ak-json2bash > $TEMPASSIN/tmp-zblock + ak-ipfs-cat $zblock | ak-json2bash > $TEMPASSIN/tmp-zblock ak-logthis "[INFO]" "ZBLOCK $zblock READ" # Supposingly you are on a safe environment and you only have @@ -88,7 +88,7 @@ do # Same as above applies to BLOCK and DATA subparts of each ZBLOCK # BLOCKS - ipfs cat $block | ak-json2bash > $TEMPASSIN/tmp-block + ak-ipfs-cat $block | ak-json2bash > $TEMPASSIN/tmp-block source $TEMPASSIN/tmp-block ak-logthis "[INFO]" "BLOCK $block SOURCED" touch $BLOCKDIR/$block @@ -119,7 +119,7 @@ do for value in ${blocks_found[@]} do echo $value - ipfs cat $value | jq -M + ak-ipfs-cat $value | jq -M done fi exit 0 -- cgit v1.2.3