mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-09-23 09:20:03 +00:00
Upgrade bitcoind to 18.1 and improve quicksync with SSD
This commit is contained in:
parent
3a1c2411ec
commit
c759e879cf
|
@ -42,6 +42,8 @@ if [ "$#" -ge 2 ]; then
|
|||
if [ "$2" = "www" ]; then
|
||||
echo "Restarting www service..."
|
||||
systemctl restart www
|
||||
elif [ "$2" = "files" ]; then
|
||||
echo "Only updating files... Done."
|
||||
else
|
||||
# Service not found, reboot
|
||||
echo "Service not found, rebooting device..."
|
||||
|
|
|
@ -5,10 +5,10 @@ source /usr/share/mynode/mynode_config.sh
|
|||
set -x
|
||||
|
||||
# Shut down main services to save memory and CPU
|
||||
systemctl stop bitcoind
|
||||
systemctl stop lnd
|
||||
systemctl stop electrs
|
||||
systemctl stop lnd
|
||||
systemctl stop quicksync
|
||||
systemctl stop bitcoind
|
||||
|
||||
# Install any new software
|
||||
apt -y install pv
|
||||
|
@ -23,7 +23,7 @@ uname -a | grep aarch64
|
|||
if [ $? = 0 ]; then
|
||||
ARCH="aarch64-linux-gnu"
|
||||
fi
|
||||
BTC_UPGRADE_URL=https://bitcoin.org/bin/bitcoin-core-0.18.0/bitcoin-0.18.0-$ARCH.tar.gz
|
||||
BTC_UPGRADE_URL=https://bitcoin.org/bin/bitcoin-core-0.18.1/bitcoin-0.18.1-$ARCH.tar.gz
|
||||
BTC_UPGRADE_URL_FILE=/home/bitcoin/.mynode/.btc_url
|
||||
CURRENT=""
|
||||
if [ -f $BTC_UPGRADE_URL_FILE ]; then
|
||||
|
|
|
@ -117,7 +117,7 @@ ARCH="arm-linux-gnueabihf"
|
|||
if [ $IS_ROCK64 = 1 ]; then
|
||||
ARCH="aarch64-linux-gnu"
|
||||
fi
|
||||
BTC_UPGRADE_URL=https://bitcoin.org/bin/bitcoin-core-0.18.0/bitcoin-0.18.0-$ARCH.tar.gz
|
||||
BTC_UPGRADE_URL=https://bitcoin.org/bin/bitcoin-core-0.18.1/bitcoin-0.18.1-$ARCH.tar.gz
|
||||
BTC_UPGRADE_URL_FILE=/home/bitcoin/.mynode/.btc_url
|
||||
CURRENT=""
|
||||
if [ -f $BTC_UPGRADE_URL_FILE ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user