1
I'm a newbie at this and still trying to get my head around Bitcoin. Three linked questions around how the transaction works...
1) How does the wallet decide which balances/addresses form part of a new payment transaction (to go as the input)?
2) Do all transactions generate 'change' - i.e. a second output?
3) Does the fee for a transaction go to a newly generated miner's Bitcoin address, a pre-recorded miner's address, or is there no output in the blockchain associated with this?
Thanks and apologies for technical inaccuracies and silly questions.
related: http://bitcoin.stackexchange.com/questions/2527/how-can-i-control-which-coins-to-spend-in-a-transaction?rq=1
– Thilo – 2013-07-15T09:45:53.257related: What is the coin selection algorithm?
– Murch – 2014-12-12T12:22:59.853