mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 06:48:00 +01:00
ibdBehindTor also for litecoin
This commit is contained in:
parent
0ecf144a18
commit
3882b1958d
1 changed files with 13 additions and 22 deletions
|
@ -29,35 +29,26 @@ if [ "$network" = "bitcoin" ]; then
|
|||
255) exit 1;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# ask if really sync behind TOR
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
whiptail --title ' Sync Blockchain from behind TOR? ' --yes-button='Public-Sync' --no-button='TOR-Sync' --yesno "You decided to run your node behind TOR and validate the blockchain with your RaspiBlitz - thats good. But downloading the complete blockchain thru TOR can add some extra time (maybe a day) to the process and adds a heavy load on the TOR network.\n
|
||||
# ask if really sync behind TOR
|
||||
if [ "${runBehindTor}" = "on" ]; then
|
||||
whiptail --title ' Sync Blockchain from behind TOR? ' --yes-button='Public-Sync' --no-button='TOR-Sync' --yesno "You decided to run your node behind TOR and validate the blockchain with your RaspiBlitz - thats good. But downloading the complete blockchain thru TOR can add some extra time (maybe a day) to the process and adds a heavy load on the TOR network.\n
|
||||
Your RaspiBlitz can just run the initial blockchain download with your public IP (Public-Sync) but keep your Lighting node safe behind TOR.
|
||||
It would speed up the self-validation while not revealing your Lightning node identity. But for most privacy choose (TOR-Sync).
|
||||
" 15 76
|
||||
if [ $? -eq 0 ]; then
|
||||
# set flag to not run bitcoin behind TOR during IDB
|
||||
echo "ibdBehindTor=off" >> /home/admin/raspiblitz.info
|
||||
fi
|
||||
if [ $? -eq 0 ]; then
|
||||
# set flag to not run bitcoin behind TOR during IDB
|
||||
echo "ibdBehindTor=off" >> /home/admin/raspiblitz.info
|
||||
fi
|
||||
fi
|
||||
|
||||
clear
|
||||
if [ ${raspberryPi} -lt 4 ]; then
|
||||
echo "********************************"
|
||||
echo "This is madness. This is Sparta!"
|
||||
echo "********************************"
|
||||
echo ""
|
||||
sleep 3
|
||||
else
|
||||
echo "**********************************"
|
||||
echo "Dont Trust, verify - starting sync"
|
||||
echo "**********************************"
|
||||
echo ""
|
||||
sleep 3
|
||||
fi
|
||||
echo "**********************************"
|
||||
echo "Dont Trust, verify - starting sync"
|
||||
echo "**********************************"
|
||||
echo ""
|
||||
sleep 3
|
||||
|
||||
fi
|
||||
|
||||
echo "*** Optimizing RAM for Sync ***"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue