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

lightningnetwork / lnd / 14000719599

21 Mar 2025 08:54PM UTC coverage: 58.717% (-10.3%) from 68.989%
14000719599

Pull #8754

github

web-flow
Merge 29f363f18 into 5235f3b24
Pull Request #8754: Add `Outbound` Remote Signer implementation

1562 of 2088 new or added lines in 41 files covered. (74.81%)

28126 existing lines in 464 files now uncovered.

97953 of 166822 relevant lines covered (58.72%)

1.82 hits per line

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

69.23
/lnwallet/rpcwallet/healthcheck.go
1
package rpcwallet
2

3
import (
4
        "context"
5
        "time"
6
)
7

8
// HealthCheck returns a health check function for the given remote signing
9
// configuration.
10
func HealthCheck(ctx context.Context, rs RemoteSignerConnection,
11
        timeout time.Duration) func() error {
3✔
12

3✔
13
        return func() error {
5✔
14
                ctxt, cancel := context.WithTimeout(ctx, timeout)
2✔
15
                defer cancel()
2✔
16

2✔
17
                err := rs.Ping(ctxt, timeout)
2✔
18
                if err != nil {
2✔
NEW
19
                        log.Errorf("Remote signer health check failed: %v", err)
×
20

×
NEW
21
                        return err
×
NEW
22
                }
×
23

24
                return nil
2✔
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