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

btcsuite / btcd / 7284089562
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: spellcheck
DEFAULT BRANCH: master
Ran 21 Dec 2023 04:45AM UTC
Jobs 4
Files 232
Run time 13s
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 Dec 2023 04:43AM UTC coverage: 56.626% (+0.02%) from 56.608%
7284089562

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

45 of 71 new or added lines in 2 files covered. (63.38%)

1 existing line in 1 file now uncovered.

28660 of 50613 relevant lines covered (56.63%)

488590.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
26
72.82
-23.55% btcutil/tx.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.27
-0.35% connmgr/connmanager.go
Jobs
ID Job ID Ran Files Coverage
1 btcec - 7284089562.1 21 Dec 2023 04:45AM UTC 15
87.45
GitHub Action Run
2 btcutil - 7284089562.2 21 Dec 2023 04:45AM UTC 21
87.41
GitHub Action Run
3 btcutilpsbt - 7284089562.3 21 Dec 2023 04:45AM UTC 13
76.43
GitHub Action Run
4 btcd - 7284089562.4 21 Dec 2023 04:45AM UTC 183
52.59
GitHub Action Run
Source Files on build 7284089562
  • Tree
  • List 232
  • Changed 38
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2023
  • PR Base - master (#7278303266)
  • 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