-
Notifications
You must be signed in to change notification settings - Fork 67
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
Intern BLS lazy public keys #3141
Conversation
f245572
to
a64ae0e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think about whether we can drop the requirement of the user of the interner to implement a specific Drop by wrapping the type.
Also fix a couple of Clippy warnings.
d3659f6
to
f01a778
Compare
Did so, resulted in a much nicer API. :) |
f01a778
to
062b8af
Compare
Also it looks like there are untouched filed with clippy warnings |
With this changes, in Safari we get consensus in ~12secs Previously, in Safari, we used to get consensus in ~23secs |
062b8af
to
fea8c7e
Compare
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fea8c7e
to
5438dec
Compare
This ensures that for each compressed public key there's at most one lazy public key, which means everyone profits when it is uncompressed. This drops the (unused: never read from) BLS public key cache.
5438dec
to
6b3a3e0
Compare
This ensures that for each compressed public key there's at most one lazy public key, which means everyone profits when it is uncompressed.
This drops the (unused: never read from) BLS public key cache.