btcwallet
btcwallet copied to clipboard
Use btcutil/coinset for UTXO selection
The current transaction creation algorithm uses a custom UTXO selection algorithm. This code is duplicate functionality of the coinset package in btcutil, and should be switched to use coinset instead.
To support this change, the txstore package must be able to return Credits that satisify the coinset.Coin interface.