3 suggestions
Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.
Optional improvements
[suggestion] · Passive GUI loading adds account xpubs without a publication control
Opening and sharing a PSBT that merely pays the loaded wallet can disclose its account xpub, because the GUI enables publication before any signing action and offers no opt-out.
Location: src/wallet/scriptpubkeyman.cpp:1502 (head).
Details and suggested fix
contributes_to_psbt counts every recognized output, not just change. openWithPSBT fills the stored PSBT with sign=false and bip32_derivs=true, so a payment to a default-wallet address can add its cached account xpub even when no input belongs to that wallet. Copy and save serialize the updated object. Sharing it then lets the recipient derive both receive and change addresses for that account, rather than learning only transaction-specific public keys and paths. The origin, depth and derivability guards do not prevent this ordinary case. Only walletcreatefundedpsbt and walletprocesspsbt expose the existing switch; GUI export and several send/fee-bump workflows force it on. Add a separate global-xpub publication option that these callers honor, disabled for passive GUI loading. Keep deliberate single-key support and change-only contributions: requiring an owned input in each descriptor manager would break the split-change case covered by test_change_descriptor_publishes.
[suggestion] · The release note implies that bip32derivs=false redacts existing xpubs
Reprocessing a populated PSBT with bip32derivs=false preserves its global xpubs, so the note's privacy guidance can leave users sharing metadata they expected to omit.
Location: doc/release-notes-36154.md:9 (head).
Details and suggested fix
walletprocesspsbt decodes the supplied PSBT, fills it, and serializes the same object. Setting bip32derivs=false skips AddGlobalXpubs, but nothing clears existing m_xpubs, and serialization writes those records back out. Thus a PSBT created with the defaults still carries its account xpubs after reprocessing with false. Clarify that the option stops the wallet from adding extended public keys and derivation paths rather than redacting existing metadata, and that users must disable publication at creation as well. Add a regression assertion that processes an already-populated PSBT with false and checks that its global xpubs remain.
[suggestion] · Specialized global-xpub coverage outgrows the multisig walkthrough
About 200 lines of specialized global-xpub cases expand a test explicitly intended as a simple, readable M-of-N example.
Location: test/functional/wallet_multisig_descriptor_psbt.py:85 (head).
Details and suggested fix
The new helpers cover single-key wallets, forged origins, a 200-step derivation path, direct global-map injection and shared origins, beyond the documented multisig signing flow. Move these specialized cases into a dedicated wallet_psbt_global_xpub.py, retaining their assertions and recreating the signer and funded coordinator fixtures there. Keep the basic co-signer publication and bip32derivs=False checks in this walkthrough. The helpers already run after the original flow and reuse its fixtures, so this is a maintenance suggestion rather than a behavioral defect.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: The opt-out test misses PSBTs that already contain derivation paths (earlier report)
- [suggestion]: External-signer signing bypasses global-xpub filling (earlier report)