Browse Source

ui fixes

#146
rootzoll 6 years ago
parent
commit
a2aee404af
  1. 3
      home.admin/00infoBlitz.sh
  2. 2
      home.admin/00infoLCD.sh
  3. 5
      home.admin/assets/lnd.bitcoin.conf
  4. 3
      home.admin/assets/lnd.litecoin.conf

3
home.admin/00infoBlitz.sh

@ -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

2
home.admin/00infoLCD.sh

@ -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

5
home.admin/assets/lnd.bitcoin.conf

@ -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

3
home.admin/assets/lnd.litecoin.conf

@ -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

Loading…
Cancel
Save