Skip to content

feat(abstract-utxo): deprecate legacy transaction signing#8335

Draft
OttoAllmendinger wants to merge 2 commits intomasterfrom
BTC-0.deprecate-legacy-tx-signing
Draft

feat(abstract-utxo): deprecate legacy transaction signing#8335
OttoAllmendinger wants to merge 2 commits intomasterfrom
BTC-0.deprecate-legacy-tx-signing

Conversation

@OttoAllmendinger
Copy link
Contributor

Add restrictions and controls for legacy transaction format handling:

  • Update supportedTxFormats default to disallow legacy format
  • Add validation in decodeTransaction to reject unsupported formats
  • Add extractTransaction option to control whether finalized PSBTs are
    extracted to network broadcast transaction format. When false, returns
    the finalized PSBT, preserving derivation info useful for testing.
    Default behavior (true) maintains backward compatibility
  • Update tests to remove legacy format cases and verify proper error
    handling for deprecated transactions

Issue: BTC-2768

OttoAllmendinger and others added 2 commits March 23, 2026 16:00
Add `extractTransaction` option to control whether finalized PSBTs are
extracted to legacy transaction format. When false, returns the
finalized PSBT, preserving derivation info useful for testing.

Default behavior (true) maintains backward compatibility by extracting
to legacy format.

Issue: BTC-2768

Co-authored-by: llm-git <llm-git@ttll.de>
Update `supportedTxFormats` default to disallow legacy format for
user inputs while maintaining backward compatibility for internal
operations like PSBT finalization. Update tests to reflect new
restrictions and skip deprecated legacy format test cases.

Issue: BTC-2768

Co-authored-by: llm-git <llm-git@ttll.de>
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.

1 participant