FREE GUIDES FOR CRYPTOCURRENCY NODE BUILDERS
  • Nodes
    • ALT-Coin Nodes >
      • Ethereum
      • Monero
      • Dogecoin >
        • Dogecoin
        • Dogecoin with display
        • Dogecoin Tor Network
      • Gamecredits >
        • GameCredits
        • Gamecredits with display
        • GameCredits Tor Network
    • Node Add-ons >
      • Wallet Functionality
      • Vanity Address Generators >
        • Bitcoin Vanity Address
        • Litecoin Vanity Address
        • Dogecoin Vanity Address
      • Node stats "Slideshow"
    • Bitcoin Desktop PC Node Software
  • Staking Nodes
    • Dash >
      • Dash - Standard
      • Dash - With LCD display
    • BlackCoin >
      • BlackCoin - Lore
      • BlackCoin - Lore - With LCD display
      • BlackCoin - Lore - Tor enabled
      • BlackCoin - Original
      • BlackCoin - Original - With LCD display
      • BlackCoin - Original - Tor enabled
    • PIVX
    • PinkCoin
    • GoByte >
      • GoByte - Standard
      • GoByte - With LCD display
  • Mining/Data Farming
    • Mining Add-On
    • BurstCoin Mining >
      • Burst Mining Single HDD
      • Burst Mining Multiple HDDs
    • Storj Host (Raspberry Pi)
    • Sia Host (Raspberry Pi)
  • Archive
    • Bitcoin Nodes >
      • With Display >
        • Bitcoin Core With Display
        • Bitcoin Core with display Tor network
        • Bitcoin Cash with display
        • Bitcoin Cash with display Tor network
        • Bitcoin Unlimited with display
        • Bitcoin Unlimited with display Tor network
      • Without Display >
        • Bitcoin Core
        • Bitcoin Core Tor Network
        • Bitcoin Cash
        • Bitcoin Cash Tor Network
        • Bitcoin Unlimited
        • Bitcoin Unlimited Tor Network
      • Update your Node >
        • Latest Core version
    • Litecoin >
      • Litecoin
      • Litecoin with display
      • Litecoin Tor Network
    • Monero >
      • Monero Node for Pi 3 or ARMv7 devices (With LCD display)
      • Monero Node for Pi 3 or ARMv7 devices (no LCD display)
      • Monero Node for all other devices
      • Monero Tor Network add-on
      • Monero Mining Add-On
  • Hardware
  • Hardened Cold Storage
  • SUPPORT
    • Getting Started
    • Credits and Thanks

Update Your Bitcoin Node to Segwit2x


It's simple as keeps the current blockchain, no need to load from scratch!
This page updated 8th November 2017
Step (1) Stop and remove the old version:

If you have followed my guides previously your Blockchain files will be held in /home/pi/bitcoinData and won't be disturbed as part of this upgrade. When the new version runs it will carry on where your last version left off. The new bitcoin software (as part of it's update) may make changes to the format/layout of the index or re-scan the blockchain on first run which may take up to an hour, but you'll be pleased to know a full blockchain re-download won't be necessary. Just a bit of processing to bring the old blockchain up to speed with the new bitcoin node rules.

It is also worth noting that this update guide will work, (with minor tweaks) for updating your Litecoin, Gamecredits or Dogecoin node. Simply change your folder names as appropriate.






​First login via SSH if you havn't already and stop the currently running node with:

                       bitcoin-cli -datadir=/home/pi/bitcoinData stop
​
Picture

Remove/delete the folder containing previous installations:
                                                   sudo rm -R /usr/local/bin

Then add the folder back in (empty) for the new installation
                                                   sudo mkdir /usr/local/bin
Picture

Step (2) Download the new Bitcoin Client Segwit2x

Go to the "bin" folder we created in our first guide

                                                                                      cd bin

Then                                                                             git clone -b segwit2x https://github.com/btc1/bitcoin.git​
Picture
Note.
*   -b installs the latest stable build. Remove this for newer but potentially unstable versions.

Step (3) Install the New version of the Bitcoin Client
                              cd bitcoin
                             ./autogen.sh
                             ./configure --enable-upnp-default --disable-wallet
                             make

**Note** 'make' took around 2 hours on my last build. It has been recommended to use 'make -j2' as the command as it is quicker. The -j2 flag tells the pi how many cores of it's processor to use in that instruction. The pi has 4 cores available but it is not recommended to use them all for  a task. If you encounter errors just stick with 'make'.

Then 
                             sudo make install
  • The configuration step isn't required. It should keep the old settings as they were held in /home/pi/bitcoinData/bitcoin.conf and not deleted.
  • Your auto-start settings are also still kept and valid, no need to change that either.


So to complete, restart the Pi with:

sudo reboot

You're done!

First run could take approx 1hr to initiate. The new bitcoin version rules may need to be applied to the blockchain indexes/block headers. It takes the Pi some time  to trawl though all of them and make tweaks. In minor version updates this may not be required and so no lead time will be noticed.

Once started the following commands may be usefull:

bitcoin-cli -datadir=/home/pi/bitcoinData getblockchaininfo
Shows sync status, block height, enforced BIPs and more.

bitcoin-cli -datadir=/home/pi/bitcoinData getnetworkinfo
Shows number of connections and whether via IPv4, IPv6 or Tor/Onion network (if enabled)
This command also shows the bitcoin client version number being used.

Other commands may be available depending on configuration
check out 
 https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list for a comprehensive list.
Powered by Create your own unique website with customizable templates.
  • Nodes
    • ALT-Coin Nodes >
      • Ethereum
      • Monero
      • Dogecoin >
        • Dogecoin
        • Dogecoin with display
        • Dogecoin Tor Network
      • Gamecredits >
        • GameCredits
        • Gamecredits with display
        • GameCredits Tor Network
    • Node Add-ons >
      • Wallet Functionality
      • Vanity Address Generators >
        • Bitcoin Vanity Address
        • Litecoin Vanity Address
        • Dogecoin Vanity Address
      • Node stats "Slideshow"
    • Bitcoin Desktop PC Node Software
  • Staking Nodes
    • Dash >
      • Dash - Standard
      • Dash - With LCD display
    • BlackCoin >
      • BlackCoin - Lore
      • BlackCoin - Lore - With LCD display
      • BlackCoin - Lore - Tor enabled
      • BlackCoin - Original
      • BlackCoin - Original - With LCD display
      • BlackCoin - Original - Tor enabled
    • PIVX
    • PinkCoin
    • GoByte >
      • GoByte - Standard
      • GoByte - With LCD display
  • Mining/Data Farming
    • Mining Add-On
    • BurstCoin Mining >
      • Burst Mining Single HDD
      • Burst Mining Multiple HDDs
    • Storj Host (Raspberry Pi)
    • Sia Host (Raspberry Pi)
  • Archive
    • Bitcoin Nodes >
      • With Display >
        • Bitcoin Core With Display
        • Bitcoin Core with display Tor network
        • Bitcoin Cash with display
        • Bitcoin Cash with display Tor network
        • Bitcoin Unlimited with display
        • Bitcoin Unlimited with display Tor network
      • Without Display >
        • Bitcoin Core
        • Bitcoin Core Tor Network
        • Bitcoin Cash
        • Bitcoin Cash Tor Network
        • Bitcoin Unlimited
        • Bitcoin Unlimited Tor Network
      • Update your Node >
        • Latest Core version
    • Litecoin >
      • Litecoin
      • Litecoin with display
      • Litecoin Tor Network
    • Monero >
      • Monero Node for Pi 3 or ARMv7 devices (With LCD display)
      • Monero Node for Pi 3 or ARMv7 devices (no LCD display)
      • Monero Node for all other devices
      • Monero Tor Network add-on
      • Monero Mining Add-On
  • Hardware
  • Hardened Cold Storage
  • SUPPORT
    • Getting Started
    • Credits and Thanks