3 ms·
In a transaction, you specify the inputs (addresses, sources of BTC, and they're completely used up), and the output (destination addresses) and how much each d
by FabHK 9y ago
In a transaction, you specify the inputs (addresses, sources of BTC, and they're completely used up), and the output (destination addresses) and how much each destination gets.
A typical transaction might look like this:
1) Inputs: my wallet (1 BTC, and this is all taken)
2) Outputs:
2a) pay something to merchant A (0.1 BTC),
2b) pay most of the rest back to my wallet (0.89 BTC)
3) Remainder: The rest (1 - 0.1 - 0.89 = 0.01 BTC) goes to the miner as the transaction fee.
The sum of outputs ((2, what you spend) must be less than or equal to the sum of inputs ((1), what you got) - that's checked by the miners.
Any remainder (3), however, is taken to be a mining fee and goes to the miner.
So, could be what happened here is that someone forgot to add (2b), paying the "change" back into their own wallet.
By default, then, it becomes (3): transaction fee.
This doesn't happen with well written wallet software, of course, but if you manually create transactions, who knows.