add more info on incomplete blockchain (#3526)

This commit is contained in:
/rootzoll 2022-12-15 17:58:41 +01:00 committed by GitHub
parent 9d3e4faf3d
commit 5a08729644
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View File

@ -81,7 +81,7 @@ do
# https://github.com/rootzoll/raspiblitz/issues/2659
####################################################
# once a day 5 minutes
# once a day
recheckLogs=$((($counter % 86400)+2))
if [ ${recheckLogs} -eq 1 ]; then
echo "*** MONITOR LOG SIZES ***"

View File

@ -275,7 +275,7 @@ if [ "$1" = "target" ]; then
case $response in
1) quickCheckOK=1 ;;
esac
fi
if [ ${quickCheckOK} -eq 0 ]; then
@ -291,6 +291,16 @@ if [ "$1" = "target" ]; then
echo "restarting services ... (please wait)"
sudo systemctl enable bitcoind
clear
echo "****************************************************************************"
echo "OK your RaspiBlitz will now go into reboot and try to sync the blockchain"
echo "by itself. If you run into troubles you can always cut power and restart"
echo "setup with a fresh flashed sd card."
echo "****************************************************************************"
echo "PRESS ENTER to trigger reboot."
sleep 1
read key
echo "rebooting"
/home/admin/config.scripts/blitz.shutdown.sh reboot
exit