From a566b515b3997ca593f4d5e7b09ab8d91e37d09b Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 25 Jun 2020 21:49:54 +0200 Subject: [PATCH] Check just one node --- g1-stats.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g1-stats.sh b/g1-stats.sh index bfb6518..eb3af07 100755 --- a/g1-stats.sh +++ b/g1-stats.sh @@ -21,8 +21,8 @@ echo -e "\n############# $day à $startTime #############\n" echo "Initialisation ..." outFile="/tmp/g1-stats-$day-$startTime_$id" TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]') -TXBLOCKS+=$(curl -s ${DUNITER2}/blockchain/with/tx | jq '.result.blocks[]') -TXBLOCKS+=$(curl -s ${DUNITER3}/blockchain/with/tx | jq '.result.blocks[]') +#TXBLOCKS+=$(curl -s ${DUNITER2}/blockchain/with/tx | jq '.result.blocks[]') +#TXBLOCKS+=$(curl -s ${DUNITER3}/blockchain/with/tx | jq '.result.blocks[]') TXBLOCKS=($(echo "$TXBLOCKS" | sort -hu | awk '{printf $1" "}')) unset 'TXBLOCKS[${#TXBLOCKS[@]}-1]' MEMBERS=($(curl -s ${DUNITER}/wot/members | jq '.results[].pubkey' | tr -d '"'))