• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lightningnetwork / lnd / 13408822928

19 Feb 2025 08:59AM UTC coverage: 41.123% (-17.7%) from 58.794%
13408822928

Pull #9521

github

web-flow
Merge d2f397b3c into 0e8786348
Pull Request #9521: unit: remove GOACC, use Go 1.20 native coverage functionality

92496 of 224923 relevant lines covered (41.12%)

18825.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lncfg/watchtower.go
1
package lncfg
2

3
import "github.com/lightningnetwork/lnd/watchtower"
4

5
// Watchtower holds the daemon specific configuration parameters for running a
6
// watchtower that shares resources with the daemon.
7
//
8
//nolint:ll
9
type Watchtower struct {
10
        Active bool `long:"active" description:"If the watchtower should be active or not"`
11

12
        TowerDir string `long:"towerdir" description:"Directory of the watchtower.db"`
13

14
        watchtower.Conf
15
}
16

17
// DefaultWatchtowerCfg creates a Watchtower with some default values filled
18
// out.
19
func DefaultWatchtowerCfg(defaultTowerDir string) *Watchtower {
×
20
        conf := watchtower.DefaultConf()
×
21

×
22
        return &Watchtower{
×
23
                TowerDir: defaultTowerDir,
×
24
                Conf:     *conf,
×
25
        }
×
26
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc