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

Optimize CFundVote() function #35

Merged

Conversation

aguycalled
Copy link

This PR removes a few checks from CFundVote() which are unnecessary as validation happens out of this function. This results in a considerable sync speed up.

@mxaddict
Copy link

mxaddict commented Aug 8, 2019

This PR removes a few checks from CFundVote() which are unnecessary as validation happens out of this function. This results in a considerable sync speed up.

Nice!

untestedACK

Copy link

@mxaddict mxaddict left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested on Ubuntu 19.10, test suite passed.

@proletesseract
Copy link
Owner

i'll be testing this tomorrow

@proletesseract
Copy link
Owner

@aguycalled can you point me to where these checks are being made outside the CFundStep() function?

@proletesseract
Copy link
Owner

travis test pass.

@proletesseract
Copy link
Owner

I'm going to merge this so we can get another RC out and we can patch the RC if my questions raise valid concerns.

@proletesseract proletesseract merged commit 25e9863 into proletesseract:v4.7.0-rc Aug 23, 2019
@aguycalled
Copy link
Author

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.

3 participants