Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR-PR02 #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

PR-PR02 #4

wants to merge 8 commits into from

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