diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
commit | 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 (patch) | |
tree | 5f16ff3c7506b653862e0171d71163074f67c96e /bin/ak-zchain-chk | |
parent | fe1fb88889b2c3949383c254f3058da24ba5e3f2 (diff) | |
download | arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.gz arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.bz2 arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.zip |
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
Diffstat (limited to 'bin/ak-zchain-chk')
-rwxr-xr-x | bin/ak-zchain-chk | 8 |
1 files changed, 4 insertions, 4 deletions
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 |