Skip to content

Conversation

@AliAshrafD
Copy link

Minimizing the number of inputs. It sorts the utxo for choosing the maximum number of inputs required for this txn. This way we get rid of tiny ones in the few first transactions.

Sorting the retrieved UTXO, order by amount, ascending to be used for the selection of the smallest set of inputs for the txn under construction.
@AliAshrafD AliAshrafD marked this pull request as ready for review April 25, 2021 11:35
@AliAshrafD
Copy link
Author

Just commented out the sorting for not being optimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant