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

BitGo / rust-bitcoin
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: bitcoin-0.32.8-bitgo.1
DEFAULT BRANCH: master
Repo Added 17 Dec 2025 09:50AM UTC
Token NAgXD6xqA0zRoRmYLUlYtpF8pQFhenxbg regen
Build 4 Last
Files 93
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

LAST BUILD ON BRANCH bitcoin-0.32.8-forkid
branch: bitcoin-0.32.8-forkid
CHANGE BRANCH
x
Reset
Sync Branches
  • bitcoin-0.32.8-forkid
  • bitcoin-0.32.8-bitgo.1
  • branch-bitcoin-0.32.8.add-forkid-support
  • branch-bitcoin-0.32.8.add-zcash

17 Dec 2025 09:49AM UTC coverage: 83.23%. First build
20298859417

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%)

17460 of 20978 relevant lines covered (83.23%)

17269.71 hits per line

Relevant lines Covered
Build:
Build:
20978 RELEVANT LINES 17460 COVERED LINES
17269.71 HITS PER LINE
Source Files on bitcoin-0.32.8-forkid
  • Tree
  • List 92
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20298859417 bitcoin-0.32.8-forkid 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 S... push 17 Dec 2025 10:00AM UTC OttoAllmendinger github
83.23
See All Builds (4)

Badge your Repo: rust-bitcoin

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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