You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Use 'curl -sSL https://get.daocloud.io/docker | sh' instead of this line
# when your server is in China.
wget -qO- https://get.docker.com/ | sh
service docker start
service docker status
Build Docker Images
cd /work
git clone https://github.com/btccom/btcpool.git
cd btcpool/docker/united-bitcoin/v2.2.0.3
# If your server is in China, please check "Dockerfile" and uncomment some lines.
# If you want to enable testnet3, please uncomment several lines behind `# service for testnet3`
# build
docker build -t united-bitcoin:2.2.0.3 .
# docker build --no-cache -t united-bitcoin:2.2.0.3 .
# mkdir for united-bitcoin
mkdir -p /work/united-bitcoin
# bitcoin.conf
touch /work/united-bitcoin/bitcoin.conf
bitcoin.conf example
rpcuser=bitcoinrpc
# generate random rpc password:
# $ strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 30 | tr -d '\n'; echo
rpcpassword=xxxxxxxxxxxxxxxxxxxxxxxxxx
rpcthreads=4
rpcallowip=172.16.0.0/12
rpcallowip=192.168.0.0/16
rpcallowip=10.0.0.0/8
# use 1G memory for utxo, depends on your machine's memory
dbcache=1000