Send validation: reject duplicate recipients and dust outputs before review #659

Closed
opened 2026-05-06 08:56:14 +00:00 by johnny9 · 0 comments
johnny9 commented 2026-05-06 08:56:14 +00:00 (Migrated from github.com)

Gap

QML validates each recipient independently, but it does not reject duplicate destination addresses or dust outputs before transaction creation like Qt widgets do.

Work

Add cross-recipient duplicate detection and dust validation for single and multiple-recipient send. Surface errors in the form before review and keep backend transaction creation as the final guard.

Code References

  • qml/models/walletqmlmodel.cpp:215
  • qml/models/sendrecipient.cpp:121
  • bitcoin/src/qt/walletmodel.cpp:162
  • bitcoin/src/qt/sendcoinsentry.cpp:138
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/117 --> ## Gap QML validates each recipient independently, but it does not reject duplicate destination addresses or dust outputs before transaction creation like Qt widgets do. ## Work Add cross-recipient duplicate detection and dust validation for single and multiple-recipient send. Surface errors in the form before review and keep backend transaction creation as the final guard. ## Code References - `qml/models/walletqmlmodel.cpp:215` - `qml/models/sendrecipient.cpp:121` - `bitcoin/src/qt/walletmodel.cpp:162` - `bitcoin/src/qt/sendcoinsentry.cpp:138`
Sign in to join this conversation.
No description provided.