Bitcoin cash: Bitcoin ABC server builds (no GUI, no wallet)
1.2K
Builds: bitcoin-abc:latest - v0.18.3 bitcoin-abc:v0.18.3
How to use:
Create persistent volume for blockchain
$ docker volume create bitcoin-cash-data
Create Dockerfile
FROM bitaps/bitcoin-abc:latest RUN mkdir /data COPY bitcoin.conf . ENTRYPOINT ["bitcoind", "-conf=/bitcoin.conf"]
Create bitcoin.conf file in same folder
datadir=/data server=1 upnp=1 listen=1 txindex=1 printtoconsole=1 maxconnections=100 upnp=1 externalip=SERVER_IP bind=SERVER_IP:8333 rpcuser=USER_NAME rpcpassword=PASSWORD rpctimeout=30 rpcthreads=200 rpcallowip=RPC_ALLOWED_IP rpcallowip=RPC_ALLOWED_IP rpcbind=SERVER_IP:8332 rpcbind=127.0.0.1:8332 maxorphantx=1000 maxmempool=500 zmqpubhashblock=tcp://SERVER_IP:8900 zmqpubrawtx=tcp://SERVER_IP:8900
Build docker image:
$ sudo docker build -t bitcoin-cash-mainnet .
Start container with autostart
$ sudo docker run --name bitcoin-cash-mainnet --net=host --restart=always -v bitcoin-cash-data:/data -it bitcoin-cash-mainnet
Content type
Image
Digest
Size
831.4 MB
Last updated
over 7 years ago
docker pull bitaps/bitcoin-abc