lncfg: add Watchtower config
This commit is contained in:
parent
c823878154
commit
bd5b8700d8
13
lncfg/watchtower.go
Normal file
13
lncfg/watchtower.go
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user