Skip to content

dappnode/DAppNodePackage-bitcoin

Repository files navigation

Bitcoin DAppNode package

DAppNodeStore Available

This package makes it easy to deploy a bitcoin node in a DAppNode, for this purpose the bitcoind daemon is used.

Prerequisites

  • git

    Install git commandline tool.

  • docker

    Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group, sudo usermod -aG docker $USER. Once you update the users group, exit from the current terminal and open a new one to make effect.

  • docker-compose

    Install docker-compose

Note: Make sure you can run git, docker ps, docker-compose without any issue and without sudo command.

Building

docker-compose build

Running

Start

docker-compose up -d

View logs

docker-compose logs -f

Stop

docker-compose down

Environment variables

You can edit the docker-compose.yml and add extra options, such as:

| name | default |
| ---- | ------- |
| BTC_RPCUSER | dappnode |
| BTC_RPCPASSWORD | dappnode |
| BTC_TXINDEX | 0 |
| BTC_PRUNE | 0 |
| BTC_DISABLEWALLET | 1 |

by default BTC_TXINDEX is 0, but the installation of the DAppNodePackage will set this value to 1, since it's a recommended value for other applications. BTC_PRUNE is 0 by default. Enable blockchain prunning by setting it to a
value larger than 550 (550Mb) , for example BTC_PRUNE=30000 to maintain only 30Gb of full blockchain data.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

Note

This is early stage software

About

DAppNode package for bitcoin full node daemon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 13