Run a bitcoin node
It’s raining, in Vancouver
A manual for running bitcoind on bare metal.
- Using the bitcoin-cli, bitcoin-tx, and bitcoin-daemon packages in the official community repository
- Initally was using bitcoin-core in AUR, but there was no benefit and introduced shared lib version mismatches
- Configuration at
allow network requests on LAN
Adventures in systemd
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.
- systemd will auto create an override file and reload the daemon
sudo systemctl edit bitcoind
- unset the settings
[Service] StateDirectory= StateDirectoryMode=