This commit is contained in:
poka 2019-10-30 14:06:13 +01:00
commit d8be294803
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ indexhtml="/var/www/g1-stats/index-$day-$startTime-$id.html"
###
echo "######"
[[ -z $(which jq) || -z $(which bc) ]] && apt update && apt install jq bc
echo "Initialisation ..."
outFile="/tmp/g1-stats-$day-$startTime_$id"
TXBLOCKS=($(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]' | awk '{printf $1" "}'))