1 suggestion
Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.
Optional improvements
[suggestion] · A failed commit can leave the transaction pending and its inputs reserved
If a caller presents a non-skipped commit error as a failed send, the user may resend while the original transaction remains reserved and can later be rebroadcast; whether gui-qml does this is unverified.
Location: src/interfaces/wallet.h:159 (head).
Details and suggested fix
CWallet::CommitTransaction adds the transaction to the wallet as inactive before submitting it. If submission returns an error other than SUBMISSION_SKIPPED, the transaction remains a non-abandoned wallet entry and its inputs continue to count as spent. Because it is unconfirmed, the wallet may resubmit it at startup and during periodic rebroadcast. If a caller presents the error as “send failed” and the user sends again, the replacement must use different coins; the original could later enter the mempool, for example if the minimum fee drops, and both payments could confirm. Document that non-skipped errors leave the transaction pending, that the wallet will try to broadcast it again, and that callers must use abandonTransaction to cancel it. Update or remove the TODO that describes deleting the wallet transaction on failure. No in-tree caller acts on the result, and the Qt caller discards it, so production impact depends on how gui-qml presents the error; its UI is not in this checkout.
Earlier concerns
Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.
- [suggestion]: Show the detailed rejection reason for PSBT broadcasts