From e95e8ece4a26440a402c0c7ef6ecb86d0ad35f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C5=82odarek?= Date: Thu, 21 Feb 2019 15:12:44 +0100 Subject: [PATCH] Update config file examples --- docs/interacting/monero-config-file.md | 34 +++++++++++++++++++++++--- mkdocs.yml | 4 +-- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/docs/interacting/monero-config-file.md b/docs/interacting/monero-config-file.md index 268db0b..c7aa9ea 100644 --- a/docs/interacting/monero-config-file.md +++ b/docs/interacting/monero-config-file.md @@ -27,7 +27,11 @@ The `--config-file` option is available for: ## Reference -All command line options work as configuration file options. See [monerod reference](/interacting/monerod-reference). +All configuration options are the same as command line options for the binary. + +* [monerod reference](/interacting/monerod-reference) +* [monero-wallet-cli reference](/interacting/monero-wallet-cli-reference) +* [monero-wallet-rpc reference](/interacting/monero-wallet-rpc-reference) Skip the `--` from `--option-name`. @@ -40,12 +44,16 @@ translates to: log-level=4 stagenet=1 # use value "1" to enable the value-less options like --stagenet -## Example +## Examples - # /etc/monerod.conf +### `monerod.conf` + +This config is tailored for production server usage. + + # /etc/monero/monerod.conf # Data directory (blockchain db and indices) - data-dir=/home/monero/.monero + data-dir=/home/monero/.monero # Remember to create the monero user first # Log file log-file=/var/log/monero/monerod.log @@ -74,3 +82,21 @@ translates to: limit-rate-up=1048576 # 1048576 kB/s == 1GB/s; a raise from default 2048 kB/s; contribute more to p2p network limit-rate-down=1048576 # 1048576 kB/s == 1GB/s; a raise from default 8192 kB/s; allow for faster initial sync + +### `monero-wallet-cli.conf` + +This config is tailored for desktop usage on [stagenet](/infrastructure/networks). + + # $HOME/.bitmonero/stagenet/monero-wallet-cli.conf + + # Pick network + stagenet=1 + + # Connect to a remote full node + daemon-address=monero-stagenet.exan.tech:38081 + untrusted-daemon=1 + + # Log file + log-file=/tmp/monero-wallet-cli.log + + # wallet-file=/home/YOUR-USER/.bitmonero/stagenet/wallets/MoneroExampleStagenetWallet diff --git a/mkdocs.yml b/mkdocs.yml index 782069c..b963ac5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -9,13 +9,13 @@ nav: - Interacting: - Download: 'interacting/download-monero-binaries.md' - Verify: 'interacting/verify-monero-binaries.md' - - Overview: 'interacting/overview.md' - - Config: 'interacting/monero-config-file.md' + - What is what overview: 'interacting/overview.md' - monerod: 'interacting/monerod-reference.md' - monero-wallet-cli: 'interacting/monero-wallet-cli-reference.md' - monero-wallet-gui: 'interacting/monero-wallet-gui-reference.md' - monero-blockchain-export: 'interacting/monero-blockchain-export-reference.md' - monero-blockchain-import: 'interacting/monero-blockchain-import-reference.md' + - Config file: 'interacting/monero-config-file.md' - Technical specs: 'technical-specs.md' - Cryptography: - Introduction: 'cryptography/introduction.md'