Bitcoin Cash Node

Install the GUI

Install the bitcoin-cash-node package.

RHEL 8 / Fedora dnf install bitcoin-cash-node
RHEL 7 yum install bitcoin-cash-node

Install the Server

Use the Bitcoin Cash server to run a wallet server as a system service. The Bitcoin Cash server distributed here is protected by SELinux and has some other slight differences you should be aware of.

When started from the system inititalization script, bitcoind stores all of its files in /var/lib/bitcoin instead of $HOME/.bitcoin and its configuration file is located at /etc/bitcoin/bitcoin.conf. This change was necessary to ensure that SELinux policies could be applied to them with maximum security. In particular, some system services may be allowed to access /home, and this change helps to ensure that such services, if compromised, cannot access the Bitcoin Cash wallet.

Note that when you install or update the Bitcoin Cash server, the installation may take an additional minute or so while its SELinux policies are being rebuilt on your system.

  1. Install the bitcoin-cash-node-server package.
    RHEL 8 / Fedora dnf install bitcoin-cash-node-server
    RHEL 7 yum install bitcoin-cash-node-server
  2. Set an RPC password for the server by creating or editing /etc/bitcoin/bitcoin.conf as root. rpcpassword=a_more_secure_password_than_this_one
  3. Set the Bitcoin Cash server to start at boot time. Run systemctl enable bitcoin.
  4. If desired, start the Bitcoin Cash server immediately. Run systemctl start bitcoin. Note that the Bitcoin Cash server will not start if an RPC password is not set as shown above.

Install the Command Line Utilities

The bitcoin-cli command line program connects to a remote Bitcoin Cash server via RPC. You need to provide the RPC password in your user configuration file $HOME/.bitcoin/bitcoin.conf. You can also explicitly point to the global configuration file with -conf /etc/bitcoin/bitcoin.conf, but as this requires being root it is not recommended.

The bitcoin-tx command line program creates and modifies transactions.

Both of these programs are in the bitcoin-cash-node-utils package.

Install the bitcoin-cash-node-utils package.

RHEL 8 / Fedora dnf install bitcoin-cash-node-utils
RHEL 7 yum install bitcoin-cash-node-utils

Install the Consensus Library

Developers who wish to use the libbitcoinconsensus library introduced with 0.10.0 can install the bitcoin-cash-node-devel package to gain access to this library and the header files needed to use it.

Install the bitcoin-cash-node-devel package.

RHEL 8 / Fedora dnf install bitcoin-cash-node-devel
RHEL 7 yum install bitcoin-cash-node-devel