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

starius / btcd
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: rpcclient-fixes
DEFAULT BRANCH: master
Repo Added 17 Feb 2025 12:33AM UTC
Token 5ILN9mPZVT3wGnBQDM1f8CAE8UqiErU8R regen
Build 11 Last
Files 282
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 rpcclient-fixes
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • bip30bypassfix
  • block-count
  • rpcclient-fixes
  • strict-chainhash-parsing
  • strict-chainhash-parsing-1

06 May 2026 10:16PM UTC coverage: 56.916% (+0.6%) from 56.339%
25464229953

push

github

starius
tests: fix stale regtest assumptions after #2467

PR #2467 changed regtest to match Core's BIP34/65/66 activation rules, and
the merged stack carries that (commit cd4e5426 "regtest: align activations
with Bitcoin Core"). Height-1 regtest blocks now need a BIP34-compliant
coinbase height and a post-BIP66 block version.

The failing tests came from commits added after PR #2467 was opened on
December 25, 2025 but before it merged on April 30, 2026:

- c1a46122 ("blockchain: add ProcessBlockHeader")
- f9645f07 ("blockchain: reuse existing header node in maybeAcceptBlock")
- dc6e096c ("netsync: add TestSyncStateMachine for end-to-end IBD sync flow")
- ce094262 ("netsync: add TestStartSyncBlockFallback for block-only sync path")
- 2aae8a6d ("netsync: add TestStartSyncChainCurrent for chain-current noop path")

Because those tests landed later, they kept the old regtest assumptions even
though #2467 had already been authored and tested against the older tree.
Once #2467 finally merged, these newer tests started building invalid regtest
blocks and headers.

Fix them by setting the genesis tip height to 0 before generating descendants,
using Version 4 in the regtest block/header helpers, and encoding the test
coinbase height with a minimal BIP34 push plus padding for the generic coinbase
script-length rule.

32373 of 56879 relevant lines covered (56.92%)

438343.77 hits per line

Relevant lines Covered
Build:
Build:
56879 RELEVANT LINES 32373 COVERED LINES
438343.77 HITS PER LINE
Source Files on bip30bypassfix
  • Tree
  • List 282
  • Changed 27
  • Source Changed 18
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25464229953 rpcclient-fixes tests: fix stale regtest assumptions after #2467 PR #2467 changed regtest to match Core's BIP34/65/66 activation rules, and the merged stack carries that (commit cd4e5426 "regtest: align activations with Bitcoin Core"). Height-1 regtest blocks no... push 06 May 2026 10:18PM UTC starius github
56.92
25357534494 rpcclient-fixes fixup! rpcclient: avoid duplicate batch POST handlers Document the synchronization point before checking the maximum number of concurrent POST requests. The comment explains that the test must first observe one in-flight request so a duplicate h... push 05 May 2026 04:18AM UTC starius github
56.34
24174618672 strict-chainhash-parsing-1 chaincfg/chainhash: add strict parsing Add NewHashFromStrStrict and DecodeStrict for callers that must parse full txids or block hashes exactly. Keep NewHashFromStr and Decode lenient for compatibility, but add NOTE docs steering typical parsing... push 09 Apr 2026 05:47AM UTC starius github
56.1
24164816004 strict-chainhash-parsing-1 chaincfg/chainhash: add strict parsing Add NewHashFromStrStrict and DecodeStrict for callers that must parse full txids or block hashes exactly. Keep NewHashFromStr and Decode lenient for compatibility, but add NOTE docs steering typical parsing... push 08 Apr 2026 11:56PM UTC starius github
56.26
24164802680 strict-chainhash-parsing btcd: harden full-hash parsing Switch full-hash parsing paths to the strict chainhash helpers across RPC, websocket, rpcclient, wire, config, btcjson, dbtool, and related internal callers. This preserves the legacy lenient API for compatibility ... push 08 Apr 2026 11:55PM UTC starius github
56.12
23523959498 rpcclient-fixes rpcclient: avoid duplicate batch POST handlers NewBatch called New() and then called start() again. In HTTP POST mode that created a second sendPostHandler and another shutdown-cancel goroutine, which broke the expected single-flight serializatio... push 25 Mar 2026 03:50AM UTC starius github
56.37
23504378153 rpcclient-fixes rpcclient: avoid duplicate batch POST handlers NewBatch called New() and then called start() again. In HTTP POST mode that created a second sendPostHandler and another shutdown-cancel goroutine, which broke the expected single-flight serializatio... push 24 Mar 2026 05:55PM UTC starius github
56.28
23366784097 rpcclient-fixes rpcclient: avoid duplicate batch POST handlers NewBatch called New() and then called start() again. In HTTP POST mode that created a second sendPostHandler and another shutdown-cancel goroutine, which broke the expected single-flight serializatio... push 20 Mar 2026 11:36PM UTC starius github
55.24
20497327551 bip30bypassfix regtest: align activations with Bitcoin Core Set regtest buried heights to match Core: BIP34/65/66 at height 1 and make CSV/SegWit/Taproot always active. Added regtest coverage for header version floors, coinbase height enforcement, and deploymen... push 25 Dec 2025 02:12AM UTC starius github
55.0
20497137248 bip30bypassfix regtest: align activations with Bitcoin Core Set regtest buried heights to match Core: BIP34/65/66 at height 1 and make CSV/SegWit/Taproot always active. Added regtest coverage for header version floors, coinbase height enforcement, and deploymen... push 25 Dec 2025 01:56AM UTC starius github
55.12
See All Builds (11)

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