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

refactor(crypto): decode data to point on verification #1339

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Jun 12, 2024

Description

This PR makes signature and public key objects lazy, decoding data to points on the curve only during verification.
This helps to improve the performance of the software when dealing with raw data blocks.

@b00f b00f changed the title Improve crypto refactor(crypto): decode data to point on verification Jun 12, 2024
@themantre themantre merged commit 268fd72 into pactus-project:main Jun 12, 2024
10 checks passed
@b00f b00f deleted the improve-crypto branch June 12, 2024 17:00
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.

2 participants