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 verification caching #398

Closed
Voxelot opened this issue Mar 20, 2023 · 0 comments · Fixed by #462
Closed

Signature verification caching #398

Voxelot opened this issue Mar 20, 2023 · 0 comments · Fixed by #462
Assignees

Comments

@Voxelot
Copy link
Member

Voxelot commented Mar 20, 2023

In the current signature verification logic, a separate ec-recover is performed for every signed input. However, if inputs share the same owner & witness index, they should be able to re-use the recovered identity. This would also mean that gas pricing should take into account the number of distinct witness indexes vs the total number of signed inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants