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

guggero / btcd
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: netsync-simnet-sync-candidate
DEFAULT BRANCH: master
Repo Added 12 Apr 2022 02:05PM UTC
Token LqMC78wwxge4t7A4Td6pTUDCsnI7JunFJ regen
Build 177 Last
Files 361
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

LAST BUILD ON BRANCH netsync-simnet-sync-candidate
branch: netsync-simnet-sync-candidate
CHANGE BRANCH
x
Reset
Sync Branches
  • netsync-simnet-sync-candidate
  • base58-fix
  • bip-322
  • bip-322-oldmodules
  • bip-musig2-psbt
  • bitcoind-v30-error
  • btcec-fix
  • btcec-v2-no-circular-dep
  • build-improvements
  • getnetworkinfo-warnings
  • gettxoutproof
  • gettxoutproof-block-dn
  • integration-harness-fixes
  • master
  • miniscript
  • pow-no-retargeting
  • psbt-export
  • psbt-improvements
  • psbt-serialization-fix
  • psbt-size-check
  • script-builder-alloc
  • silent-payments
  • silent-payments-receive
  • taproot-psbt
  • unit-tests
  • upgrade-v2-scripted-diff
  • v0-23-3-branch

17 Jun 2026 11:45AM UTC coverage: 51.99% (+0.05%) from 51.943%
27686594138

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.

7 of 17 new or added lines in 1 file covered. (41.18%)

257 existing lines in 1 file now uncovered.

36166 of 69564 relevant lines covered (51.99%)

356906.04 hits per line

Relevant lines Covered
Build:
Build:
69564 RELEVANT LINES 36166 COVERED LINES
356906.04 HITS PER LINE
Source Files on netsync-simnet-sync-candidate
  • Tree
  • List 361
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27686594138 netsync-simnet-sync-candidate 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 ad... push 17 Jun 2026 11:48AM UTC guggero github
51.99
27672945366 netsync-simnet-sync-candidate 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 ad... push 17 Jun 2026 07:30AM UTC guggero github
51.94
27423950121 netsync-simnet-sync-candidate 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 ad... push 12 Jun 2026 03:03PM UTC guggero github
51.87
See All Builds (158)

Badge your Repo: btcd

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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