Skip to content

Commit 6aac946

Browse files
committed
doc: update bitcoin-conf.md
include instructions on how to run the script
1 parent 1c7e820 commit 6aac946

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

doc/bitcoin-conf.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,12 @@ Windows | `%APPDATA%\Bitcoin\` | `C:\Users\username\AppData\Roaming\Bitcoin\bitc
6161
Linux | `$HOME/.bitcoin/` | `/home/username/.bitcoin/bitcoin.conf`
6262
macOS | `$HOME/Library/Application Support/Bitcoin/` | `/Users/username/Library/Application Support/Bitcoin/bitcoin.conf`
6363

64-
You can find an example bitcoin.conf file in [share/examples/bitcoin.conf](../share/examples/bitcoin.conf).
64+
An example configuration file can be generated by [contrib/devtools/gen-bitcoin-conf.sh](../contrib/devtools/gen-bitcoin-conf.sh).
65+
Run this script after compiling to generate an up-to-date configuration file.
66+
The output is placed under `share/examples/bitcoin.conf`.
67+
To use the generated configuration file, copy the example file into your data directory and edit it there, like so:
68+
69+
```
70+
# example copy command for linux user
71+
cp share/examples/bitcoin.conf ~/.bitcoin
72+
```

0 commit comments

Comments
 (0)