1 major finding · 3 minor findings · 4 suggestions
Earlier concerns neither republished nor resolved: 20 minor findings · 8 suggestions. See the Run archive for their assessments.
Findings
[major] · Send records mixed-input PSBTs before failing to submit them
A collaborative PSBT with an already-signed foreign input can now offer Send, but an input parent absent from the reviewing wallet makes pinned Core throw after recording the transaction and before submitting it.
Location: qml/psbtwork.cpp:647 (head).
Details and suggested fix
PrepareReview now permits key_can_send when only the remaining unsigned inputs are wallet-owned. WalletSendOperation accepts that capability, and walletsend::Execute signs, verifies and calls commitTransaction unconditionally. Imported PSBTs do not undergo the wallet-parent lookup in AuthenticatedInputs. In pinned Core, commit calls AddToWallet before mapWallet.at() for each input parent. Consequently, a valid collaborative PSBT whose signed foreign input has an unknown parent is recorded in the wallet, but the lookup throws before this call submits it to the mempool, and the GUI reports Uncertain. Keep wallet-commit Send restricted to all-owned inputs, or submit mixed-input transactions through the node broadcast path. Cover the case with a foreign parent absent from the reviewing wallet.
[minor] · The same pasted password no longer matches at creation and unlock
When the clipboard contains CR/LF, new-passphrase fields remove it but unlock fields retain it, so repeating the same paste fails; typing the visible password or pasting without line endings still works.
Location: qml/controls/PasswordTextField.qml:20 (head).
Details and suggested fix
dropsLineEndings is enabled for Create, Set password and Update password's new fields, but not for the unlock prompt or current-password field. A clipboard value ending in a newline therefore encrypts the wallet without that newline and later submits it with the newline, producing an incorrect-password error. Previously both fields preserved the same text. When unlocking with text containing CR/LF, try the exact input first and, only if it fails, retry with line endings removed. This retains access to existing wallets whose actual passphrase includes a line ending.
[minor] · ENABLE_WALLET=OFF retains dependencies on the excluded WalletModel
The node-only source filter removes WalletModel but retains walletmanager.cpp/.h, leaving unresolved wallet dependencies in the build; this conclusion is from source inspection, not an observed configure-and-link run.
Location: CMakeLists.txt:55 (head).
Details and suggested fix
ENABLE_WALLET is now configurable, but the exclusion list removes qml/models/walletmodel.cpp/.h without removing qml/walletmanager.cpp/.h. The latter declares the Q_OBJECT type OpenWalletListModel and implements calls such as model->whenNativeDrained(...), whose definition is in the excluded source. The node-only source partition therefore still depends on the wallet implementation it removes. Put wallet-dependent sources in an explicit group included only with ENABLE_WALLET, and cover that partition with a node-only configure-and-link job.
[minor] · A definite fee-bump refusal leaves Speed Up in Uncertain
An unobserved race that makes commitBumpTransaction return false leaves Speed Up in Uncertain, blocking preparation even though pinned Core has not committed a replacement.
Location: qml/walletbump.cpp:205 (head).
Details and suggested fix
The original transaction can become mined or acquire a descendant after the app's last check but before Core's final precondition check. In pinned Core, a false return from commitBumpTransaction means those checks refused the operation before wallet.CommitTransaction. The app instead turns that return into Error::Commit and then Phase::Uncertain; preparation and reset refuse that state, and rechecking the outcome does not clear it. Map this definite refusal to NeedsRevalidation. Keep the separate exception path uncertain because an exception can occur after the commit.
Optional improvements
[suggestion] · Signer approval occupies the Core worker shared by every wallet
A hardware-device wait keeps navigation responsive but stalls other wallets' queued backend reads, opening and preparation because their Core queues share the worker running approval.
Location: qml/executor.cpp:87 (head).
Details and suggested fix
ApprovalService invokes ApproveInto through opening->perform(...), which posts to the opening's Core queue and calls fillPSBT synchronously. All those queues dispatch to the single Workers::core thread, as the executor test also specifies. The separate Utility signer worker does not isolate approval. Give wallets independently scheduled backend workers while retaining per-wallet serialization and shutdown draining, so a device wait in wallet A does not stop wallet B's work. A gated test holding A's approval while B opens would distinguish that guarantee from merely keeping the GUI event loop responsive.
[suggestion] · Speed Up does not apply Send's avoid_reuse policy
As in base and Core's bumpfee, Speed Up can automatically add a reused output on an avoid_reuse wallet, despite Send now honoring that opt-in policy.
Location: qml/walletbump.cpp:106 (head).
Details and suggested fix
walletbump::Prepare passes a CCoinControl without setting m_avoid_address_reuse. Core copies that control, permits additional confirmed inputs and treats the false flag as permission to use dirty outputs. A replacement needing extra funds can therefore select an output that ordinary Send now excludes. Set control.m_avoid_address_reuse = true when preparing the bump, matching Send's ApplyInputPolicy; Core applies that filter only to wallets with the opt-in policy enabled.
[suggestion] · secretinput::Input releases its retained passphrase without wiping it
The captured passphrase remains in an ordinary QString buffer across queueing and is released unwiped; cleansing this retained buffer would provide limited hardening, while QML-side copies remain outside that guarantee.
Location: qml/secretinput.cpp:34 (head).
Details and suggested fix
Input retains m_text, but materialize() cleanses only the temporary UTF-8 QByteArray. Destroying the captured input subsequently releases its UTF-16 storage without cleansing it. Give that retained text an exclusively owned buffer and cleanse it during cleanup before release, preserving the exact text and existing lifetime rules. This addresses only the captured C++ storage, not other copies held by QML.
[suggestion] · The defect-fix commits precede the code that enforces their fixes
20c2851bbed and eb215cd157c add fee-proof and signer-comparison helpers, while their application enforcement arrives in later area refactors, making the commits' fix attribution difficult to validate independently.
Location: qml/models/psbtfee.cpp:18 at 20c2851bbed7 (commit) (commit).
Details and suggested fix
20c2851bbed7f1897a50d5f36b93121dd1e73bc1 is tagged Fixes #1063, but adds helpers and includes qml/psbtdocument.h, which arrives in ec60d10f917f080561818b04789cf4a0a6d40bac. Likewise, eb215cd157c2c66305ab506da2b3fd3807f7adc2 adds the comparison helper whose consumers arrive in the Send refactor 4f980d9e2ae7d79ddde2642b5625fcb669b8c6a7 and the PSBT refactor. The documented final-tree-only validation does not let a reviewer validate either fix at its labeled commit. Fold the helpers into their consuming changes, keeping the signer helper available to the earlier Send consumer, or reword the helper commits and attach the fix attribution to the enforcement commits. This is a review-flow concern, not a defect in the final tree.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: The startup rewrite removes error routing that a later commit restores (earlier report)
- [minor]: Receive keeps supported types hidden after descriptor imports (earlier report)
- [suggestion]: Private descriptor imports remain outside console redaction (earlier report)
- [suggestion]: Payment and PSBT import errors bypass translation (earlier report)
- [minor]: Cancelled clipboard checks accumulate as child
QObjects (earlier report) - [minor]: A stale fee-policy failure can clear a newer read's pending state (earlier report)
- [minor]: The console labels implicit wallet RPCs as node commands (earlier report)
- [minor]: Send omits partial-spend avoidance in
avoid_reusewallets (earlier report) - [minor]: The new threads drop the documented macOS stack safeguard (earlier report)
- [minor]: Failed signer approval can switch Save transaction back to PSBT v2 (earlier report)
- [minor]: Sign-only enables broadcast readiness without a policy assessment (earlier report)
- [minor]: The Activity hold timer undoes its own final scroll clamp (earlier report)
- [suggestion]: PSBT import automation bypasses the production import owner (earlier report)
- [minor]: Hiding Activity loses the user's list position (earlier report)
- [minor]: Queued configuration resets appear clean to settings navigation (earlier report)
- [minor]: Timer polls restart unfinished receipt rechecks (earlier report)
- [suggestion]: Coin-row ordering duplicates the existing
IndexedSequenceimplementation (earlier report) - [minor]: Wallet creation retains plaintext credentials with the finished operation (earlier report)
- [minor]: Node-context console commands still resolve the only loaded wallet (earlier report)
- [minor]: A refused receive type stays hidden after its descriptor is imported (earlier report)
- [minor]: Blank
-addresstype=overrides Receive's Taproot default (earlier report) - [suggestion]: Speed Up suppresses anti-fee-sniping refresh for ordinary replacements (earlier report)
- [minor]: Proxy endpoints are validated trimmed but saved untrimmed (earlier report)
- [suggestion]: Executor test assertion failures can hang teardown (earlier report)
- [minor]: Queued
SignOnlywork cannot be withdrawn before signing starts (earlier report) - [suggestion]: The test-only PSBT pipeline has a different signing policy (earlier report)
- [minor]: Recipient text comparison checks storage identity (earlier report)
- [minor]: Return defaults to replacing the current payment details (earlier report)
Background
Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.
Documented decisions
Moving backend work off the GUI thread addresses an event-loop constraint, not merely lock contention. Historical Core discussion explicitly distinguishes expensive calculations from waiting for locks, and distinguishes background polling from asynchronous work triggered by user actions. It also warns that background execution alone does not eliminate wasted queries or user-visible loading delays.
This explains the combination of worker execution, cached model data, coalesced refreshes, and pending/error state in the affected application. Earlier QML proposals #981 and #990 explicitly applied these principles to settings, chain queries, wallet balances, address scans, and Receive work. The historical rationale supports treating responsiveness and backend workload reduction as separate objectives.
Source 1 · Source 2 · Source 3 · Source 4 · Source 5
Per-wallet page ownership was chosen to make wrong-wallet actions structurally difficult, rather than depending on every popup to implement an invalidation token correctly. The earlier proposal explicitly accepted additional memory consumption to preserve each wallet's drafts and navigation state.
PR #1049 describes backup, export, draft replacement, and signing hazards when wallet selection changes under an open dialog. Its reported memory measurements were a tradeoff, not a free optimization. Both pinned base and head WalletView already declare a lifetime-bound wallet; the current architecture extends that existing choice into page controllers, which reject rebinding to another wallet.
Explicit task outcomes, cancellation, and drain notification arose because 'run a closure and perhaps call back' leaves request lifetime ambiguous. The earlier executor issue identifies rejected submissions, discarded completions, late drain subscribers, and queued references as reasons each model otherwise has to reconstruct its own lifecycle.
Issue #1054 proposed one terminal outcome, cancellation of waiting work, lifetime rules through draining, and reusable asynchronous helpers; #1109 subsequently separated executor lifecycle work from model migrations. This history explains why the current change introduces operation-owned results and staged shutdown rather than simply adding more worker threads. The pinned base executor guarded receiver lifetime but returned only a submission boolean.
Keeping the application usable during long wallet work historically required narrowing the scope of 'busy', not globally disabling the interface. Earlier restore work explicitly allowed existing wallets to remain usable while refusing only operations that would queue behind the restore, and retained a result after the initiating dialog closed.
PR #986 documents rescans lasting minutes and the distinction between an operation's lifetime and its dialog's lifetime. This provides context for wallet-wide unresolved effects, per-operation outcomes, and execution lanes in the current architecture: hiding a page is not equivalent to proving that backend work stopped or that its result no longer matters.
PSBT was designed for interoperability and offline signing, where the signer cannot simply consult a local UTXO set. Historical changes deliberately supplied full previous transactions for hardware-wallet requirements while retaining witness UTXO fields for compatibility. That additional information also had a documented transport cost: larger PSBTs made printed-QR workflows harder.
This explains why PSBT metadata, signing readiness, and authenticated fee information are distinct concerns. In the pinned dependency, AnalyzePSBT obtains input values through GetUTXO, which permits a witness_utxo without a full previous transaction. The base GUI displayed the resulting analysis fee; the head introduces a separate fee proof using hash-linked previous transactions or independently verified outputs. The history explains the trust and portability constraints without treating every PSBT field as independently authenticated.
Source 1 · Source 2 · Source 3 · Source 4
An external signer's response is not historically treated as unrestricted authority to replace the transaction being signed. Upstream #36114 explicitly motivates merging responses to reject changed outputs while allowing unnecessary PSBT fields to be omitted, and adds restrictions on unsafe sighashes. It also states a threat-model limit: these checks cannot protect against a malicious same-user HWI-equivalent process.
The application-side SameTransaction, fee-proof, signature, and output-commitment checks in walletsend preserve the distinction between the user's reviewed terms and the signer's response. The upstream rationale explains that boundary, while its stated same-user limitation prevents overstating what transaction-substitution checks secure.
The historical GUI PSBT-version tradeoff was backward-compatible file exchange versus newer format capabilities, with a separate decision for external-signer transport. Upstream discussion documented pre-v32 decoding failures and joinpsbts incompatibility; a proposed GUI version selector was dropped to simplify backporting past translation string freeze.
This directly explains why saving a newly created transaction can favor PSBT v0 without implying that imported documents or signer hand-offs must use the same version. The inspected #36539 discussion records a later revision retaining v2 for external signers, illustrating that these are different compatibility boundaries rather than one application-wide version preference.
Source 1 · Source 2 · Source 3 · Source 4 · Source 5
Ralph's inferences
Stable wallet identity and stable operation identity solve different problems. A page that cannot switch wallets can still receive a late result for an earlier request in that same wallet; operation ownership and revisioned reviews address that second dimension.
The earlier per-wallet proposal explicitly reserved same-wallet replacement and completion cases for additional checks. The current architecture captures operation objects and cancels waiting operations when the review changes, extending rather than replacing the base's per-wallet views.
The application's separation between a committed candidate and an observed submission outcome follows from an interface that returns no commit receipt. Calling commit cannot, by itself, provide the GUI with a typed statement about broadcast success.
The pinned WalletImpl::commitTransaction wrapper returns void. Head walletsend preserves the exact candidate and then performs ObserveSubmission, explicitly documenting the missing result value. This supports the presentation distinction, but does not establish the unread backend rationale for retaining or rebroadcasting rejected transactions.