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

starius / btcd / 37355032955
54%
master: 55%

Build:
Build:
LAST BUILD BRANCH: bump-deps
DEFAULT BRANCH: master
Ran 05 Oct 2026 06:21PM UTC
Jobs 9
Files 366
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

05 Oct 2026 06:18PM UTC coverage: 54.114%. First build
37355032955

push

github

starius
txscript: reject SIGHASH_SINGLE signing without a matching output

When SIGHASH_SINGLE has no output corresponding to the input being
signed, legacy signing uses the constant hash one and segwit v0 signing
commits to no outputs. These signatures can allow funds to be
redirected.

Reject this case in RawTxInSignature and RawTxInWitnessSignature with
ErrInvalidSigHashSingleIndex, including when ANYONECANPAY is set.
Their callers inherit the protection; multisig signing omits refused
signatures through its existing error handling. The check masks the
hash type with sigHashMask (0x1f) like the sighash code, where Core
masks with 3; the two agree for the standard hash types.

Leave sighash calculation unchanged to preserve consensus verification.
Taproot signing already rejects this case.

Add regression coverage for P2PKH, bare multisig, P2WPKH and P2TR across
the six standard explicit sighash types, checking both missing-output
rejection and successful signing of supported combinations.

Port of Bitcoin Core PR bitcoin/bitcoin#35984:
https://github.com/bitcoin/bitcoin/pull/35984

14 of 14 new or added lines in 1 file covered. (100.0%)

38105 of 70416 relevant lines covered (54.11%)

327187.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 chainhash - 37355032955.1 05 Oct 2026 06:21PM UTC 2
82.21
GitHub Action Run
2 psbt - 37355032955.2 05 Oct 2026 06:21PM UTC 100
23.32
GitHub Action Run
3 btcutil - 37355032955.3 05 Oct 2026 06:21PM UTC 95
23.35
GitHub Action Run
4 wire - 37355032955.4 05 Oct 2026 06:21PM UTC 41
85.87
GitHub Action Run
5 chaincfg - 37355032955.5 05 Oct 2026 06:21PM UTC 43
8.88
GitHub Action Run
6 txscript - 37355032955.6 05 Oct 2026 06:21PM UTC 78
57.51
GitHub Action Run
7 address - 37355032955.7 05 Oct 2026 06:21PM UTC 56
17.24
GitHub Action Run
8 btcd - 37355032955.8 05 Oct 2026 06:21PM UTC 252
43.56
GitHub Action Run
9 btcec - 37355032955.9 05 Oct 2026 06:21PM UTC 18
78.63
GitHub Action Run
Source Files on build 37355032955
  • Tree
  • List 366
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37355032955
  • fd3b8c0c on github
  • Next Build on port-35984 (#37412945756)
  • 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