Christian Rotzoll
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
home.admin/00infoLCD.sh
-
home.admin/AAunlockLND.sh
|
|
@ -83,8 +83,7 @@ while : |
|
|
|
|
|
|
|
# when in presync - get more info on progress |
|
|
|
elif [ "${state}" = "presync" ]; then |
|
|
|
# get blockchain sync progress |
|
|
|
blockchaininfo="$(sudo -u root ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo 2>/dev/null)" |
|
|
|
blockchaininfo="$(sudo -u root bitcoin-cli --conf=/home/admin/assets/bitcoin.conf getblockchaininfo 2>/dev/null)" |
|
|
|
message="starting" |
|
|
|
if [ ${#blockchaininfo} -gt 0 ]; then |
|
|
|
message="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')" |
|
|
|
|
|
@ -30,5 +30,6 @@ while : |
|
|
|
echo "" |
|
|
|
echo "network(${network}) chain(${chain})" |
|
|
|
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 |
|
|
|