github.com/decred/dcrlnd@v0.7.6/btcwalletcompat/btcwallet_compat.go (about) 1 package btcwalletcompat 2 3 // CoinSelectionStrategy is a port of btcwallet's CoinSelectionStrategy type. It 4 // is not currently supported in dcrwallet. 5 type CoinSelectionStrategy int 6 7 const ( 8 // CoinSelectionLargest always picks the largest available utxo to add 9 // to the transaction next. 10 CoinSelectionLargest CoinSelectionStrategy = iota 11 12 // CoinSelectionRandom randomly selects the next utxo to add to the 13 // transaction. This strategy prevents the creation of ever smaller 14 // utxos over time. 15 CoinSelectionRandom 16 ) 17 18 // ManagedPubKeyAddress is a shim for btcwallet's waddrmgr.ManagedPubKeyAddress. 19 type ManagedPubKeyAddress interface{} 20 21 // ManagedPubKeyAddress is a shim for btcwallet's waddrmgr.ManagedAddress. 22 type ManagedAddress interface{}