You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please consider giving this a read and think about maybe implementing something else than Smallest First and Largest First. I am consulting on a project where helios is used and the Coin Selection is resulting in a very large amount of invalid transactions (mainly because of tx size).
The largestFirst/smallestFirst coinselection algorithms were implemented provisionally, and more advanced algorithms will be added to the library in the coming months (a project I'm currently working is having similar issues).
Note to all those reading this: the coinselection interface is a mere function type, so custom algorithms can easily be used with the Helios library (eg. wrapping whatever already exists in other libraries)
Perhaps we can use the Nami Implementation as a basis for this?
https://github.com/berry-pool/nami/blob/main/src/lib/coinSelection.js
The text was updated successfully, but these errors were encountered: