vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

Expensive coin-selection #70

Open tiero opened 6 months ago

tiero commented 6 months ago

The default ocean coin selection strategy used more inputs than needed, creating useless change. I think this comes from TDEX Daemon's goal to fragment more as possible. I would use a branch and bound algorithm if possible to switch

https://blockstream.info/liquidtestnet/tx/e10a2150165396efeb8ec3536e182efc1a7b59dbace4b769f7770c12de14d685?input:0