From a38d44e3da0a7305f7f3f982c10f75eeb06019df Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Fri, 28 Jun 2019 16:10:56 -0700 Subject: [PATCH] sample-lnd.conf: add watchtower and wtclient sample confs --- sample-lnd.conf | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/sample-lnd.conf b/sample-lnd.conf index 0f38bb15..da515866 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -340,3 +340,51 @@ litecoin.node=ltcd ; This means that multiple applications (other than lnd) using Tor won't be mixed ; in with lnd's traffic. ; tor.streamisolation=1 + +[watchtower] +; Enable integrated watchtower listening on :9911 by default. +; watchtower.active=1 + +; 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 +; be added implicitly. +; All ipv4 on port 9911: +; watchtower.listen=0.0.0.0:9911 +; On all ipv4 interfaces on port 9911 and ipv6 localhost port 9912: +; watchtower.listen=0.0.0.0:9911 +; watchtower.listen=[::1]:9912 + +; Configure the external IP address of your watchtower. Setting this field does +; not have any behavioral changes to the tower or enable any sort of discovery, +; however it will make the full URI (pubkey@host:port) available via +; WatchtowerRPC.GetInfo and `lncli tower info`. +; watchtower.externalip=1.2.3.4 + +; Configure the default watchtower data directory. The default directory is +; data/watchtower relative to the chosen lnddir. This can be useful if one needs +; to move the database to a separate volume with more storage. In the example +; below, the database will be stored at: +; /path/to/towerdir/bitcoin//watchtower.db. +; watchtower.towerdir=/path/to/towerdir + +; Duration the watchtower server will wait for messages to be received before +; hanging up on client connections. +; watchtower.readtimeout=15s + +; Duration the watchtower server will wait for messages to be written before +; hanging up on client connections +; watchtower.writetimeout=15s + +[wtclient] +; Configure the private tower to which lnd will connect to backup encrypted +; justice transactions. The format should be pubkey@host:port, where the port is +; optional and assumed to be 9911 otherwise. At most one private tower URI is +; supported at this time; if none are provided then the watchtower client will +; be inactive. +; wtclient.private-tower-uris= + +; Specify the fee rate with which justice transactions will be signed. This fee +; rate should be chosen as a maximum fee rate one is willing to pay in order to +; sweep funds if a breach occurs while being offline. The fee rate should be +; specified in sat/byte, the default is 10 sat/byte. +; wtclient.sweep-fee-rate=10