mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-24 20:53:07 +02:00
lncfg: add Watchtower config
This commit is contained in:
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
|
||||||
|
}
|
Reference in New Issue
Block a user