mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
doc: update bitcoin-conf.md
include instructions on how to run the script
This commit is contained in:
parent
1c7e820ded
commit
6aac946f49
1 changed files with 9 additions and 1 deletions
|
@ -61,4 +61,12 @@ Windows | `%APPDATA%\Bitcoin\` | `C:\Users\username\AppData\Roaming\Bitcoin\bitc
|
|||
Linux | `$HOME/.bitcoin/` | `/home/username/.bitcoin/bitcoin.conf`
|
||||
macOS | `$HOME/Library/Application Support/Bitcoin/` | `/Users/username/Library/Application Support/Bitcoin/bitcoin.conf`
|
||||
|
||||
You can find an example bitcoin.conf file in [share/examples/bitcoin.conf](../share/examples/bitcoin.conf).
|
||||
An example configuration file can be generated by [contrib/devtools/gen-bitcoin-conf.sh](../contrib/devtools/gen-bitcoin-conf.sh).
|
||||
Run this script after compiling to generate an up-to-date configuration file.
|
||||
The output is placed under `share/examples/bitcoin.conf`.
|
||||
To use the generated configuration file, copy the example file into your data directory and edit it there, like so:
|
||||
|
||||
```
|
||||
# example copy command for linux user
|
||||
cp share/examples/bitcoin.conf ~/.bitcoin
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue