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

btcsuite / btcd / 11741038287
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: spellcheck
DEFAULT BRANCH: master
Ran 08 Nov 2024 11:27AM UTC
Jobs 4
Files 238
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Nov 2024 11:10AM UTC coverage: 57.254% (+0.02%) from 57.235%
11741038287

Pull #2269

github

same-id
Fix non-root hosts failing on resolving DNS

A fix for a bug introduced by #2168

Previously, config.Host worked in the following way:
1. Documented as supporting ip addresses only
2. In fact supported "host/path" syntax
3. Did not support "scheme" prefixes, i.e. https://

Not sure this is the desired approach, probably the best thing would
have been to extend config to contain "Scheme" and "Path" fields as well.

However, this was the way it worked.

1. Now Host can contain scheme prefixes "unix://..."
2. Host can no longer contain ".../path"

This PR solves this behavior while maintaining support of the "unix://" flow
as well.

For some reason, "scheme" is named "network" in #2168 - I did not change that.

Also remove disambiguation in "network:address:port", where it parsed
"myhost:8888" as network:address instead address:port.
Pull Request #2269: Fix non-root hosts failing on resolving DNS

22 of 50 new or added lines in 1 file covered. (44.0%)

2 existing lines in 1 file now uncovered.

29890 of 52206 relevant lines covered (57.25%)

461638.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
28
39.96
0.88% rpcclient/infrastructure.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
39.96
0.88% rpcclient/infrastructure.go
Jobs
ID Job ID Ran Files Coverage
1 btcutilpsbt - 11741038287.1 08 Nov 2024 11:27AM UTC 13
76.48
GitHub Action Run
2 btcutil - 11741038287.2 08 Nov 2024 11:27AM UTC 21
87.22
GitHub Action Run
3 btcd - 11741038287.3 08 Nov 2024 11:27AM UTC 189
53.45
GitHub Action Run
4 btcec - 11741038287.4 08 Nov 2024 11:27AM UTC 15
86.5
GitHub Action Run
Source Files on build 11741038287
  • Tree
  • List 238
  • Changed 58
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2269
  • PR Base - master (#11704113837)
  • Delete
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