Merge pull request #5448 from xanoni/sample-lnd-conf-cleanup

sample-lnd.conf: remove duplicate setting and clean up section separators
This commit is contained in:
Olaoluwa Osuntokun 2021-07-09 14:37:32 -07:00 committed by GitHub
commit 7e4b2b82f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -122,7 +122,6 @@
; into account.
; payments-expiration-grace-period=30
; Specify the interfaces to listen on for p2p connections. One listen
; address per line.
; All ipv4 on port 9735:
@ -159,7 +158,6 @@
; policy of the REST RPC proxy.
; restcors=https://my-special-site.com
; Adding an external IP will advertise your node to the network. This signals
; that your node is available to accept incoming channels. If you don't wish to
; advertise your node, this value doesn't need to be set. Unless specified
@ -179,9 +177,6 @@
; support devices behind multiple NATs.
; nat=true
; Disable listening for incoming peer connections.
; nolisten=true
; Disable REST API.
; norest=true
@ -520,6 +515,7 @@ bitcoin.node=btcd
; bitcoin.dnsseed=seed1.test.lightning
; bitcoin.dnsseed=seed2.test.lightning,soa.seed2.test.lightning
[Btcd]
; The base directory that contains the node's data, logs, configuration file,
@ -586,6 +582,7 @@ bitcoin.node=btcd
; pruned blocks from. This only applies to pruned nodes.
; bitcoind.pruned-node-max-peers=4
[neutrino]
; Connect only to the specified peers at startup. This creates a persistent
@ -641,6 +638,7 @@ bitcoin.node=btcd
; Neutrino is used. (default: false)
; neutrino.validatechannels=false
[Litecoin]
; If the Litecoin chain should be active. Atm, only a single chain can be
@ -718,6 +716,7 @@ litecoin.node=ltcd
; litecoin.dnsseed=seed1.test-ltc.lightning
; litecoin.dnsseed=seed2.test-ltc.lightning,soa.seed2.test-ltc.lightning
[Ltcd]
; The base directory that contains the node's data, logs, configuration file,
@ -784,6 +783,7 @@ litecoin.node=ltcd
; pruned blocks from. This only applies to pruned nodes.
; litecoind.pruned-node-max-peers=4
[autopilot]
; If the autopilot agent should be active or not. The autopilot agent will
@ -822,6 +822,7 @@ litecoin.node=ltcd
; 3)
; autopilot.conftarget=2
[tor]
; Allow outbound and inbound connections to be routed through Tor
; tor.active=true
@ -866,7 +867,9 @@ litecoin.node=ltcd
;The path to the private key of the watchtower onion service being created
; tor.watchtowerkeypath=/other/path/
[watchtower]
; Enable integrated watchtower listening on :9911 by default.
; watchtower.active=true
@ -900,7 +903,9 @@ litecoin.node=ltcd
; hanging up on client connections
; watchtower.writetimeout=15s
[wtclient]
; Activate Watchtower Client. To get more information or configure watchtowers
; run `lncli wtclient -h`.
; wtclient.active=true
@ -916,7 +921,9 @@ litecoin.node=ltcd
; supported at this time, if none are provided the tower will not be enabled.
; wtclient.private-tower-uris=
[healthcheck]
; The number of times we should attempt to query our chain backend before
; gracefully shutting down. Set this value to 0 to disable this health check.
; healthcheck.chainbackend.attempts=3
@ -968,22 +975,27 @@ litecoin.node=ltcd
; This value must be >= 1m.
; healthcheck.tls.interval=1m
[signrpc]
; Path to the signer macaroon.
; signrpc.signermacaroonpath=~/.lnd/data/chain/bitcoin/simnet/signer.macaroon
[walletrpc]
; Path to the wallet kit macaroon.
; walletrpc.walletkitmacaroonpath=~/.lnd/data/chain/bitcoin/simnet/walletkit.macaroon
[chainrpc]
; Path to the chain notifier macaroon.
; chainrpc.notifiermacaroonpath=~/.lnd/data/chain/bitcoin/simnet/chainnotifier.macaroon
[routerrpc]
; Minimum required route success probability to attempt the payment (default:
; 0.01)
; routerrpc.minrtprob=1
@ -1014,7 +1026,9 @@ litecoin.node=ltcd
; Path to the router macaroon
; routerrpc.routermacaroonpath=~/.lnd/data/chain/bitcoin/simnet/router.macaroon
[workers]
; Maximum number of concurrent read pool workers. This number should be
; proportional to the number of peers. (default: 100)
; workers.read=200
@ -1027,6 +1041,7 @@ litecoin.node=ltcd
; proportional to the number of CPUs on the host. (default: 8)
; workers.sig=4
[caches]
; Maximum number of entries contained in the reject cache, which is used to speed
@ -1039,7 +1054,9 @@ litecoin.node=ltcd
; roughly 2Kb. (default: 20000)
; caches.channel-cache-size=9000000
[protocol]
; If set, then lnd will create and accept requests for channels larger than 0.16
; BTC
; protocol.wumbo-channels=true
@ -1050,7 +1067,9 @@ litecoin.node=ltcd
; (Deprecates the previous "protocol.anchors" setting.)
; protocol.no-anchors=true
[db]
; The selected database backend. The current default backend is "bolt". lnd
; also has experimental support for etcd, a replicated backend.
; db.backend=bolt
@ -1059,7 +1078,9 @@ litecoin.node=ltcd
; a batch of modifications to disk. Defaults to 500 milliseconds.
; db.batch-commit-interval=500ms
[etcd]
; Etcd database host.
; db.etcd.host=localhost:2379
@ -1097,7 +1118,9 @@ litecoin.node=ltcd
; If non zero, LND will use this as peer port for the embedded etcd instance.
; db.etcd.embedded_peer_port=1235
[cluster]
; Enables leader election if set.
; cluster.enable-leader-election=true
@ -1111,7 +1134,9 @@ litecoin.node=ltcd
; Defaults to the hostname.
; cluster.id=example.com
[bolt]
; If true, prevents the database from syncing its freelist to disk.
; db.bolt.nofreelistsync=1
@ -1130,7 +1155,9 @@ litecoin.node=ltcd
; Specify the timeout to be used when opening the database.
; db.bolt.dbtimeout=60s
[gossip]
; Specify a set of pinned gossip syncers, which will always be actively syncing
; whenever the corresponding peer is online. A pinned syncer does not count
; towards the configured `numgraphsyncpeers` since pinned syncers are not
@ -1152,7 +1179,9 @@ litecoin.node=ltcd
; gossip.max-channel-update-burst=10
; gossip.channel-update-interval=1m
[invoices]
; If a hold invoice has accepted htlcs that reach their expiry height and are
; not timed out, the channel holding the htlc is force closed to resolve the
; invoice's htlcs. To prevent force closes, lnd automatically cancels these
@ -1172,7 +1201,9 @@ litecoin.node=ltcd
;
; invoices.holdexpirydelta=15
[routing]
; DEPRECATED: This is now turned on by default for Neutrino (use
; neutrino.validatechannels=true to turn off) and shouldn't be used for any
; other backend!