Skip to content

Docker-Compose solution for BTX RPC Server and BTX ElectrumX Server

Notifications You must be signed in to change notification settings

dalijolijo/btx-rpc-docker

Repository files navigation

btx-rpc-docker

Installation process

To install docker and docker-compose packages execute install-docker.sh script.

./install-docker.sh

If the server have less than 4GB RAM create a swap file with add-swap.sh

./add-swap.sh 

Start/Stop only BTX RPC node

Start bitcore-rpc with start-bitcore-rpc.sh script

./start-bitcore-rpc.sh

Stop bitcore-rpc with start-bitcore-rpc.sh script

./stop-bitcore-rpc.sh

Start/Stop ElectrumX solution

Start electrumx/bitcore-rpc with start-electrumx.sh script

./start-electrumx.sh

Stop electrumx/bitcore-rpc with stop-electrumx.sh script

./stop-electrumx.sh

Bootstrapping BTX blockchain

Download bootstrap file and replace the old directories (blocks and chainstate) with bootstrapping.sh script

./bootstrapping.sh

Maintenance ElectrumX solution

Stop electrumx/bitcore-rpc with stop-electrumx.sh script

./stop-electrumx.sh

Check status of bitcore-rpc docker with checkstatus.sh script

./checkstatus.sh

Cleanup memory and old docker files with cleanup.sh script

cleanup.sh

Show log files of electrumx/bitcore-rpc docker containers with logs-electrumx.sh script

logs-electrumx.sh

Delete electrumx database if loaded blockchain is on forked chain, use the delete-electrumx-db.sh script

delete-electrumx-db.sh

Flush electrumx database with flush-electrumx-db.sh script

flush-electrumx-db.sh

Troubleshooting ElectrumX solution

Problem: No connection to electrum server eleX.bitcore.cc

Go to your Electrum-btx installation folder and remove the cert file 'eleX.bitcore.cc' in subdir 'electrum-btx_data\cert'

About

Docker-Compose solution for BTX RPC Server and BTX ElectrumX Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published