Yeah it definitely is a rare case where you will have multiple parties sending to the same recipient, but I happen to have one (funding an assurance contract).

Reply to this note

Please Login to reply.

Discussion

Also WRT greater-than-or-equal I think after shuffling, the un-consolidated outputs would be shared with all the participants, so they could verify their outputs are present. Then they can verify that the consolidated outputs are equivalent.

Since outputs don't have an "identity", the shuffling should probably occur over `(id, script_pubkey, value)` where `id` is randomly chosen by each participant for each of their outputs, but shuffling could otherwise proceed according to other protocols.

I wonder if running the protocol twice is necessary for fee estimation of the consolidated transaction, and if doing that is a problem at all...