mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 04:26:28 +02:00
@@ -83,8 +83,7 @@ while :
|
|||||||
|
|
||||||
# when in presync - get more info on progress
|
# when in presync - get more info on progress
|
||||||
elif [ "${state}" = "presync" ]; then
|
elif [ "${state}" = "presync" ]; then
|
||||||
# get blockchain sync progress
|
blockchaininfo="$(sudo -u root bitcoin-cli --conf=/home/admin/assets/bitcoin.conf getblockchaininfo 2>/dev/null)"
|
||||||
blockchaininfo="$(sudo -u root ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 2>/dev/null)"
|
|
||||||
message="starting"
|
message="starting"
|
||||||
if [ ${#blockchaininfo} -gt 0 ]; then
|
if [ ${#blockchaininfo} -gt 0 ]; then
|
||||||
message="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')"
|
message="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')"
|
||||||
|
@@ -30,5 +30,6 @@ while :
|
|||||||
echo ""
|
echo ""
|
||||||
echo "network(${network}) chain(${chain})"
|
echo "network(${network}) chain(${chain})"
|
||||||
sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log
|
sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log
|
||||||
echo "Wallet still locked - please try again or Cancel with CTRL+C"
|
echo "Wallet still locked - please try again or"
|
||||||
|
echo "Cancel with CTRL+C - back to setup with command: raspiblitz"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user