I'm interested in improving Coin Selection for Bitcoin, and I saw that the wallet implementation has significantly changed in Monero compared to Bitcoin. I was wondering whether the Coin Selection algorithm has also been changed.
When creating a transaction in Bitmonero, what is the algorithm used to determine which unspent outputs will be used as inputs?
Does the client consider the resulting transaction size, transaction fees, and global UTXO Set growth in its selection?
Does the client make any attempt to optimize which 'coins' are used based on minimizing the transaction size, the resulting fragmentation, or the 'age' of the coins (value/transactions) used as the source?