lncfg: add Watchtower config

This commit is contained in:
Conner Fromknecht 2019-06-13 17:31:17 -07:00
parent c823878154
commit bd5b8700d8
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

13
lncfg/watchtower.go Normal file
View File

@ -0,0 +1,13 @@
package lncfg
import "github.com/lightningnetwork/lnd/watchtower"
// Watchtower holds the daemon specific configuration parameters for running a
// watchtower that shares resources with the daemon.
type Watchtower struct {
Active bool `long:"active" description:"If the watchtower should be active or not"`
TowerDir string `long:"towerdir" description:"Directory of the watchtower.db"`
watchtower.Conf
}