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

Signature caching during validation #462

Merged
merged 4 commits into from
May 25, 2023
Merged

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented May 25, 2023

fixes: #398

Avoids redundant ecrecover ops when inputs share the same witness index by incorporating a short-lived cache during signature verification

…ing transaction validation.

This avoids redundantly computing the owner of a signature when several inputs share the same witness.
@Voxelot Voxelot requested a review from a team May 25, 2023 01:52
@Voxelot Voxelot marked this pull request as ready for review May 25, 2023 02:39
@Voxelot Voxelot enabled auto-merge May 25, 2023 02:39
@Voxelot Voxelot added this pull request to the merge queue May 25, 2023
Merged via the queue into master with commit d94b1a7 May 25, 2023
@Voxelot Voxelot deleted the Voxelot/sig-recover-caching branch May 25, 2023 16:28
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.

Signature verification caching
2 participants