File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1515
1616## Quick start
1717
18- Requires that [ Docker be installed] ( https://docs.docker.com/engine/installation / ) on the host machine.
18+ Requires that [ Docker be installed] ( https://docs.docker.com/install / ) on the host machine.
1919
20- ```
20+ ``` bash
2121# Create some directory where your bitcoin data will be stored.
2222$ mkdir /home/youruser/bitcoin_data
2323
@@ -65,7 +65,7 @@ restart
6565policies] ( https://docs.docker.com/config/containers/start-containers-automatically/#use-a-restart-policy ) ,
6666but if you're insistent on using systemd, you could do something like
6767
68- ```
68+ ``` bash
6969$ cat /etc/systemd/system/bitcoind.service
7070
7171# bitcoind.service #######################################################################
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if [ ! -e "${BITCOIN_CONF}" ]; then
1414# For documentation on the config file, see
1515#
1616# the bitcoin source:
17- # https://github.com/bitcoin/bitcoin/blob/master/contrib/debian /examples/bitcoin.conf
17+ # https://github.com/bitcoin/bitcoin/blob/master/share /examples/bitcoin.conf
1818# the wiki:
1919# https://en.bitcoin.it/wiki/Running_Bitcoin
2020
@@ -44,8 +44,14 @@ disablewallet=${BTC_DISABLEWALLET:-1}
4444# Enable an on-disk txn index. Allows use of getrawtransaction for txns not in
4545# mempool.
4646txindex=${BTC_TXINDEX:- 0}
47+
48+ # Run on the test network instead of the real bitcoin network.
4749testnet=${BTC_TESTNET:- 0}
50+
51+ # Set database cache size in MiB
4852dbcache=${BTC_DBCACHE:- 512}
53+
54+ # ZeroMQ notification options:
4955zmqpubrawblock=${BTC_ZMQPUBRAWBLOCK:- tcp:// 0.0.0.0: 28333}
5056zmqpubrawtx=${BTC_ZMQPUBRAWTX:- tcp:// 0.0.0.0: 28333}
5157zmqpubhashtx=${BTC_ZMQPUBHASHTX:- tcp:// 0.0.0.0: 28333}
You can’t perform that action at this time.
0 commit comments