debug off
This commit is contained in:
parent
bd2b6abf99
commit
ab09f2d85e
|
@ -22,8 +22,8 @@ indexhtml="$WEBPATH/index.html"
|
|||
echo -e "\n############# $day à $startTime #############\n"
|
||||
[[ -z $(which jq) || -z $(which bc) || -z $(which curl) ]] && sudo apt update && sudo apt install jq bc curl
|
||||
echo "Initialisation ..."
|
||||
TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
|
||||
#TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
|
||||
#TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
|
||||
TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
|
||||
TXBLOCKS=($(echo "$TXBLOCKS" | sort -hu | awk '{printf $1" "}'))
|
||||
unset 'TXBLOCKS[${#TXBLOCKS[@]}-1]'
|
||||
echo "TXBLOCKS OK"
|
||||
|
@ -42,7 +42,7 @@ source $SCRIPTPATH/lib/functions.sh
|
|||
source $SCRIPTPATH/lib/scanTxWallets.sh
|
||||
|
||||
### Extraction des adresses Ḡ1 actives
|
||||
scanTxWallets #kopa
|
||||
scanTxWallets
|
||||
|
||||
### Calcul la somme des soldes portefeuilles et membres
|
||||
sumSoldes
|
||||
|
|
Loading…
Reference in New Issue