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

btcsuite / btcd / 5932517434
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: spellcheck
DEFAULT BRANCH: master
Ran 21 Aug 2023 11:32PM UTC
Jobs 4
Files 223
Run time 7s
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

21 Aug 2023 10:22PM UTC coverage: 55.393% (+0.02%) from 55.37%
5932517434

Pull #2023

github

kcalvinalvin
btcutil: reuse serialized tx during TxHash

btcutil.Block caches the serialized raw bytes of the block during ibd.
This serialized block bytes includes the serialized tx. The current tx
hash generation will re-serialized the de-serialized tx to create the
raw bytes and it'll only then hash that.

This commit changes the code so that the re-serialization never happens,
saving tons of cpu and memory overhead.
Pull Request #2023: btcutil: reuse serialized tx during TxHash

35 of 57 new or added lines in 2 files covered. (61.4%)

4 existing lines in 1 file now uncovered.

26880 of 48526 relevant lines covered (55.39%)

7838.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
22
75.26
-21.11% btcutil/tx.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
75.26
-21.11% btcutil/tx.go
Jobs
ID Job ID Ran Files Coverage
1 btcutil - 5932517434.1 21 Aug 2023 11:32PM UTC 21
87.69
GitHub Action Run
2 btcd - 5932517434.2 21 Aug 2023 11:32PM UTC 174
50.95
GitHub Action Run
3 btcutilpsbt - 5932517434.3 21 Aug 2023 11:32PM UTC 13
76.43
GitHub Action Run
4 btcec - 5932517434.4 21 Aug 2023 11:32PM UTC 15
87.49
GitHub Action Run
Source Files on build 5932517434
  • Tree
  • List 223
  • Changed 36
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2023
  • Prev Build on master (#5872394378)
  • 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