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

KarpelesLab / libwallet / 25315969566
24%

Build:
DEFAULT BRANCH: master
Ran 04 May 2026 11:26AM UTC
Jobs 1
Files 113
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

04 May 2026 10:28AM UTC coverage: 20.929% (+0.04%) from 20.891%
25315969566

push

github

MagicalTux
wlttx/bitcoin: collapse to a single UTXO fetcher (modchain_assets)

Two parallel fetchers were one too many. fetchBitcoinAllUTXOs
(modchain_assets) already returned everything needed: the txo
ref, the path (so we know which signing key to derive),
the script type (so we know the input vsize), and the amount.
The per-path fetchBitcoinUTXOs (modchain_lookupTxoBIP32) was
only kept around for change-index discovery via lookupTxo's
per-path lastI field — but that's derivable from the same
data: walk the unspent set's m/1 entries, max+1.

Drops:
  - the per-path modchain_lookupTxoBIP32 wrapper
  - the bitcoinTxoResp struct (unused after the wrapper goes)
  - the second RPC call buildBitcoinTx and simulate's dry-run
    were making to discover the next change index

Renames fetchBitcoinAllUTXOs → fetchBitcoinUTXOs (only one
fetcher, no need to disambiguate). New nextChangeIndex(utxos)
helper does the m/1 max-index walk; documented caveat about
fully-spent change history landing back at 0.

Tests pin the change-index walk and the txid byte order from
the previous commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

9 of 18 new or added lines in 4 files covered. (50.0%)

12 existing lines in 2 files now uncovered.

3196 of 15271 relevant lines covered (20.93%)

123.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
16.86
1.32% wlttx/bitcoin.go
3
0.58
0.0% wlttx/simulate.go
1
3.3
0.0% wlttx/btc_listutxos.go
1
13.51
-0.25% wlttx/maxsendable.go

Coverage Regressions

Lines Coverage ∆ File
8
13.51
-0.25% wlttx/maxsendable.go
4
16.86
1.32% wlttx/bitcoin.go
Jobs
ID Job ID Ran Files Coverage
1 25315969566.1 04 May 2026 11:26AM UTC 113
20.93
GitHub Action Run
Source Files on build 25315969566
  • Tree
  • List 113
  • Changed 6
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25315969566
  • 356fb57a on github
  • Prev Build on master (#25302114988)
  • Next Build on master (#25316426799)
  • 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