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

btcsuite / btcd / 27794794665
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: fix/psbt-trailing-bytes
DEFAULT BRANCH: master
Ran 18 Jun 2026 11:08PM UTC
Jobs 9
Files 363
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

18 Jun 2026 11:06PM UTC coverage: 51.803% (-0.004%) from 51.807%
27794794665

Pull #2554

github

Roasbeef
btcutil: vendor anet instead of depending on a personal fork

In this commit, we vendor the Android networking shim that backs
InterfaceAddrs on android into the btcutil module, rather than
importing it from github.com/kcalvinalvin/anet. The shim works around
golang/go#40569, where net.InterfaceAddrs fails with
"route ip+net: netlinkrib: permission denied" on Android 11 and later
because of the tightened restrictions on NETLINK sockets. btcutil only
ever calls anet.InterfaceAddrs, wired in from net_android.go under the
android build tag.

The motivation is dependency hygiene. The previous import pointed at a
fork hosted under an individual contributor's account, which is not a
home we want a release dependency to live in. By copying the source
into internal/anet we drop the external module entirely: the package is
now unimportable from outside btcutil, and go.mod no longer references
the fork.

The source originates from github.com/wlynxg/anet, and its BSD 3-Clause
LICENSE travels with it. Unlike upstream, this copy does not reach into
the standard library's net package via //go:linkname; it carries its
own ipv6ZoneCache, so no -ldflags "-checklinkname=0" linker flag is
needed to build it. When golang/go#40569 is resolved upstream, both
this package and the net_android.go shim can be removed.
Pull Request #2554: btcutil: vendor anet instead of depending on a personal fork

0 of 13 new or added lines in 2 files covered. (0.0%)

36075 of 69639 relevant lines covered (51.8%)

354221.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
0.0
btcutil/internal/anet/interface.go
3
0.0
btcutil/internal/anet/android_api_level.go
Jobs
ID Job ID Ran Files Coverage
1 address - 27794794665.1 18 Jun 2026 11:08PM UTC 56
17.34
GitHub Action Run
2 txscript - 27794794665.2 18 Jun 2026 11:08PM UTC 78
56.93
GitHub Action Run
3 chaincfg - 27794794665.3 18 Jun 2026 11:08PM UTC 43
8.88
GitHub Action Run
4 wire - 27794794665.4 18 Jun 2026 11:08PM UTC 41
85.31
GitHub Action Run
5 psbt - 27794794665.5 18 Jun 2026 11:08PM UTC 99
21.42
GitHub Action Run
6 btcutil - 27794794665.6 18 Jun 2026 11:08PM UTC 95
23.21
GitHub Action Run
7 btcd - 27794794665.7 18 Jun 2026 11:08PM UTC 250
41.07
GitHub Action Run
8 chainhash - 27794794665.8 18 Jun 2026 11:08PM UTC 2
82.21
GitHub Action Run
9 btcec - 27794794665.9 18 Jun 2026 11:08PM UTC 18
78.4
GitHub Action Run
Source Files on build 27794794665
  • Tree
  • List 363
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27794794665
  • Pull Request #2554
  • PR Base - master (#27794439134)
  • 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

© 2026 Coveralls, Inc