#3023 make sure blockchain data is available

This commit is contained in:
rootzoll
2022-06-04 12:59:07 +02:00
parent 460781b9b0
commit 9532c601fd

View File

@@ -827,6 +827,11 @@ if [ ${isMounted} -eq 0 ]; then
sleep 2
done
# one time add info on blockchain sync to chache
source <(/home/admin/_cache.sh get chain)
source <(/home/admin/config.scripts/bitcoin.monitor.sh ${chain}net info)
/home/admin/_cache.sh set btc_default_blocks_data_kb "${btc_blocks_data_kb}"
###################################################
# HANDOVER TO FINAL SETUP CONTROLLER
###################################################