Let's say I run an automated script, with the main purpose to send transactions as fast as possible.
I want to send one transaction with 5 BTC to one address and a transaction with 2 BTC to another.
My own bitcoin wallet has 2 transaction inputs, one with 3 BTC and one with 7 BTC. How do I spend the transactions the fastest way?
Spend the 5 BTC first having 7 BTC as input, get the change of 2 BTC returned and send this 2 BTC to another address.
Spend the 2 BTC first with 3 BTC input, spend 5 BTC with 7 BTC input.
Does order actually matter if I want to send transactions as fast as possible? I was assuming that due to the confirmation time, an optimized transaction order will have an impact on speed of the transactions.