Merge pull request #108 from positiveblue/config-passphrase

config: make `sample-conf.yaml` less error prone
This commit is contained in:
Oliver Gugger
2024-02-12 03:35:48 -06:00
committed by GitHub

View File

@@ -26,6 +26,17 @@ profile: 9999
# Settings for the lnd node used to generate payment requests. All of these # Settings for the lnd node used to generate payment requests. All of these
# options are required. # options are required.
authenticator: authenticator:
## Common fields.
# The chain network the lnd is active on.
network: "simnet"
# Set to true to disable any auth.
disable: false
## Direct LND connection fields.
# The host:port which lnd's RPC can be reached at. # The host:port which lnd's RPC can be reached at.
lndhost: "localhost:10009" lndhost: "localhost:10009"
@@ -35,11 +46,14 @@ authenticator:
# The path to lnd's macaroon directory. # The path to lnd's macaroon directory.
macdir: "/path/to/lnd/data/chain/bitcoin/simnet" macdir: "/path/to/lnd/data/chain/bitcoin/simnet"
# The chain network the lnd is active on.
network: "simnet" ## LNC connection fields.
# The LNC connection passphrase. # The LNC connection passphrase.
passphrase: "my-own-passphrase" # NOTE: The passphrase generates a secret for authenticating the LNC
# connection. Once a passphrase has been utilized for a connection, it
# cannot be reused in a different server/database.
passphrase: "your pairing phrase"
# The host:port of the mailbox server to be used. # The host:port of the mailbox server to be used.
mailboxaddress: "mailbox.terminal.lightning.today:443" mailboxaddress: "mailbox.terminal.lightning.today:443"
@@ -47,9 +61,7 @@ authenticator:
# Set to true to skip verification of the mailbox server's tls cert. # Set to true to skip verification of the mailbox server's tls cert.
devserver: false devserver: false
# Set to true to disable any auth.
disable: false
# The selected database backend. The current default backend is "sqlite". # The selected database backend. The current default backend is "sqlite".
# Aperture also has support for postgres and etcd. # Aperture also has support for postgres and etcd.
dbbackend: "sqlite" dbbackend: "sqlite"