From b6ea7d5f6cd8b240fb40e84223d696039ce6801e Mon Sep 17 00:00:00 2001 From: Philipp Gille Date: Sun, 29 Dec 2019 14:12:06 +0100 Subject: [PATCH] config: Make bools in sample-lnd.conf consistent --- sample-lnd.conf | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/sample-lnd.conf b/sample-lnd.conf index 22b80a06..a66edb95 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -1,3 +1,7 @@ +; Example configuration for lnd. +; +; Boolean values can be specified as true/false or 1/0. + [Application Options] ; The directory that lnd stores all wallet, chain, and channel related data @@ -68,7 +72,7 @@ ; Disable listening for incoming p2p connections. This will override all ; listeners. -; nolisten=1 +; nolisten=true ; Specify the interfaces to listen on for gRPC connections. One listen ; address per line. @@ -131,7 +135,7 @@ ; If true, then automatic network bootstrapping will not be attempted. This ; means that your node won't attempt to automatically seek out peers on the ; network. -; nobootstrap=1 +; nobootstrap=true ; The smallest channel size (in satoshis) that we should accept. Incoming ; channels smaller than this will be rejected, default value 20000. @@ -150,13 +154,13 @@ ; If the Bitcoin chain should be active. Atm, only a single chain can be ; active. -bitcoin.active=1 +bitcoin.active=true ; Use Bitcoin's test network. -; bitcoin.testnet=1 +; bitcoin.testnet=true ; ; Use Bitcoin's simulation test network -bitcoin.simnet=1 +bitcoin.simnet=true ; Use Bitcoin's regression test network ; bitcoin.regtest=false @@ -245,10 +249,10 @@ bitcoin.node=btcd ; If the Litecoin chain should be active. Atm, only a single chain can be ; active. -; litecoin.active=1 +; litecoin.active=true ; Use Litecoin's test network. -; litecoin.testnet=1 +; litecoin.testnet=true ; Use the ltcd back-end litecoin.node=ltcd @@ -313,7 +317,7 @@ litecoin.node=ltcd ; If the autopilot agent should be active or not. The autopilot agent will ; attempt to automatically open up channels to put your node in an advantageous ; position within the network graph. -; autopilot.active=1 +; autopilot.active=true ; The maximum number of channels that should be created. ; autopilot.maxchannels=5 @@ -339,11 +343,11 @@ litecoin.node=ltcd ; connection. With this mode active, each connection will use a new circuit. ; This means that multiple applications (other than lnd) using Tor won't be mixed ; in with lnd's traffic. -; tor.streamisolation=1 +; tor.streamisolation=true [watchtower] ; Enable integrated watchtower listening on :9911 by default. -; watchtower.active=1 +; watchtower.active=true ; Specify the interfaces to listen on for watchtower client connections. One ; listen address per line. If no port is specified the default port of 9911 will