mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
lncfg: add Watchtower config
This commit is contained in:
parent
c823878154
commit
bd5b8700d8
1 changed files with 13 additions and 0 deletions
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…
Add table
Reference in a new issue