mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
add peers to status scan
This commit is contained in:
@@ -57,6 +57,13 @@ if [ ${bitcoinRunning} -eq 1 ]; then
|
|||||||
echo "bitcoinErrorFull='${bitcoinErrorFull}'"
|
echo "bitcoinErrorFull='${bitcoinErrorFull}'"
|
||||||
else
|
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
|
# Get data from blockchaininfo
|
||||||
##############################
|
##############################
|
||||||
|
Reference in New Issue
Block a user