Skip to content

Conversation

@OttoAllmendinger
Copy link
Contributor

Add support for extracting half-signed transactions in legacy format
compatible with utxo-lib and bitcoinjs-lib. This format places
signatures in the correct position based on the key index with empty
placeholders for unsigned positions.

The implementation handles all supported p2ms-based script types
(p2sh, p2shP2wsh, and p2wsh) and works across all UTXO networks,
including Bitcoin, Litecoin, Dash, and Zcash.

BTC-2993

@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2993.legacy-txformat branch from ca9fca3 to bdc7a61 Compare January 30, 2026 15:05
Adds support for extracting half-signed transactions in the legacy format
used by bitcoinjs-lib and utxo-lib. This format places signatures in the
correct position for p2ms-based inputs (p2sh, p2shP2wsh, p2wsh) with empty
placeholders for missing signatures.

The implementation handles all supported networks and script types and
produces output compatible with utxo-lib's extractP2msOnlyHalfSignedTx.

Issue: BTC-2993

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger force-pushed the BTC-2993.legacy-txformat branch from bdc7a61 to d089518 Compare January 30, 2026 15:09
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review January 30, 2026 15:32
@OttoAllmendinger OttoAllmendinger requested a review from a team as a code owner January 30, 2026 15:32
@OttoAllmendinger OttoAllmendinger merged commit a61c97d into master Jan 30, 2026
6 checks passed
@OttoAllmendinger OttoAllmendinger deleted the BTC-2993.legacy-txformat branch January 30, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants