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.