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

lightningnetwork / lnd / 13974489001

20 Mar 2025 04:32PM UTC coverage: 56.292% (-2.9%) from 59.168%
13974489001

Pull #8754

github

web-flow
Merge aed149e6b into ea050d06f
Pull Request #8754: Add `Outbound` Remote Signer implementation

594 of 1713 new or added lines in 26 files covered. (34.68%)

23052 existing lines in 272 files now uncovered.

105921 of 188165 relevant lines covered (56.29%)

23796.34 hits per line

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

0.0
/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,
NEW
11
        timeout time.Duration) func() error {
×
NEW
12

×
UNCOV
13
        return func() error {
×
NEW
14
                ctxt, cancel := context.WithTimeout(ctx, timeout)
×
NEW
15
                defer cancel()
×
NEW
16

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

×
NEW
21
                        return err
×
NEW
22
                }
×
23

UNCOV
24
                return nil
×
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