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

rust-bitcoin / rust-bitcoin / 24566284768
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: 0518-0.32.x-CI-api
DEFAULT BRANCH: master
Ran 17 Apr 2026 12:59PM UTC
Jobs 1
Files 91
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 Apr 2026 12:57PM UTC coverage: 81.814% (-0.01%) from 81.828%
24566284768

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#5921: backport: consensus: Add CompactSize range check to deserialization

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/4a71193a953d9f7280dac2be9f0df83e79d05f7a">4a71193a9<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/9d5cae957a522ce349d151e954b250db56aaf322"> Remove doc_auto_cfg (Tobin C. Harding)
<a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/91a6e640ad8f37b697669f9e993106afeab23fd7">91a6e640a</a><a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/9d5cae957a522ce349d151e954b250db56aaf322"> consensus: Add CompactSize range check to deserialization (Tobin C. Harding)
</a><a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/48ac68d7dfaa1b6166030d6ff47d4b6f2a1732e5">48ac68d7d</a> Update nightly toolchain version (Tobin C. Harding)

Pull request description:

  Manually backport #5697. On `master` the `VarInt` type is gone but the deserialization bug fixed by 5697 exists here none the less.
      
  Add the same range check to `Decodable for VarInt`.


ACKs for top commit:
  apoelstra:
    ACK 4a71193a953d9f7280dac2be9f0df83e79d05f7a; successfully ran local tests


Tree-SHA512: c46ed1b909631f45421ae7bb74a67fef6c5

22 of 25 new or added lines in 6 files covered. (88.0%)

9 existing lines in 3 files now uncovered.

16488 of 20153 relevant lines covered (81.81%)

17692.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.87
0.02% bitcoin/src/consensus/encode.rs
1
46.41
-0.26% bitcoin/src/consensus/serde.rs
1
85.55
-0.1% hashes/src/sha256.rs

Coverage Regressions

Lines Coverage ∆ File
4
87.01
-0.68% bitcoin/src/blockdata/witness.rs
4
85.98
-1.06% bitcoin/src/merkle_tree/block.rs
1
73.36
-0.41% bitcoin/src/bip152.rs
Jobs
ID Job ID Ran Files Coverage
1 24566284768.1 17 Apr 2026 12:59PM UTC 91
81.81
GitHub Action Run
Source Files on build 24566284768
  • Tree
  • List 91
  • Changed 12
  • Source Changed 9
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24566284768
  • 9d5cae95 on github
  • Prev Build on 0.32.x (#22580833495)
  • Next Build on 0.32.x (#24620645764)
  • 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