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

KarpelesLab / libwallet / 24377250747
25%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 02:21AM UTC
Jobs 1
Files 67
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

14 Apr 2026 02:12AM UTC coverage: 25.723% (-1.0%) from 26.733%
24377250747

push

github

MagicalTux
add BTC transaction sending + fix CI macOS headerpad

## Phase 4.4: BTC transaction building and sending
- New wlttx/bitcoin.go: builds Bitcoin-family transactions using
  outscript's BtcTx (not modchain_maketx — avoids signature-length quirks)
- UTXO fetch: modchain_lookupTxoBIP32(xpub, "m/0", unspent=true)
- Coin selection: greedy largest-first with fee-aware loop
- Fee estimation: estimatesmartfee RPC, fallback 10 sat/vB
- Change address: next clean m/1/i derived locally
- Per-input TSS signing via btcInputSigner (crypto.Signer) which
  combines the account IL with the input's derivation path IL
  (m/{chain}/{index}) so the TSS produces a valid child-key signature
- BCH uses sighash 0x41 (SIGHASH_ALL | SIGHASH_FORKID); others use 1
- Broadcast via sendrawtransaction

## wlttx/transaction.go
- bitcoin_transfer validated and routed to buildBitcoinTx
- SignAndSend: new bitcoin branch that calls buildBitcoinTx + broadcast

## CI fix
- test-host job now builds the local c-shared dylib with
  -headerpad_max_install_names so dart test's install_name_tool
  rewriting works (was failing on macos-latest runners).

Still TODO: real testnet validation of TSS signatures for BTC.
Compilation is clean and all existing tests pass.

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

0 of 276 new or added lines in 2 files covered. (0.0%)

1878 of 7301 relevant lines covered (25.72%)

3.23 hits per line

Uncovered Changes

Lines Coverage ∆ File
252
0.0
wlttx/bitcoin.go
24
0.0
0.0% wlttx/transaction.go
Jobs
ID Job ID Ran Files Coverage
1 24377250747.1 14 Apr 2026 02:21AM UTC 67
25.72
GitHub Action Run
Source Files on build 24377250747
  • Tree
  • List 67
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24377250747
  • 1569998a on github
  • Prev Build on master (#24375689045)
  • Next Build on master (#24377343053)
  • 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