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

guggero / btcd / 27672945366
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: netsync-simnet-sync-candidate
DEFAULT BRANCH: master
Ran 17 Jun 2026 07:30AM UTC
Jobs 9
Files 361
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

17 Jun 2026 07:27AM UTC coverage: 51.943% (+0.07%) from 51.869%
27672945366

push

github

guggero
netsync: require block-serving services on regtest/simnet sync peers

Commit 26124d275 made every peer a sync candidate on regtest and
simnet so that nodes on non-localhost networks (e.g. Docker bridge
networks) can be synced from. Dropping the address requirement was
the intent, but the change also dropped the service-flag requirement,
so light clients became eligible sync peers.

A light client (e.g. neutrino) advertises a recent best height but
can serve neither headers nor blocks. Electing one as the sync peer
stalls the sync until the stall handler disconnects it, and with
other light client connections present the next one is elected and
stalls again, livelocking the sync indefinitely. This surfaced in
neutrino's sync tests, where a btcd simnet node connected to both a
neutrino instance and other btcd nodes never synced.

Keep accepting any peer address on regtest/simnet, but require the
peer to signal SFNodeNetwork or SFNodeNetworkLimited like on any
other network.

10 of 10 new or added lines in 1 file covered. (100.0%)

285 existing lines in 3 files now uncovered.

36138 of 69572 relevant lines covered (51.94%)

350666.66 hits per line

Coverage Regressions

Lines Coverage ∆ File
266
37.03
0.0% netsync/manager.go
14
67.28
5.18% rpcclient/infrastructure.go
5
72.27
-0.34% peer/peer.go
Jobs
ID Job ID Ran Files Coverage
1 btcec - 27672945366.1 17 Jun 2026 07:30AM UTC 18
78.4
GitHub Action Run
2 wire - 27672945366.2 17 Jun 2026 07:30AM UTC 41
85.31
GitHub Action Run
3 chainhash - 27672945366.3 17 Jun 2026 07:30AM UTC 2
82.21
GitHub Action Run
4 txscript - 27672945366.4 17 Jun 2026 07:30AM UTC 78
56.95
GitHub Action Run
5 chaincfg - 27672945366.5 17 Jun 2026 07:30AM UTC 43
8.88
GitHub Action Run
6 address - 27672945366.6 17 Jun 2026 07:30AM UTC 56
17.34
GitHub Action Run
7 btcutil - 27672945366.7 17 Jun 2026 07:30AM UTC 93
23.23
GitHub Action Run
8 psbt - 27672945366.8 17 Jun 2026 07:30AM UTC 99
21.42
GitHub Action Run
9 btcd - 27672945366.9 17 Jun 2026 07:30AM UTC 250
41.23
GitHub Action Run
Source Files on build 27672945366
  • Tree
  • List 361
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27672945366
  • 61f58aac on github
  • Prev Build on netsync-simnet-sync-candidate (#27423950121)
  • Next Build on netsync-simnet-sync-candidate (#27686594138)
  • 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