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

bitcoindevkit / bdk / 24763976659
78%

Build:
DEFAULT BRANCH: master
Ran 22 Apr 2026 06:37AM UTC
Jobs 1
Files 29
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

22 Apr 2026 06:34AM UTC coverage: 77.789% (-0.4%) from 78.142%
24763976659

push

github

evanlinjin
Merge bitcoindevkit/bdk#2115: Add `prev_blockhash` validation to `CheckPoint`

c486ba758 docs: address review feedback on `prev_blockhash` validation (志宇)
031b30fb3 docs(core): address review feedback on docs and tests (志宇)
ef35b1993 fix(chain)!: make genesis immutable in `merge_chains` (志宇)
d8cb41f2c test(core): address review feedback on checkpoint tests (志宇)
9c0453c7d docs(core): Add module-level docs for `checkpoint_entry` (志宇)
3ef6ed866 feat(chain)!: Add `ApplyBlockError` for `prev_blockhash` validation (志宇)
bf6541b43 feat(chain)!: Relax the generic parameter for `LocalChain<D>` (志宇)
19b900648 test(core): add tests for CheckPoint::push and insert methods (志宇)
9971fda53 test(chain): Test `apply_update` with a single `CheckPoint<Header>` (valued mammal)
3df06096f test(chain): make `TestLocalChain` generic and add `prev_blockhash` test (志宇)
c314b2567 fix(chain): `merge_chains` now takes account of `prev_blockhash`es (志宇)
f10ba0ecb fix(core): `Checkpoint::insert` now evicts on `prev_blockhash` mismatch (志宇)
046a771b7 fix(core): `push` now errors on `prev_blockhash` mismatch (志宇)
68d1ef446 feat(core): Initial work on `CheckPointEntry` (志宇)
d4bdff08f feat(core): Add `prev_blockhash` method to `ToBlockHash` trait (志宇)

Pull request description:

  Closes #2021
  Related to #2076
  Replaces #2024
  Replaces #2091

  ### Description

  This PR adds `prev_blockhash` awareness to `CheckPoint`, enabling proper chain validation when merging checkpoint chains that store block headers or similar data with... (continued)

407 of 542 branches covered (75.09%)

Branch coverage included in aggregate %.

169 of 248 new or added lines in 3 files covered. (68.15%)

2 existing lines in 2 files now uncovered.

4412 of 5653 relevant lines covered (78.05%)

3244.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
49
56.64
crates/core/src/checkpoint_entry.rs
27
77.12
-1.03% crates/chain/src/local_chain.rs
3
94.51
-0.97% crates/core/src/checkpoint.rs

Coverage Regressions

Lines Coverage ∆ File
1
77.12
-1.03% crates/chain/src/local_chain.rs
1
94.51
-0.97% crates/core/src/checkpoint.rs
Jobs
ID Job ID Ran Files Coverage
1 24763976659.1 22 Apr 2026 06:37AM UTC 29
77.79
GitHub Action Run
Source Files on build 24763976659
  • Tree
  • List 29
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 86420a2b on github
  • Prev Build on master (#24734670593)
  • Next Build on master (#24844458508)
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