Skip to content

fix: validate taproot control block conversion - #1083

Draft
reez wants to merge 1 commit into
bitcoindevkit:masterfrom
reez:tap
Draft

reez wants to merge 1 commit into
bitcoindevkit:masterfrom
reez:tap

Conversation

@reez

@reez reez commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Description

Reject invalid Taproot output key parity and mismatched leaf versions during PSBT input conversion (which prevents silent control block corruption).

Notes to the reviewers

Documentation

Changelog

Checklists

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing
  • I've added exactly one changelog:* label
  • I've linked the relevant upstream docs or specs above

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

Bugfixes:

  • This pull request breaks the existing API
  • I've added tests to reproduce the issue which are now passing
  • I'm linking the issue being fixed by this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants