1
A transaction can have multiple outputs pointing to the same address however it's not clear to me if and how this affects the transaction's priority and cost?
As an example, let's consider these two simple cases:
Case A: Two outputs pointing to the same address use the same input in a 50/50 split.Case B: Two outputs pointing to the same address use two different inputs of equal amounts.
But the
costwould be smaller if the two outputs in the question's example merge into a single output, right? – Doug Peters – 2014-04-01T23:12:01.403Well, yes. The cost is related to the priority. But for a 2-output tx, the cost will almost always be zero. – Steven Roose – 2014-04-02T01:48:19.590