Changeset View
Changeset View
Standalone View
Standalone View
doc/ecash-conf.md
- This file was moved from doc/bitcoin-conf.md.
# `bitcoin.conf` Configuration File | # `ecash.conf` Configuration File | ||||
The configuration file is used by `bitcoind`, `bitcoin-qt` and `bitcoin-cli`. | The configuration file is used by `ecashd`, `ecash-qt` and `ecash-cli`. | ||||
All command-line options (except for `-?`, `-help`, `-version` and `-conf`) may be specified in a configuration file, and all configuration file options (except for `includeconf`) may also be specified on the command line. Command-line options override values set in the configuration file and configuration file options override values set in the GUI. | All command-line options (except for `-?`, `-help`, `-version` and `-conf`) may be specified in a configuration file, and all configuration file options (except for `includeconf`) may also be specified on the command line. Command-line options override values set in the configuration file and configuration file options override values set in the GUI. | ||||
## Configuration File Format | ## Configuration File Format | ||||
The configuration file is a plain text file and consists of `option=value` entries, one per line. Leading and trailing whitespaces are removed. | The configuration file is a plain text file and consists of `option=value` entries, one per line. Leading and trailing whitespaces are removed. | ||||
In contrast to the command-line usage: | In contrast to the command-line usage: | ||||
Show All 30 Lines | |||||
regtest.rpcport=3000 | regtest.rpcport=3000 | ||||
[regtest] | [regtest] | ||||
rpcport=4000 | rpcport=4000 | ||||
``` | ``` | ||||
## Configuration File Path | ## Configuration File Path | ||||
The configuration file is not automatically created; you can create it using your favorite text editor. By default, the configuration file name is `bitcoin.conf` and it is located in the Bitcoin data directory, but both the Bitcoin data directory and the configuration file path may be changed using the `-datadir` and `-conf` command-line options. | The configuration file is not automatically created; you can create it using your favorite text editor. By default, the configuration file name is `ecash.conf` and it is located in the Bitcoin data directory, but both the Bitcoin data directory and the configuration file path may be changed using the `-datadir` and `-conf` command-line options. | ||||
The `includeconf=<file>` option in the `bitcoin.conf` file can be used to include additional configuration files. | The `includeconf=<file>` option in the `ecash.conf` file can be used to include additional configuration files. | ||||
### Default configuration file locations | ### Default configuration file locations | ||||
Operating System | Data Directory | Example Path | Operating System | Data Directory | Example Path | ||||
-- | -- | -- | -- | -- | -- | ||||
Windows | `%APPDATA%\Bitcoin\` | `C:\Users\username\AppData\Roaming\Bitcoin\bitcoin.conf` | Windows | `%APPDATA%\eCash\` | `C:\Users\username\AppData\Roaming\eCash\ecash.conf` | ||||
Linux | `$HOME/.bitcoin/` | `/home/username/.bitcoin/bitcoin.conf` | Linux | `$HOME/.ecash/` | `/home/username/.ecash/ecash.conf` | ||||
macOS | `$HOME/Library/Application Support/Bitcoin/` | `/Users/username/Library/Application Support/Bitcoin/bitcoin.conf` | macOS | `$HOME/Library/Application Support/eCash/` | `/Users/username/Library/Application Support/eCash/eCash.conf` | ||||
You can find an example bitcoin.conf file in [contrib/debian/examples/bitcoin.conf](../contrib/debian/examples/bitcoin.conf). | You can find an example ecash.conf file in [contrib/debian/examples/ecash.conf](../contrib/debian/examples/ecash.conf). | ||||
Lint: Dead link: The link is invalid, check for syntax error or missing target |
The link is invalid, check for syntax error or missing target