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

Spend creation improved #1032

Merged
merged 3 commits into from
Jun 25, 2021
Merged

Spend creation improved #1032

merged 3 commits into from
Jun 25, 2021

Conversation

levonpetrosyan93
Copy link
Contributor

@levonpetrosyan93 levonpetrosyan93 commented May 10, 2021

This change reduces disk access during joinsplit creation, also fixed error messages when number of inputs exceeds the limit.
EstimateJoinSplitFee() was calling GetAvailableCoins() and GetAvailableLelantusCoins() functions, both are expensive as both are doing disk accesses.
The changes just passes already gotten vectors, as we have it in LelantusJoinSplitBuilder::Build() function.

@lgtm-com
Copy link

lgtm-com bot commented May 10, 2021

This pull request introduces 2 alerts when merging c8a1796 into 677b54c - view on LGTM.com

new alerts:

  • 2 for Unused static function

@lgtm-com
Copy link

lgtm-com bot commented May 10, 2021

This pull request introduces 2 alerts when merging 6ecae1b into 677b54c - view on LGTM.com

new alerts:

  • 2 for Unused static function

@reubenyap reubenyap added this to the v0.14.7.1 milestone Jun 22, 2021
@levonpetrosyan93 levonpetrosyan93 merged commit 8b75140 into master Jun 25, 2021
@levonpetrosyan93 levonpetrosyan93 deleted the spend_creation_improved branch June 25, 2021 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants