Skip to content

Commit 3ada0fb

Browse files
committed
docs: misc cleanups/changes
1 parent 7f5ad07 commit 3ada0fb

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ fixed.
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
6565
policies](https://docs.docker.com/config/containers/start-containers-automatically/#use-a-restart-policy),
6666
but 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 #######################################################################

bin/docker_entrypoint.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
4646
txindex=${BTC_TXINDEX:-0}
47+
48+
# Run on the test network instead of the real bitcoin network.
4749
testnet=${BTC_TESTNET:-0}
50+
51+
# Set database cache size in MiB
4852
dbcache=${BTC_DBCACHE:-512}
53+
54+
# ZeroMQ notification options:
4955
zmqpubrawblock=${BTC_ZMQPUBRAWBLOCK:-tcp://0.0.0.0:28333}
5056
zmqpubrawtx=${BTC_ZMQPUBRAWTX:-tcp://0.0.0.0:28333}
5157
zmqpubhashtx=${BTC_ZMQPUBHASHTX:-tcp://0.0.0.0:28333}

0 commit comments

Comments
 (0)