mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 18:37:41 +01:00
updated syncing to mainnet with warning
This commit is contained in:
@@ -164,7 +164,7 @@ if [ ${mountOK} -eq 1 ]; then
|
|||||||
T "TORRENT --> MAINNET + TESTNET thru Torrent (DEFAULT)" \
|
T "TORRENT --> MAINNET + TESTNET thru Torrent (DEFAULT)" \
|
||||||
D "DOWNLOAD --> MAINNET + TESTNET per FTP (FALLBACK)" \
|
D "DOWNLOAD --> MAINNET + TESTNET per FTP (FALLBACK)" \
|
||||||
C "COPY --> USE BLOCKCHAINDATA from another computer" \
|
C "COPY --> USE BLOCKCHAINDATA from another computer" \
|
||||||
S "SYNC --> JUST TESTNET thru Bitoin Network (FALLBACK+SLOW)" 2>&1 >/dev/tty)
|
S "SYNC --> MAINNET thru Bitoin Network (ULTRA SLOW)" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
# Litecoin
|
# Litecoin
|
||||||
elif [ ${network} = "litecoin" ]; then
|
elif [ ${network} = "litecoin" ]; then
|
||||||
|
|||||||
@@ -5,23 +5,28 @@ source /home/admin/raspiblitz.info 2>/dev/null
|
|||||||
|
|
||||||
# only show warning when bitcoin
|
# only show warning when bitcoin
|
||||||
if [ "$network" = "bitcoin" ]; then
|
if [ "$network" = "bitcoin" ]; then
|
||||||
msg=""
|
msg="The RaspberryPi has very limited CPU power."
|
||||||
msg="$msg Syncing is just practical for Bitcoin TESTNET!\n"
|
msg="$msg To sync & validate the complete blockchain\n"
|
||||||
msg="$msg TESTNET is OK for learning, testing and development.\n"
|
msg="$msg can take multiple days - even weeks!\n"
|
||||||
msg="$msg MAINNET is where things get real and fun.\n"
|
msg="$msg Its recommended to use another option.\n"
|
||||||
msg="$msg \n"
|
msg="$msg \n"
|
||||||
msg="$msg Syncing MAINNET on a raspberry is NOT practical.\n"
|
msg="$msg So do you really want start syncing now?"
|
||||||
msg="$msg If you want MAINET, go back & try DOWNLOAD.\n"
|
|
||||||
msg="$msg \n"
|
|
||||||
msg="$msg Do you really want to work with ONLY TESTNET?"
|
|
||||||
|
|
||||||
dialog --title " WARNING " --yesno "${msg}" 12 57
|
dialog --title " WARNING " --yesno "${msg}" 11 57
|
||||||
response=$?
|
response=$?
|
||||||
case $response in
|
case $response in
|
||||||
0) echo "--> OK";;
|
0) echo "--> OK";;
|
||||||
1) ./10setupBlitz.sh; exit 1;;
|
1) ./10setupBlitz.sh; exit 1;;
|
||||||
255) ./10setupBlitz.sh; exit 1;;
|
255) ./10setupBlitz.sh; exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
clear
|
||||||
|
echo "********************************"
|
||||||
|
echo "This is madness. This is Sparta!"
|
||||||
|
echo "********************************"
|
||||||
|
echo ""
|
||||||
|
sleep 3
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "*** Activating Blockain Sync ***"
|
echo "*** Activating Blockain Sync ***"
|
||||||
|
|||||||
Reference in New Issue
Block a user