Skip to content

Commit 3e15178

Browse files
BIP352: add warning against omitting outputs (#1908)
* doc: add warning against omitting outputs While implied by the specification, add an explicit warning that generated outputs MUST not be omitted from the final transaction. Co-authored-by: Mark "Murch" Erhardt <[email protected]>
1 parent 31450c3 commit 3e15178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bip-0352.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ After the inputs have been selected, the sender can create one or more outputs f
312312
*** If no additional outputs are required, continue to the next ''B<sub>m</sub>'' with ''k++''<ref name="why_not_the_same_tn">''' Why not re-use ''t<sub>k</sub>'' when paying different labels to the same receiver?''' If paying the same entity but to two separate labeled addresses in the same transaction without incrementing ''k'', an outside observer could subtract the two output values and observe that this value is the same as the difference between two published silent payment addresses and learn who the recipient is.</ref>
313313
** Optionally, if the sending wallet implements receiving silent payments, it can create change outputs by sending to its own silent payment address using label ''m = 0'', following the steps above
314314
315+
All generated outputs MUST be present in the final transaction. If an output ''P<sub>i</sub>'' with ''i < k'' is omitted, the receiver will not be able to find outputs ''P<sub>j</sub>'' where ''i < j <= k''.
316+
315317
=== Receiver ===
316318

317319
==== Key Derivation ====

0 commit comments

Comments
 (0)