Run a Bitcoin Node
This guide is written for running a Glittr node on testnet4, on a linux-based system.
Requirements
Download or build bitcoind
Install via Bitcoin Core: https://bitcoin.org/en/download
Or build from source: https://github.com/bitcoin/bitcoin
Create a new "bitcoind" user on your machine:
Make a new empty directory
Bitcoin Config
Put your bitcoin.conf
file on /home/bitcoind/.bitcoin/bitcoin.conf
note: rpcauth can be generated by using this script https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py
Running the bitcoin node
Change the user to "bitcoind"
Run bitcoind
You may want to run the bitcoind as a service using systemd, the following is an example for the systemd configuration file (put it inside `/etc/systemd/system/`)
And then, run the following to start the service
Last updated