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.