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

BitGo / rust-bitcoin / 20298601911
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: bitcoin-0.32.8-bitgo.1
DEFAULT BRANCH: master
Ran 17 Dec 2025 09:50AM UTC
Jobs 1
Files 92
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

17 Dec 2025 09:49AM UTC coverage: 83.254%. First build
20298601911

push

github

OttoAllmendinger
feat(crypto): add FORKID sighash support for altcoins

Add support for Bitcoin Cash/Ecash, Bitcoin Gold and other FORKID-based
coins by implementing BIP143-style sighash algorithm with fork ID
support. This allows:

1. Handling transactions with SIGHASH_FORKID flag (0x40)
2. Computing correct FORKID sighashes with (fork_id << 8 | sighash_type)
3. Signing PSBTs with BCH/BTG forkid support via new sign_forkid method

The implementation preserves raw sighash types in Signature.sighash_type
field while providing methods to extract the standard base type.
PSBT deserialization now accepts any sighash byte for better compatibility.

Tests include:
- BCH test vectors for FORKID sighash computation
- BitGo cross-chain PSBT fixtures for Bitcoin and altcoins

Issue: BTC-2656

Co-authored-by: llm-git <llm-git@ttll.de>

345 of 469 new or added lines in 6 files covered. (73.56%)

17465 of 20978 relevant lines covered (83.25%)

17191.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.88
bitcoin/src/psbt/serialize.rs
2
93.43
bitcoin/src/psbt/map/input.rs
3
69.72
bitcoin/src/crypto/ecdsa.rs
13
88.78
bitcoin/src/crypto/sighash.rs
105
81.24
bitcoin/src/psbt/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 20298601911.1 17 Dec 2025 09:50AM UTC 92
83.25
GitHub Action Run
Source Files on build 20298601911
  • Tree
  • List 92
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20298601911
  • e1eb843a on github
  • 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