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

[GRPH-94] Improve block generation performance #139

Merged
merged 5 commits into from
Sep 24, 2019
Merged

Conversation

gladcow
Copy link

@gladcow gladcow commented Sep 20, 2019

Backport of the bitshares/bitshares-core#1251

Improved block generating performance by caching public keys extracted from transaction signatures which reduces number of ECDSA verification calls.

QA notes: this backport doesn't change code behaviour, so all tests should pass as before.

and
* updated get_signature_keys() to return a const reference,
* get_signature_keys() will update signees on first call,
* modified test cases and wallet.cpp accordingly,
* no longer construct a new signed_transaction object before pushing
and removed unused new added constructor and _get_signature_keys() function from signed_transaction struct
@bobinson bobinson merged commit e377478 into develop Sep 24, 2019
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