mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-11 16:09:16 +00:00
Rate limit extract to hopefully prevent power issues during extreme disk RW
This commit is contained in:
parent
cc5e64a2c1
commit
eb468dc823
|
@ -22,6 +22,7 @@ ufw allow 3004 comment 'allow LND Admin'
|
|||
ufw allow 3010 comment 'allow RTL'
|
||||
ufw allow 50001 comment 'allow Electrum Server'
|
||||
ufw allow 50002 comment 'allow Electrum Server'
|
||||
ufw allow 50194 comment 'VPN Access'
|
||||
ufw allow 56881 comment 'allow myNode QuickSync'
|
||||
ufw allow 51413 comment 'allow myNode QuickSync'
|
||||
ufw allow 6771 comment 'allow myNode QuickSync (LPD)'
|
||||
|
|
|
@ -11,10 +11,11 @@ systemctl stop electrs
|
|||
systemctl stop quicksync
|
||||
|
||||
# Install any new software
|
||||
# apt-get -y install ...
|
||||
apt -y install pv
|
||||
|
||||
# Install any pip software
|
||||
# ...
|
||||
pip install tzupdate
|
||||
|
||||
|
||||
# Upgrade BTC
|
||||
ARCH="arm-linux-gnueabihf"
|
||||
|
|
|
@ -17,7 +17,8 @@ sync
|
|||
echo "quicksync_copy" > $MYNODE_DIR/.mynode_status
|
||||
rm -rf $MYNODE_DIR/bitcoin/blocks/
|
||||
rm -rf $MYNODE_DIR/bitcoin/chainstate/
|
||||
tar -xvf $QUICKSYNC_DIR/blockchain*.tar.gz -C $MYNODE_DIR/bitcoin/ --dereference
|
||||
#tar -xvf $QUICKSYNC_DIR/blockchain*.tar.gz -C $MYNODE_DIR/bitcoin/ --dereference
|
||||
pv -L 15m $QUICKSYNC_DIR/blockchain*.tar.gz | tar xzvf - -C $MYNODE_DIR/bitcoin/ --dereference
|
||||
|
||||
# Mark quicksync complete and give BTC a few minutes to startup with its new data
|
||||
touch $QUICKSYNC_DIR/.quicksync_complete
|
||||
|
|
|
@ -42,7 +42,8 @@ apt-get -y install transmission-cli fail2ban ufw tclsh bluez python-bluez redis-
|
|||
apt-get -y install clang hitch zlib1g-dev libffi-dev file toilet ncdu
|
||||
apt-get -y install toilet-fonts avahi-daemon figlet libsecp256k1-dev
|
||||
apt-get -y install inotify-tools libssl-dev tor tmux screen
|
||||
apt-get -y install python-grpcio python3-grpcio # Need Debian Buster on Rock64 first...
|
||||
apt-get -y install python-grpcio python3-grpcio
|
||||
apt-get -y install pv
|
||||
|
||||
|
||||
# Install other things without recommendation
|
||||
|
@ -61,6 +62,7 @@ pip install --upgrade wheel
|
|||
pip install speedtest-cli transmissionrpc flask python-bitcoinrpc redis prometheus_client requests
|
||||
pip install python-pam python-bitcoinlib psutil
|
||||
pip install grpcio grpcio-tools googleapis-common-protos
|
||||
pip install tzupdate
|
||||
|
||||
|
||||
# Update python3 to 3.7.X
|
||||
|
|
Loading…
Reference in New Issue
Block a user