mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
progress monitoring
This commit is contained in:
parent
7677f655cf
commit
26cad6c6ef
1 changed files with 2 additions and 0 deletions
|
@ -56,9 +56,11 @@ while [ ${finished} -eq 0 ]
|
|||
blockchaininfo=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo)
|
||||
progress="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')"
|
||||
progress=$(echo "${progress}*100" | bc)
|
||||
inprogress="$(echo "${blockchaininfo}" | jq -r '.initialblockdownload')"
|
||||
|
||||
echo ""
|
||||
echo "PROGRESS: ${progress}"
|
||||
echo "running: ${inprogress}"
|
||||
echo ""
|
||||
|
||||
#TODO: detect and display progress
|
||||
|
|
Loading…
Add table
Reference in a new issue