Merge pull request #3882 from philippgille/feature/fix-unclear-bools-in-config

config: Make bools in sample-lnd.conf consistent
This commit is contained in:
Olaoluwa Osuntokun 2020-01-06 17:59:44 -08:00 committed by GitHub
commit a0c5d965a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,7 @@
; Example configuration for lnd.
;
; Boolean values can be specified as true/false or 1/0.
[Application Options] [Application Options]
; The directory that lnd stores all wallet, chain, and channel related data ; 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 ; Disable listening for incoming p2p connections. This will override all
; listeners. ; listeners.
; nolisten=1 ; nolisten=true
; Specify the interfaces to listen on for gRPC connections. One listen ; Specify the interfaces to listen on for gRPC connections. One listen
; address per line. ; address per line.
@ -131,7 +135,7 @@
; If true, then automatic network bootstrapping will not be attempted. This ; 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 ; means that your node won't attempt to automatically seek out peers on the
; network. ; network.
; nobootstrap=1 ; nobootstrap=true
; The smallest channel size (in satoshis) that we should accept. Incoming ; The smallest channel size (in satoshis) that we should accept. Incoming
; channels smaller than this will be rejected, default value 20000. ; 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 ; If the Bitcoin chain should be active. Atm, only a single chain can be
; active. ; active.
bitcoin.active=1 bitcoin.active=true
; Use Bitcoin's test network. ; Use Bitcoin's test network.
; bitcoin.testnet=1 ; bitcoin.testnet=true
; ;
; Use Bitcoin's simulation test network ; Use Bitcoin's simulation test network
bitcoin.simnet=1 bitcoin.simnet=true
; Use Bitcoin's regression test network ; Use Bitcoin's regression test network
; bitcoin.regtest=false ; bitcoin.regtest=false
@ -245,10 +249,10 @@ bitcoin.node=btcd
; If the Litecoin chain should be active. Atm, only a single chain can be ; If the Litecoin chain should be active. Atm, only a single chain can be
; active. ; active.
; litecoin.active=1 ; litecoin.active=true
; Use Litecoin's test network. ; Use Litecoin's test network.
; litecoin.testnet=1 ; litecoin.testnet=true
; Use the ltcd back-end ; Use the ltcd back-end
litecoin.node=ltcd litecoin.node=ltcd
@ -313,7 +317,7 @@ litecoin.node=ltcd
; If the autopilot agent should be active or not. The autopilot agent will ; 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 ; attempt to automatically open up channels to put your node in an advantageous
; position within the network graph. ; position within the network graph.
; autopilot.active=1 ; autopilot.active=true
; The maximum number of channels that should be created. ; The maximum number of channels that should be created.
; autopilot.maxchannels=5 ; autopilot.maxchannels=5
@ -339,11 +343,11 @@ litecoin.node=ltcd
; connection. With this mode active, each connection will use a new circuit. ; 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 ; This means that multiple applications (other than lnd) using Tor won't be mixed
; in with lnd's traffic. ; in with lnd's traffic.
; tor.streamisolation=1 ; tor.streamisolation=true
[watchtower] [watchtower]
; Enable integrated watchtower listening on :9911 by default. ; 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 ; 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 ; listen address per line. If no port is specified the default port of 9911 will