Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Upgrading ProTip Bitcoin Fullnode from 2016 Raspberry Pi 2 and 3 with media already installed
#!/bin/sh
## This is for users who already have a Bitcoin full node up and running with blockchain downloaded
## This scrip will download and replace the current Bitcoin software with BIP 148/UASF WITHOUT wallet functionality
## See https://bitcoinuasf.org/ & http://www.uasf.co/ for more download options and information
# Install updates
sudo apt-get update
sudo apt-get upgrade -y
# Install dependencies for Bitcoin Core (not the GUI)
sudo apt-get install autoconf libevent-dev libtool libssl-dev libboost-all-dev libminiupnpc-dev -y
# Install dependencies for Bitcoin QT (GUI)
sudo apt-get install qt4-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev -y
# Setup Swap file (use if needed, uncomment "Remove" step at the end to turn off swap file)
#sudo sed -i '16s/.*/CONF_SWAPSIZE=2048/g' /etc/dphys-swapfile
#sudo dphys-swapfile setup
#sudo dphys-swapfile swapon
# Compiling Bitcoin, if this step fails remove -j2 flag from line 25
mkdir ~/bin
cd ~/bin
git clone https://github.com/UASF/bitcoin.git -b 0.14-BIP148
cd ~/bin/bitcoin
sudo ./autogen.sh
sudo ./configure --enable-upnp-default --disable-wallet
sudo make -j2
sudo make install
# Remove the swap file we made earlier
#sudo chmod -x /etc/init.d/dphys-swapfile
#sudo swapoff -a
#sudo rm /var/swap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.