mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
add peers to status scan
This commit is contained in:
@@ -57,6 +57,13 @@ if [ ${bitcoinRunning} -eq 1 ]; then
|
||||
echo "bitcoinErrorFull='${bitcoinErrorFull}'"
|
||||
else
|
||||
|
||||
###################################
|
||||
# Get data from blockchain network
|
||||
###################################
|
||||
|
||||
source <(sudo -u bitcoin /home/admin/config.scripts/network.monitor.sh peer-status)
|
||||
echo "blockchainPeers=${peers}"
|
||||
|
||||
##############################
|
||||
# Get data from blockchaininfo
|
||||
##############################
|
||||
|
Reference in New Issue
Block a user