Merge pull request #7831 from bitcoincore-dev/1689264113/6e68c3b2b/afbc9c629-consistent-username

docs: Make MacOS user path consistent across docs
This commit is contained in:
Oliver Gugger authored and GitHub committed 2023-07-17 14:12:22 +02:00
commit cbb1d943b2
2 files changed
+9 -9

No files matched your search

+4 -4
View File
@@ -316,11 +316,11 @@ The set of arguments for each of the backend modes is as follows:
## btcd Options ## btcd Options
```text ```text
btcd: btcd:
--btcd.dir= The base directory that contains the node's data, logs, configuration file, etc. (default: /Users/roasbeef/Library/Application Support/Btcd) --btcd.dir= The base directory that contains the node's data, logs, configuration file, etc. (default: /Users/<username>/Library/Application Support/Btcd)
--btcd.rpchost= The daemon's rpc listening address. If a port is omitted, then the default port for the selected chain parameters will be used. (default: localhost) --btcd.rpchost= The daemon's rpc listening address. If a port is omitted, then the default port for the selected chain parameters will be used. (default: localhost)
--btcd.rpcuser= Username for RPC connections --btcd.rpcuser= Username for RPC connections
--btcd.rpcpass= Password for RPC connections --btcd.rpcpass= Password for RPC connections
--btcd.rpccert= File containing the daemon's certificate file (default: /Users/roasbeef/Library/Application Support/Btcd/rpc.cert) --btcd.rpccert= File containing the daemon's certificate file (default: /Users/<username>/Library/Application Support/Btcd/rpc.cert)
--btcd.rawrpccert= The raw bytes of the daemon's PEM-encoded certificate chain which will be used to authenticate the RPC connection. --btcd.rawrpccert= The raw bytes of the daemon's PEM-encoded certificate chain which will be used to authenticate the RPC connection.
``` ```
@@ -339,7 +339,7 @@ neutrino:
## Bitcoind Options ## Bitcoind Options
```text ```text
bitcoind: bitcoind:
--bitcoind.dir= The base directory that contains the node's data, logs, configuration file, etc. (default: /Users/roasbeef/Library/Application Support/Bitcoin) --bitcoind.dir= The base directory that contains the node's data, logs, configuration file, etc. (default: /Users/<username>/Library/Application Support/Bitcoin)
--bitcoind.rpchost= The daemon's rpc listening address. If a port is omitted, then the default port for the selected chain parameters will be used. (default: localhost) --bitcoind.rpchost= The daemon's rpc listening address. If a port is omitted, then the default port for the selected chain parameters will be used. (default: localhost)
--bitcoind.rpcuser= Username for RPC connections --bitcoind.rpcuser= Username for RPC connections
--bitcoind.rpcpass= Password for RPC connections --bitcoind.rpcpass= Password for RPC connections
@@ -596,7 +596,7 @@ launches, allowing you to simply type `lnd --bitcoin.testnet --bitcoin.active`
at the command line, you can create an `lnd.conf`. at the command line, you can create an `lnd.conf`.
**On MacOS, located at:** **On MacOS, located at:**
`/Users/[username]/Library/Application Support/Lnd/lnd.conf` `/Users/<username>/Library/Application Support/Lnd/lnd.conf`
**On Linux, located at:** **On Linux, located at:**
`~/.lnd/lnd.conf` `~/.lnd/lnd.conf`
+5 -5
View File
@@ -149,8 +149,8 @@ public class Main {
} }
} }
private static final String CERT_PATH = "/Users/user/Library/Application Support/Lnd/tls.cert"; private static final String CERT_PATH = "/Users/<username>/Library/Application Support/Lnd/tls.cert";
private static final String MACAROON_PATH = "/Users/user/Library/Application Support/Lnd/data/chain/bitcoin/simnet/admin.macaroon"; private static final String MACAROON_PATH = "/Users/<username>/Library/Application Support/Lnd/data/chain/bitcoin/simnet/admin.macaroon";
private static final String HOST = "localhost"; private static final String HOST = "localhost";
private static final int PORT = 10009; private static final int PORT = 10009;
@@ -197,10 +197,10 @@ $ mvn compile exec:java -Dexec.mainClass="Main" -Dexec.cleanupDaemonThreads=fal
[INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------
[INFO] [INFO]
[INFO] --- protobuf-maven-plugin:0.6.1:compile (default) @ lightning-client --- [INFO] --- protobuf-maven-plugin:0.6.1:compile (default) @ lightning-client ---
[INFO] Compiling 3 proto file(s) to /Users/user/Documents/Projects/lightningclient/target/generated-sources/protobuf/java [INFO] Compiling 3 proto file(s) to /Users/<username>/Documents/Projects/lightningclient/target/generated-sources/protobuf/java
[INFO] [INFO]
[INFO] --- protobuf-maven-plugin:0.6.1:compile-custom (default) @ lightning-client --- [INFO] --- protobuf-maven-plugin:0.6.1:compile-custom (default) @ lightning-client ---
[INFO] Compiling 3 proto file(s) to /Users/user/Documents/Projects/lightningclient/target/generated-sources/protobuf/grpc-java [INFO] Compiling 3 proto file(s) to /Users/<username>/Documents/Projects/lightningclient/target/generated-sources/protobuf/grpc-java
[INFO] [INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lightning-client --- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lightning-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered resources.
@@ -210,7 +210,7 @@ $ mvn compile exec:java -Dexec.mainClass="Main" -Dexec.cleanupDaemonThreads=fal
[INFO] [INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lightning-client --- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lightning-client ---
[INFO] Changes detected - recompiling the module! [INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /Users/user/Documents/Projects/lightningclient/target/classes [INFO] Compiling 12 source files to /Users/<username>/Documents/Projects/lightningclient/target/classes
[INFO] [INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ lightning-client --- [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ lightning-client ---
032562215c38dede6f1f2f262ff4c8db58a38ecf889e8e907eee8e4c320e0b5e81 032562215c38dede6f1f2f262ff4c8db58a38ecf889e8e907eee8e4c320e0b5e81