mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
ui fixes
This commit is contained in:
@@ -173,6 +173,9 @@ else
|
||||
if [ ${ln_sync} -eq 0 ]; then
|
||||
item=$(sudo -u bitcoin tail -n 100 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep height | tail -n1 | awk '{print $9} {print $10} {print $11} {print $12}' | tr -dc '0-9')
|
||||
total=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.blocks')
|
||||
if [ "${item}" = "${total}" ]; then
|
||||
item="?"
|
||||
fi
|
||||
ln_baseInfo="${color_red} waiting for chain sync"
|
||||
ln_channelInfo="${item}/${total}"
|
||||
else
|
||||
|
||||
@@ -64,7 +64,7 @@ if [ "$USER" = "pi" ]; then
|
||||
l1="!!! LND WALLET IS LOCKED !!!\n"
|
||||
l2="Login: ssh admin@${localip}\n"
|
||||
l3="Use your Password A\n"
|
||||
boxwidth=$((${#localip} + 20))
|
||||
boxwidth=$((${#localip} + 22))
|
||||
dialog --backtitle "RaspiBlitz - Action Required" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||
sleep 5
|
||||
|
||||
|
||||
@@ -7,6 +7,11 @@ maxpendingchannels=5
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
|
||||
# RPC open to all connections on Port 10009
|
||||
rpclisten=0.0.0.0:10009
|
||||
# Domain, could use https://freedns.afraid.org
|
||||
#tlsextradomain=lightning.yourhost.com
|
||||
|
||||
[Bitcoin]
|
||||
bitcoin.active=1
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ maxpendingchannels=5
|
||||
alias=raspiblitz
|
||||
color=#68F442
|
||||
|
||||
# RPC open to all connections on Port 10009
|
||||
rpclisten=0.0.0.0:10009
|
||||
|
||||
[Litecoin]
|
||||
litecoin.active=1
|
||||
litecoin.mainnet=1
|
||||
|
||||
Reference in New Issue
Block a user