Skip to content

refactor(utxo-staking): classify PoX-5 recovery branches - #9669

Merged
OttoAllmendinger merged 1 commit into
masterfrom
otto/WAL-2024-pox5-thin-adapter
Sep 7, 2026
Merged

refactor(utxo-staking): classify PoX-5 recovery branches#9669
OttoAllmendinger merged 1 commit into
masterfrom
otto/WAL-2024-pox5-thin-adapter

Conversation

@OttoAllmendinger

Copy link
Copy Markdown
Contributor

Add the native PoX-5 spend-branch classifier required by the thin Wallet
Platform adapter. The classifier revalidates the descriptor-bound input and
distinguishes the locktime branch from the principal-preimage early-exit
branch using native PSBT_IN_SHA256 metadata.

Add unit coverage for both native metadata states. Wallet Platform remains
responsible for request and wallet policy, legacy conversion boundaries, and
error translation; it does not parse PoX-5 descriptors or raw PSBT key-value
data.

Add the native PoX-5 spend-branch classifier required by the thin Wallet
Platform adapter. The classifier revalidates the descriptor-bound input and
distinguishes the locktime branch from the principal-preimage early-exit
branch using native PSBT_IN_SHA256 metadata.

Add unit coverage for both native metadata states. Wallet Platform remains
responsible for request and wallet policy, legacy conversion boundaries, and
error translation; it does not parse PoX-5 descriptors or raw PSBT key-value
data.

Refs: WAL-2024
@linear-code

linear-code Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

WAL-2024

@BitGo BitGo deleted a comment from github-actions Bot Sep 7, 2026
@OttoAllmendinger
OttoAllmendinger marked this pull request as ready for review September 7, 2026 12:30
@OttoAllmendinger
OttoAllmendinger requested a review from a team as a code owner September 7, 2026 12:30
@OttoAllmendinger
OttoAllmendinger merged commit 91f39d3 into master Sep 7, 2026
26 checks passed
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.

2 participants