multi: add default watchtower config to main LND config
In this commit, a `DefaultWatchtowerCfg` function is added which is used to construct a default `lncfg.Watchtower` struct. This is then used to populate the default watchtower config in the main LND config struct.
This commit is contained in:
3 files changed
+20
-3
No files matched your search
@@ -638,9 +638,7 @@ func DefaultConfig() Config {
|
||||
ChannelCacheSize: channeldb.DefaultChannelCacheSize,
|
||||
},
|
||||
Prometheus: lncfg.DefaultPrometheus(),
|
||||
Watchtower: &lncfg.Watchtower{
|
||||
TowerDir: defaultTowerDir,
|
||||
},
|
||||
Watchtower: lncfg.DefaultWatchtowerCfg(defaultTowerDir),
|
||||
HealthChecks: &lncfg.HealthCheckConfig{
|
||||
ChainCheck: &lncfg.CheckConfig{
|
||||
Interval: defaultChainInterval,
|
||||
|
||||
Reference in new issue
Block a user