From ed94a8f3b40309e58f46e50a1a9151919eff8620 Mon Sep 17 00:00:00 2001 From: "@RandyMcMillan" Date: Thu, 13 Jul 2023 11:57:56 -0400 Subject: [PATCH 1/2] docs/INSTALL.md: use /Users//.. Make MacOS user path consistent across docs --- docs/INSTALL.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 901ceb5b2..c19073553 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -316,11 +316,11 @@ The set of arguments for each of the backend modes is as follows: ## btcd Options ```text 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//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.rpcuser= Username 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//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. ``` @@ -339,7 +339,7 @@ neutrino: ## Bitcoind Options ```text 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//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.rpcuser= Username 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`. **On MacOS, located at:** -`/Users/[username]/Library/Application Support/Lnd/lnd.conf` +`/Users//Library/Application Support/Lnd/lnd.conf` **On Linux, located at:** `~/.lnd/lnd.conf` From 2b7c9019ebe974750cd3c9eb64e67f844395e601 Mon Sep 17 00:00:00 2001 From: "@RandyMcMillan" Date: Thu, 13 Jul 2023 12:00:08 -0400 Subject: [PATCH 2/2] docs/grpc/java.md: use /Users//.. Make MacOS user path consistent across docs --- docs/grpc/java.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/grpc/java.md b/docs/grpc/java.md index f2381f71a..49535ca57 100644 --- a/docs/grpc/java.md +++ b/docs/grpc/java.md @@ -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 MACAROON_PATH = "/Users/user/Library/Application Support/Lnd/data/chain/bitcoin/simnet/admin.macaroon"; + private static final String CERT_PATH = "/Users//Library/Application Support/Lnd/tls.cert"; + private static final String MACAROON_PATH = "/Users//Library/Application Support/Lnd/data/chain/bitcoin/simnet/admin.macaroon"; private static final String HOST = "localhost"; private static final int PORT = 10009; @@ -197,10 +197,10 @@ $ mvn compile exec:java -Dexec.mainClass="Main" -Dexec.cleanupDaemonThreads=fal [INFO] ------------------------------------------------------------------------ [INFO] [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//Documents/Projects/lightningclient/target/generated-sources/protobuf/java [INFO] [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//Documents/Projects/lightningclient/target/generated-sources/protobuf/grpc-java [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lightning-client --- [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] --- maven-compiler-plugin:3.1:compile (default-compile) @ lightning-client --- [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//Documents/Projects/lightningclient/target/classes [INFO] [INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ lightning-client --- 032562215c38dede6f1f2f262ff4c8db58a38ecf889e8e907eee8e4c320e0b5e81