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

LBRYFoundation / lbcd / 40616818509
51%
master: 52%

Build:
Build:
LAST BUILD BRANCH: backmerge-trial
DEFAULT BRANCH: master
Ran 28 Oct 2026 01:47AM UTC
Jobs 1
Files 197
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

28 Oct 2026 01:43AM UTC coverage: 51.114% (+0.007%) from 51.107%
40616818509

Pull #5

github

bitcoinbrisbane
Fix claim trie rebuild exhausting memory after unclean shutdown

When the claim trie is behind the block chain, rebuildMissingClaimTrieData
replayed every block from genesis into a single UtxoViewpoint to recover
the historical outputs spent by the missing blocks. On mainnet that grows
to tens of GB and runs the node out of memory, even when the trie is only
a few hundred blocks behind.

Build the view for each missing block from its spend journal entry
instead, which already records the outputs the block spent, and only
replay the blocks above the claim trie height. Memory use is now constant
and catching up 276 blocks takes seconds.

The replay also exposed a second problem: the claim trie's repos are
written independently, so an unclean shutdown can leave the node repo
holding changes for blocks the block repo never recorded. Replaying those
blocks applied their changes twice and failed the claim hash check. Drop
node changes above the claim trie height before replaying.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #5: Fix claim trie rebuild exhausting memory after unclean shutdown

19 of 74 new or added lines in 4 files covered. (25.68%)

2 existing lines in 2 files now uncovered.

22529 of 44076 relevant lines covered (51.11%)

82470.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
58.54
-1.01% blockchain/chain.go
7
62.31
-1.39% claimtrie/node/manager.go
7
75.9
6.67% claimtrie/node/noderepo/pebble.go
4
72.48
-0.9% claimtrie/claimtrie.go

Coverage Regressions

Lines Coverage ∆ File
1
58.54
-1.01% blockchain/chain.go
1
75.84
0.08% peer/peer.go
Jobs
ID Job ID Ran Files Coverage
1 40616818509.1 28 Oct 2026 01:47AM UTC 197
51.11
GitHub Action Run
Source Files on build 40616818509
  • Tree
  • List 197
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #5
  • PR Base - master-old (#29643909787)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc