Compiling a Bitcoin Node from Source on a Raspberry Pi

High Level Steps

  • Install the latest Raspberry Pi OS (64-bit if you have more than 4 GB of RAM)
  • Install some tools (pydf, htop, screen)
  • Set up your USB drive and mount it automatically on reboot
  • Clone the Bitcoin source
  • Install build dependencies
  • Build runtime dependencies from source
  • Run ./autogen.sh
  • Run ./configure with the --prefix param
  • Run make
  • Set up the datadir in bitcoin.conf to point to the usb
  • Let 'er rip