Warn when imported PSBTs contain positive-value unknown output scripts #760

Open
opened 2026-06-19 22:48:39 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-06-19 22:48:39 +00:00 (Migrated from github.com)

If an imported PSBT contains a positive-value output that cannot be shown as a Bitcoin address and is not unspendable data, the GUI should make that visible before signing or broadcasting.

This should be a non-blocking warning, not a rejection.

Acceptance criteria:

  • Positive-value addressless spendable outputs render as Unknown output script.
  • The review UI shows a warning before signing or broadcasting.
  • The warning does not disable Save, Sign, or Broadcast.
  • Zero-value OP_RETURN outputs do not trigger this warning.
  • Add tests for positive-value unknown scripts and zero-value data outputs.

Follow-up to https://github.com/bitcoin-core/gui-qml/pull/750

If an imported PSBT contains a positive-value output that cannot be shown as a Bitcoin address and is not unspendable data, the GUI should make that visible before signing or broadcasting. This should be a non-blocking warning, not a rejection. Acceptance criteria: - Positive-value addressless spendable outputs render as `Unknown output script`. - The review UI shows a warning before signing or broadcasting. - The warning does not disable Save, Sign, or Broadcast. - Zero-value `OP_RETURN` outputs do not trigger this warning. - Add tests for positive-value unknown scripts and zero-value data outputs. Follow-up to https://github.com/bitcoin-core/gui-qml/pull/750
Sign in to join this conversation.
No description provided.