Setup
Set up your Bitcoin node
1. Install Bitcoin Core and verify it
Download the Linux release from bitcoincore.org together with SHA256SUMS and SHA256SUMS.asc, check the hash and the signatures, then install the binaries:
sha256sum --ignore-missing --check SHA256SUMS
tar -xzf bitcoin-*-x86_64-linux-gnu.tar.gz
sudo install -m 0755 bitcoin-*/bin/* /usr/local/bin/
2. Configure the node
Create a dedicated bitcoin user and put the settings in ~/.bitcoin/bitcoin.conf:
server=1
txindex=1 # needed by Fulcrum; electrs does not need it
dbcache=16000 # MB, for the initial sync; lower it once synced
3. Run it as a service
Bitcoin Core’s source tree provides a systemd unit, contrib/init/bitcoind.service. Copy it to /etc/systemd/system/, adjust the user and paths, then start the node and follow the sync with bitcoin-cli getblockchaininfo:
sudo systemctl enable --now bitcoind
bitcoin-cli getblockchaininfo | grep -E 'blocks|verificationprogress'