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"
|
echo -e "\n############# $day à $startTime #############\n"
|
||||||
[[ -z $(which jq) || -z $(which bc) || -z $(which curl) ]] && sudo apt update && sudo apt install jq bc curl
|
[[ -z $(which jq) || -z $(which bc) || -z $(which curl) ]] && sudo apt update && sudo apt install jq bc curl
|
||||||
echo "Initialisation ..."
|
echo "Initialisation ..."
|
||||||
TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
|
#TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
|
||||||
#TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
|
TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
|
||||||
TXBLOCKS=($(echo "$TXBLOCKS" | sort -hu | awk '{printf $1" "}'))
|
TXBLOCKS=($(echo "$TXBLOCKS" | sort -hu | awk '{printf $1" "}'))
|
||||||
unset 'TXBLOCKS[${#TXBLOCKS[@]}-1]'
|
unset 'TXBLOCKS[${#TXBLOCKS[@]}-1]'
|
||||||
echo "TXBLOCKS OK"
|
echo "TXBLOCKS OK"
|
||||||
|
@ -42,7 +42,7 @@ source $SCRIPTPATH/lib/functions.sh
|
||||||
source $SCRIPTPATH/lib/scanTxWallets.sh
|
source $SCRIPTPATH/lib/scanTxWallets.sh
|
||||||
|
|
||||||
### Extraction des adresses Ḡ1 actives
|
### Extraction des adresses Ḡ1 actives
|
||||||
scanTxWallets #kopa
|
scanTxWallets
|
||||||
|
|
||||||
### Calcul la somme des soldes portefeuilles et membres
|
### Calcul la somme des soldes portefeuilles et membres
|
||||||
sumSoldes
|
sumSoldes
|
||||||
|
|
Loading…
Reference in New Issue