Created
August 25, 2015 04:21
-
-
Save andychase/f3dd6a40c0f93c455c47 to your computer and use it in GitHub Desktop.
Tesing Bitcoin XT Part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Route port in range to 8333 | |
for i in $(seq 40000 41000) | |
do echo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport $i -j REDIRECT --to-port 8333 && | |
echo -n "." | |
done | |
# Create bitcoin data volume | |
docker run --name=bitcoind-data -v /bitcoin busybox chown 1000:1000 /bitcoin | |
# Spin up Bitcoin XT node | |
docker run --volumes-from=bitcoind-data --name=bitcoind-node -d \ | |
-p 8333:8333 \ | |
-p 127.0.0.1:8332:8332 \ | |
5an1ty/bitcoinxt \ | |
btc_oneshot -maxconnections=800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment