QML coin control selected inputs should be exclusive #739

Closed
opened 2026-06-02 13:41:11 +00:00 by johnny9 · 0 comments
johnny9 commented 2026-06-02 13:41:11 +00:00 (Migrated from github.com)

While auditing coin-control parity in QML, Jarol pointed out that selected inputs were not exclusive during transaction preparation.

CCoinControl::m_allow_other_inputs defaults to true, so selected inputs are required but Core may still add other unselected wallet inputs. Qt Widgets overrides this before send preparation with:

coin_control.m_allow_other_inputs = !coin_control.HasSelected();

QML should match that behavior for both fee preview and final transaction preparation so manually selected coins mean only those selected coins are available unless the UI explicitly offers an allow-other-inputs option.

Covered by PR #736.

While auditing coin-control parity in QML, Jarol pointed out that selected inputs were not exclusive during transaction preparation. `CCoinControl::m_allow_other_inputs` defaults to `true`, so selected inputs are required but Core may still add other unselected wallet inputs. Qt Widgets overrides this before send preparation with: ```cpp coin_control.m_allow_other_inputs = !coin_control.HasSelected(); ``` QML should match that behavior for both fee preview and final transaction preparation so manually selected coins mean only those selected coins are available unless the UI explicitly offers an allow-other-inputs option. Covered by PR #736.
Sign in to join this conversation.
No description provided.