Upgrading a BitSeed Node to Bitcoin Classic

I wanted to see if I could get my BitSeed Full Node running Bitcoin Classic.  It turns out that its easy to do.

Log in using the supplied username and password, then make sure you have all the prerequisite build software:

linaro@bitseed:~$ sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

Some of the software may already be installed.  I’ve used my node for other things too, so I only needed libevent-dev, your mileage may vary.  Git clone the Bitcoin Classic GitHub repository:

linaro@bitseed:~$ git clone https://github.com/bitcoinclassic/bitcoinclassic.git

Change directory to the newly created bitcoinclassic folder then run autogen, configure and make to build the software:

linaro@bitseed:~$ cd bitcoinclassic
linaro@bitseed:~$ git checkout v0.11.2.cl1.b1
linaro@bitseed:~/bitcoinclassic$ ./autogen.sh && ./configure && make

Then get ready to perform the old-switcharoo by first changing back to your home directory:

linaro@bitseed:~/bitcoinclassic$ cd ~

Then stopping the current bitcoind process:

linaro@bitseed:~$ ./btcstop.sh

Once its stopped, move the old Bitcoin Core software somewhere safe in case you decide to switch back:

linaro@bitseed:~$ mv bitcoin-cli bitcoin-cli.core
linaro@bitseed:~$ mv bitcoind bitcoind.core

Then move the new Bitcoin Classic software to your home directory:

linaro@bitseed:~$ mv bitcoinclassic/src/bitcoind .
linaro@bitseed:~$ mv bitcoinclassic/src/bitcoin-cli .

Finally, start the bitcoind processes, this time using Classic:

linaro@bitseed:~$ ./btcstart.sh

Once its finished checking the blockchain you should be able to see your new software using ./btcinfo.sh:

linaro@bitseed:~$ ./btcinfo.sh
{
 "version": 129900,
 "protocolversion": 70012,
 "walletversion": 60000,
 "balance": 0.00233482,
 "blocks": 396154,
 "timeoffset": 0,
 "connections": 15,
 "proxy": "",
 "difficulty": 120033340651.237,
 "testnet": false,
 "keypoololdest": 1434935723,
 "keypoolsize": 101,
 "paytxfee": 0.00000000,
 "relayfee": 0.00001000,
 "errors": "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
}
device ip: 192.168.1.172
Mon Feb 1 15:05:59 UTC 2016

To switch back simply stop the bitcoind process and switch the binaries back:

linaro@bitseed:~$ ./btcstop.sh

Once its stopped, move the new Bitcoin Classic software somewhere safe again:

linaro@bitseed:~$ mv bitcoin-cli bitcoin-cli.classic
linaro@bitseed:~$ mv bitcoind bitcoind.classic

Then move the old Bitcoin Core software:

linaro@bitseed:~$ mv bitcoind.core bitcoind
linaro@bitseed:~$ mv bitcoin-cli.core bitcoin-cli

Finally, start the bitcoind processes, this time using Core again:

linaro@bitseed:~$ ./btcstart.sh

No warranties come with this guide!  Use it at your own risk!

EDIT: I forgot to include git checkout v0.11.2.cl1.b1, but I’ve I’ve revised the post to include this.

Facebooktwittergoogle_plusredditmail

One thought on “Upgrading a BitSeed Node to Bitcoin Classic

Leave a Reply