Post
Topic
Board Bitcoin Technical Support
Re: btc wallet features
by
Thirdspace
on 28/10/2017, 13:40:20 UTC

Is there any algorithm that will be able to find optimal solutions for least fees?

Any script we can use to auto create multiple address transaction with address and amt information, or we have to rely on wallet UI to manually do it? 
simplest algorithm, use the closest amount of single unspent output for making that certain single payment
or try to think equation of: unspentA + [unspentB] = paymentC + [change] + tx fee
the best efficient low cost transaction would be: unspentA = paymentC + tx fee

you should turn on "coin control" setting to see and understand easily what they've just explained
basically any of your addresses are used to make distinction for receiving different payments
but when you make/send out payment, you are more concern on the unspent outputs not your addresses anymore
the concept of wallet and address are NOT similar to bank and account number