1 major finding · 1 suggestion
Findings
[major] · Maximum sends can report success despite Core's new fee-rate rejection
A maximum send above the wallet's fee-rate cap can be signed and committed without entering the mempool, while the GUI reports success and its inputs remain marked spent.
Location: qml/models/walletqmlmodel.cpp:339 (head).
Details and suggested fix
Maximum recipients use CreateSendAllTransaction, which checks m_max_tx_fee but omits the new m_max_tx_fee_rate check enforced by Core's transaction creation, sendall RPC, and wallet submission paths. An otherwise acceptable transaction can therefore pass preparation when its rate exceeds the positive cap but its total fee remains below the absolute limit. With defaults this requires a custom rate above 10,000 sat/vB; a lower valid -maxfeerate can trigger it with ordinary custom or estimated rates. After the user approves, commitTransaction records the signed transaction and only logs the submission rejection. sendTransactionInternal returns true, so QML emits transactionSent, although the transaction never enters the mempool. Resubmission encounters the same cap, and the GUI has no abandonment action, requiring RPC recovery to release the inputs. Raising the cap can instead allow the stored transaction to broadcast later. Add the sendall RPC's fee > wallet->m_max_tx_fee_rate.GetFee(size.vsize) rejection before signing, and test that a maximum recipient above a low configured cap fails preparation without signing or committing. This estimate-based guard catches ordinary over-limit cases; borderline cases can still differ from submission's actual-vsize check.
Optional improvements
[suggestion] · Passphrase-change storage errors appear as an incorrect password
The bumped Core reports master-key write failures separately, but the GUI converts the result to bool and tells users that their correct current password was wrong.
Location: test/test_walletqmlmodel.cpp:401 (head).
Details and suggested fix
The adapted mock returns Expected<void, WalletError>, but WalletQmlModel::changeWalletPassphrase still reduces that result to bool. Core now returns GenericError when encryption or the master-key database write fails, yet the GUI displays “The current wallet password was incorrect.” for either failure. The old password remains valid, while the useful diagnosis is hidden. Retain the Expected result, continue clearing both SecureStrings, preserve the existing handling for PassphraseIncorrect, and forward other errors' translated messages to setSettingsError. TryUnlockWithPassphrase also discards backend details; its current failure is PassphraseIncorrect, whose detailed message can include null-character recovery guidance. The updated mock and passphrase-change test cover only success and an incorrect password. Add a GenericError case asserting that its message reaches settingsError, while retaining the successful security-state refresh.