Last week I bought a Raspberry Pi 3 (model B) to set up a proof of concept of a Blockchain connection to IoT devices (but that’s another story) …
Some time ago I read http://www.raspberrypifullnode.com/ and decided, to give it a try now.
This posting will not repeat everything from David’s article, just the changes from then (2014) to now (9/2017).
Micro SD card: The Bitcoin blockchain has a size of around 145 GByte at the moment, which leaves a 256 GB cards as an option, if you really want to store the complete blockchain …
During the first boot, I connected a monitor and a keyboard, then configured the WiFi and activated the ssh deamon using
I had a fully working system, which I could control with Putty (and WinSCP).
Now I followed David’s article, but had to apply some changes due to changes in the Bitcoin source. After updating and upgrading with
sudo apt-get update
sudo apt-get upgrade
I installed the dependencies …
sudo apt-get install build-essential autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev libtool libevent-dev
… and then downloaded the current version (branch 0.15) of the Bitcoin source:
git clone -b 0.15 https://github.com/bitcoin/bitcoin.git
The building took „some“ time …
sudo make install
… but in the end everything was OK.
Remark: I chose to build the node with –disable-wallet, as I did not care to run a wallet on the system. See the discussion here concerning Berkley DB 4.8 and incompatible wallet formats …
After starting the deamon with
it started to connect to other nodes and sync the blockchain …
Voilà – all up and running 😉