AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 24 Bitcoin

Add psbt_version to PSBT RPCs and default to v2

Public commit record

What the developer wrote

Authored by Ava Chow

68/100 · Adequate
Add psbt_version to PSBT RPCs and default to v2

walletcreatefundedpsbt, createpsbt, converttopsbt, and psbtbumpfee take
a psbt_version argument to set the version of the PSBT that they
produce. The default psbt_version is 2.
✓ Descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context
The short version

What changed, and why it matters

This commit updates Bitcoin Core's Partially Signed Bitcoin Transaction (PSBT) RPC commands so they can produce the newer PSBT version 2 format, and makes version 2 the default. It is a feature and compatibility change, not a fix for an active security vulnerability. The code validates that only versions 0 or 2 can be requested, and updates tests to match the new output structure. There is no indication in the commit that this resolves a disclosed security issue.

Recommended action

Treat as a routine feature/compatibility update. Review downstream tooling that parses PSBT RPC output, since fields like `tx.vin`/`vout` are replaced by `inputs`/`outputs` in decoded PSBT v2 results. No urgent security action is indicated by the commit itself.

Security signals we found

01

Input validation: RPCs reject PSBT versions other than 0 and 2

02

Default behavior change: newly created PSBTs now use version 2

03

No memory-safety or cryptographic changes visible in the diff

04

No disclosed vulnerability or CVE referenced in commit message or diff

Risk score

Why this scored 24/100

Our methodology →
Potential impact 3/30
Exploitability 2/25
Stealth signal 2/15
Affected reach 5/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.