Skip to content

Commit f4f593d

Browse files
authored
Merge pull request #108 from positiveblue/config-passphrase
config: make `sample-conf.yaml` less error prone
2 parents 066cd55 + 2145b4a commit f4f593d

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

sample-conf.yaml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ profile: 9999
2626
# Settings for the lnd node used to generate payment requests. All of these
2727
# options are required.
2828
authenticator:
29+
## Common fields.
30+
31+
# The chain network the lnd is active on.
32+
network: "simnet"
33+
34+
# Set to true to disable any auth.
35+
disable: false
36+
37+
38+
## Direct LND connection fields.
39+
2940
# The host:port which lnd's RPC can be reached at.
3041
lndhost: "localhost:10009"
3142

@@ -35,21 +46,22 @@ authenticator:
3546
# The path to lnd's macaroon directory.
3647
macdir: "/path/to/lnd/data/chain/bitcoin/simnet"
3748

38-
# The chain network the lnd is active on.
39-
network: "simnet"
40-
49+
50+
## LNC connection fields.
51+
4152
# The LNC connection passphrase.
42-
passphrase: "my-own-passphrase"
53+
# NOTE: The passphrase generates a secret for authenticating the LNC
54+
# connection. Once a passphrase has been utilized for a connection, it
55+
# cannot be reused in a different server/database.
56+
passphrase: "your pairing phrase"
4357

4458
# The host:port of the mailbox server to be used.
4559
mailboxaddress: "mailbox.terminal.lightning.today:443"
4660

4761
# Set to true to skip verification of the mailbox server's tls cert.
4862
devserver: false
4963

50-
# Set to true to disable any auth.
51-
disable: false
52-
64+
5365
# The selected database backend. The current default backend is "sqlite".
5466
# Aperture also has support for postgres and etcd.
5567
dbbackend: "sqlite"

0 commit comments

Comments
 (0)