v1.6.3 release preps (#1941)

This commit is contained in:
/rootzoll 2021-01-13 00:38:10 +01:00 committed by rootzoll
parent 65ec7294cb
commit 390cb70d0e
4 changed files with 25 additions and 13 deletions

View file

@ -1,9 +1,18 @@
# CHANGES between Releases # CHANGES between Releases
## Whats new in Version 1.6.2 of RaspiBlitz? ## Whats new in Version 1.6.3 of RaspiBlitz?
- Update: mempool space 2.0 [details](https://github.com/mempool/mempool) - Update: mempool space 2.0.1 [details](https://github.com/mempool/mempool)
- Update: specter 1.0.0
- Update: RTL 0.10.0 [details](https://twitter.com/RTL_App/status/1340815355959267329?s=20)
- Update: btcpay v1.0.6.3
- Update: NodeJS v14.15.4
- Update: pool v0.3.4
- Update: joininbox v0.1.16
- Update: Sphinx Relay Server (installs always latest master)
- Fix: circuitbreaker install on recovery
- Fix: Specter Persistence - Fix: Specter Persistence
- Experimental: MENU > LNDCRED > EXPORT > BTCPAY Server connection string with baked macaroon
## Whats new in Version 1.6.2 of RaspiBlitz? ## Whats new in Version 1.6.2 of RaspiBlitz?

View file

@ -9,7 +9,6 @@ color_green='\033[0;32m'
color_amber='\033[0;33m' color_amber='\033[0;33m'
color_yellow='\033[1;93m' color_yellow='\033[1;93m'
color_gray='\033[0;37m' color_gray='\033[0;37m'
color_purple='\033[0;35m'
## get basic info ## get basic info
source /home/admin/raspiblitz.info 2>/dev/null source /home/admin/raspiblitz.info 2>/dev/null
@ -165,13 +164,13 @@ networkVersion=$(${network}-cli -datadir=${bitcoin_dir} -version 2>/dev/null | c
# TOR or IP # TOR or IP
networkInfo=$(${network}-cli -datadir=${bitcoin_dir} getnetworkinfo) networkInfo=$(${network}-cli -datadir=${bitcoin_dir} getnetworkinfo)
networkConnections=$(echo ${networkInfo} | jq -r '.connections') networkConnections=$(echo ${networkInfo} | jq -r '.connections')
networkConnectionsInfo="${color_purple}${networkConnections} ${color_gray}connections" networkConnectionsInfo="${color_green}${networkConnections} ${color_gray}connections"
if [ "${runBehindTor}" = "on" ]; then if [ "${runBehindTor}" = "on" ]; then
# TOR address # TOR address
onionAddress=$(echo ${networkInfo} | jq -r '.localaddresses [0] .address') onionAddress=$(echo ${networkInfo} | jq -r '.localaddresses [0] .address')
networkConnectionsInfo="${color_purple}${networkConnections} ${color_gray}peers" networkConnectionsInfo="${color_green}${networkConnections} ${color_gray}peers"
public_addr="${onionAddress}:${public_port}" public_addr="${onionAddress}:${public_port}"
public="" public=""
public_color="${color_green}" public_color="${color_green}"
@ -180,7 +179,7 @@ if [ "${runBehindTor}" = "on" ]; then
else else
# IP address # IP address
networkConnectionsInfo="${color_purple}${networkConnections} ${color_gray}connections" networkConnectionsInfo="${color_green}${networkConnections} ${color_gray}connections"
public_addr="${publicIP}:${public_port}" public_addr="${publicIP}:${public_port}"
public_check=$(nc -z -w6 ${cleanip} ${public_port} 2>/dev/null; echo $?) public_check=$(nc -z -w6 ${cleanip} ${public_port} 2>/dev/null; echo $?)
if [ $public_check = "0" ] || [ "${ipv6}" == "on" ] ; then if [ $public_check = "0" ] || [ "${ipv6}" == "on" ] ; then
@ -274,7 +273,7 @@ else
ln_baseInfo="${color_gray}wallet ${ln_walletbalance} sat ${ln_walletbalance_wait}" ln_baseInfo="${color_gray}wallet ${ln_walletbalance} sat ${ln_walletbalance_wait}"
ln_peers="$(echo "${ln_getInfo}" | jq -r '.num_peers')" 2>/dev/null ln_peers="$(echo "${ln_getInfo}" | jq -r '.num_peers')" 2>/dev/null
ln_channelInfo="${ln_channels_online}/${ln_channels_total} Channels ${ln_channelbalance} sat${ln_channelbalance_pending}" ln_channelInfo="${ln_channels_online}/${ln_channels_total} Channels ${ln_channelbalance} sat${ln_channelbalance_pending}"
ln_peersInfo="${color_purple}${ln_peers} ${color_gray}peers" ln_peersInfo="${color_green}${ln_peers} ${color_gray}peers"
ln_dailyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.day_fee_sum')" 2>/dev/null ln_dailyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.day_fee_sum')" 2>/dev/null
ln_weeklyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.week_fee_sum')" 2>/dev/null ln_weeklyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.week_fee_sum')" 2>/dev/null
ln_monthlyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.month_fee_sum')" 2>/dev/null ln_monthlyfees="$(sudo -u bitcoin /usr/local/bin/lncli --macaroonpath=${lnd_macaroon_dir}/readonly.macaroon --tlscertpath=${lnd_dir}/tls.cert feereport | jq -r '.month_fee_sum')" 2>/dev/null

View file

@ -210,8 +210,8 @@ else
# basic dialog info # basic dialog info
height=6 height=6
width=43 width=45
title="Node is Syncing (${peers} peers)" title="Node is Syncing"
actionString="Please wait - this can take some time" actionString="Please wait - this can take some time"
# formatting BLOCKCHAIN SYNC PROGRESS # formatting BLOCKCHAIN SYNC PROGRESS
@ -223,9 +223,9 @@ else
actionString="Login with SSH for more details:" actionString="Login with SSH for more details:"
fi fi
elif [ ${#syncProgress} -lt 6 ]; then elif [ ${#syncProgress} -lt 6 ]; then
syncProgress=" ${syncProgress} %" syncProgress=" ${syncProgress} % ${peers} peers"
else else
syncProgress="${syncProgress} %" syncProgress="${syncProgress} % ${peers} peers"
fi fi
# formatting LIGHTNING SCAN PROGRESS # formatting LIGHTNING SCAN PROGRESS
@ -254,9 +254,9 @@ else
fi fi
elif [ ${#scanProgress} -lt 6 ]; then elif [ ${#scanProgress} -lt 6 ]; then
scanProgress=" ${scanProgress} %" scanProgress=" ${scanProgress} % ${lndPeers} peers"
else else
scanProgress="${scanProgress} %" scanProgress="${scanProgress} % ${lndPeers} peers"
fi fi
# setting info string # setting info string

View file

@ -214,6 +214,10 @@ if [ ${lndRunning} -eq 1 ]; then
echo "walletLocked=0" echo "walletLocked=0"
fi fi
# number of lnd peers
lndPeers=$(echo ${lndinfo} | jq -r '.num_peers')
echo "lndPeers=${lndPeers}"
# synced to chain # synced to chain
syncedToChain=$(echo ${lndinfo} | jq -r '.synced_to_chain' | grep -c 'true') syncedToChain=$(echo ${lndinfo} | jq -r '.synced_to_chain' | grep -c 'true')
echo "syncedToChain=${syncedToChain}" echo "syncedToChain=${syncedToChain}"