From bd5b8700d80981bc138ccc655b5202601b927212 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 13 Jun 2019 17:31:17 -0700 Subject: [PATCH] lncfg: add Watchtower config --- lncfg/watchtower.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lncfg/watchtower.go diff --git a/lncfg/watchtower.go b/lncfg/watchtower.go new file mode 100644 index 00000000..d03d3695 --- /dev/null +++ b/lncfg/watchtower.go @@ -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 +}