2021.12.25

Bitcoind

Run a bitcoin node

It’s raining, in Vancouver

A manual for running bitcoind on bare metal.

Software

rpcallowip=192.168.1.0/24
rpcbind=0.0.0.0

allow network requests on LAN

Adventures in systemd

The packaged bitcoind.service unit file sets a STATE DIRECTORY with a mode that is used by the exec statement as the data dir. This hold the blockchain so I keep it off on a separate hdd. There is a symlink from /var/lib/bitcoind => /data/bitcoind. The symlink throws off systemd’s start up process though (guessing cause it can’t set the mode). I think the least invasive way to keep most of the supplied logic is to override just those settings.

sudo systemctl edit bitcoind
[Service]
StateDirectory=
StateDirectoryMode=