presync to percent

This commit is contained in:
rootzoll 2018-12-11 00:28:34 +01:00
parent a7cd5fccda
commit 69cd2c6026

View File

@ -82,6 +82,7 @@ while :
blockchaininfo="$(sudo -u root bitcoin-cli -conf=/home/admin/assets/bitcoin.conf getblockchaininfo 2>/dev/null)"
if [ ${#blockchaininfo} -gt 0 ]; then
message="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')"
message=$(echo "${message}*100" | bc)
fi
fi