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

btcsuite / btcd / 8160298701
57%
master: 55%

Build:
Build:
LAST BUILD BRANCH: rpcclient-context-support
DEFAULT BRANCH: master
Ran 05 Mar 2024 05:17PM UTC
Jobs 4
Files 235
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

05 Mar 2024 05:15PM UTC coverage: 56.763% (-0.01%) from 56.776%
8160298701

Pull #2122

github

kcalvinalvin
blockchain: don't rely on BlockHeightByHash for prune height
calculations

Since BlockHeightByHash only returns the heights for blocks that are in
the main chain, when a block that is stale gets pruned, this will cause
an error in the block height lookup and cause an error in block
processing.

Look up the node directly from the index and if the node isn't found,
just skip that node. For utxoCache.lastFlushHash, if that isn't found,
just force a flush.
Pull Request #2122: blockchain: don't rely on BlockHeightByHash for prune height calculations

9 of 23 new or added lines in 1 file covered. (39.13%)

16 existing lines in 4 files now uncovered.

29298 of 51615 relevant lines covered (56.76%)

453391.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 btcutil - 8160298701.1 05 Mar 2024 05:17PM UTC 0
87.22
GitHub Action Run
2 btcd - 8160298701.2 05 Mar 2024 05:17PM UTC 0
52.83
GitHub Action Run
3 btcutilpsbt - 8160298701.3 05 Mar 2024 05:17PM UTC 0
76.43
GitHub Action Run
4 btcec - 8160298701.4 05 Mar 2024 05:17PM UTC 0
87.45
GitHub Action Run
Source Files on build 8160298701
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #2122
  • PR Base - master (#8117173129)
  • 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