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

btcsuite / btcd / 7228331993
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: spellcheck
DEFAULT BRANCH: master
Ran 16 Dec 2023 12:11AM UTC
Jobs 4
Files 229
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 Aug 2023 10:22PM UTC coverage: 56.053% (-0.02%) from 56.07%
7228331993

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%)

14 existing lines in 1 file now uncovered.

28000 of 49953 relevant lines covered (56.05%)

25104.0 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
14
73.72
-0.81% peer/peer.go
Jobs
ID Job ID Ran Files Coverage
1 btcutilpsbt - 7228331993.1 16 Dec 2023 12:12AM UTC 13
76.43
GitHub Action Run
2 btcutil - 7228331993.2 16 Dec 2023 12:12AM UTC 21
87.69
GitHub Action Run
3 btcd - 7228331993.3 16 Dec 2023 12:11AM UTC 180
51.86
GitHub Action Run
4 btcec - 7228331993.4 16 Dec 2023 12:11AM UTC 15
87.45
GitHub Action Run
Source Files on build 7228331993
  • Tree
  • List 229
  • Changed 42
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2023
  • PR Base - master (#7227596643)
  • 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