Author

Topic: Odd transaction inputs - Please explain this to me (Read 455 times)

legendary
Activity: 3472
Merit: 4801
I suspect it has something to do with not wanting to leave a 0.004 BTC dust output in your wallet as change.

By including the 0.01054802 BTC input, the wallet essentially combines it with what would otherwise be a 0.0040498 BTC output resulting in replacing the two potentially small outputs: 0.01054802 BTC & 0.0040498 BTC into one, more usable, larger output: 0.01409782 BTC

I'll take a look at th code when I get a chance and see if I can come up with a better explanation of the logic.
sd
hero member
Activity: 730
Merit: 500

I'm a little confused about the transaction inputs the bitcoin client used in a transaction I made. Can someone explain transaction 20739340da0db8b694994b1d9d4608d00b1ad1b2739c57b40973a2f63df54c07 ?

This is me sending 0.025 bitcoins to someone from my wallet. The inputs puzzle me.

2 Inputs:
0.0290498 BTC
0.01054802 BTC.
2 outputs:
0.025 BTC -my desired output
0.01409782 BTC -my change
Transaction fee - 0.0005 BTC

Why did the bitcoin client use the 0.01054802 BTC input at all? It could have just used the 0.0290498 BTC input which would have covered my output, the transaction fee, and left change. Is this something to do with prioritizing old coins?
Jump to: