My question is why that wasnt implemented into the bitcoin network. It could prevent the currently ongoing spam, which seems to be done often and shortly.
Hey Sabastian, you are probably referring to:
https://github.com/bitcoin/bitcoin/pull/1536
The logic behind Litecoin's solution: lowish outputs are penalized and each lowish output implies a higher transaction fee.
In retrospective it looks like it was superseded by a related solution:
The minimum values of outputs depend on the size of the outputs. It should not be uneconomic to spend outputs, and the larger the size of an output, the higher the minimum value shall be.
In practise: consider you receive a very low amount, let's say 1 satoshi, then it would cost you more to spend that value than it's actually worth. To prevent that the chain fills up with outputs, which probably won't get spent, the "dust" threshold was introduced:
https://github.com/bitcoin/bitcoin/pull/2577
There was recently a discussion on Reddit about the topic, which may provide some more insights:
https://www.reddit.com/r/Bitcoin/comments/3ci25k/the_current_spam_attack_on_bitcoin_is_not/csvtt8l
Output value and transaction fee policies don't break consensus.
Thanks dexX7. I have read that. I'm not so sure anymore if the litecoin implementation or what bitcoin implemented is the same like i imagined. And on top i wonder if i wasn't completely wrong from the start.
What i thought is:
When normal users do a transaction then they mostly have a transaction that has one input and 2 outputs. It doesn't matter if one of the outputs goes to a change address or to the input address again.
Normal users have to pay a fee for that.
Now it's possible to create multiple transactions in one transaction. Lets say someone sends coins to 20 output addresses including the change address. That means in fact he has 10 times as many transactions done. Of course it might be that he only has one input address, so that transaction might be smaller than 10 individual transactions.
But lets assume this one big transaction is as big as the 10 transactions.
So what i wonder now is, the miners check for the fee satoshi per byte and chose the transactions accordingly. Then if we assume that 10 transactions are the same size like 1 of this big transactions then would both have to pay the same fee to have the same priority or has the big transaction an advantage?