Review report

bitcoin-core/gui-qml: PR #1049

2 suggestions

Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · Fee bumping and message signing skip the new closing-wallet gate

The new closing-wallet refusal does not cover fee bumps or message signatures submitted before queued teardown, although those actions still require normal authorization.

Location: qml/models/walletqmlmodel.h:222 (head).

Details and suggested fix

After an RPC unload sets m_unload_requested, an already-open Speed up confirmation or Sign message page can still submit before the queued GUI notification removes the view. BumpTransactionModel checks its wallet pointer, confirmation state, unlock authorization and whether the transaction remains bumpable, but not availability. SignVerifyMessageModel likewise checks its pointer, address and unlock state. Both retain their wallet pointers until beginShutdown(), so normally valid submissions can still sign, and fee bumps can commit, while other wallet actions already refuse. These paths predate this PR and remain user-authorized on the same wallet; the suggestion is to complete the new closing-wallet rule. Pass the shared unload flag to both models and check it in fee-bump preparation, confirmation and message signing, reporting "This wallet is closing." Keep QObject access on the GUI thread. Extend the unload test with a prepared fee bump and assert that neither signing nor commit occurs after notification.


Link

[suggestion] · External signer approval on a closing wallet reports a missing signer

An approval attempted during the short unload interval reports "External signer not available." rather than explaining that the wallet is closing.

Location: qml/models/walletqmlmodel.cpp:2425 (head).

Details and suggested fix

If approval runs after the backend unload notification sets availability false but before GUI teardown, the new !available() condition emits the same failure as a missing signer. ExternalSignerReviewActions puts that message into its generic error state and ignores signerNotFound. Approval is correctly refused, but the reported cause is wrong. Handle m_wallet && !available() first and emit externalSignerApprovalFailed(tr("This wallet is closing."), false), then retain the existing signer check. This keeps the message consistent with the other new closing-wallet guards; the practical impact is limited by the brief interval before the view is removed.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.