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

beacon/light: optimize lock usage in HeadTracker #30485

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

zhiqiangxu
Copy link
Contributor

update.Validate() can be called before grabbing the lock.

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holiman holiman added this to the 1.14.12 milestone Oct 2, 2024
@holiman holiman merged commit 84a8021 into ethereum:master Oct 2, 2024
3 checks passed
islishude pushed a commit to islishude/go-ethereum that referenced this pull request Oct 6, 2024
minimizes the time when the lock is held
yunyc12345 pushed a commit to NBnet/go-ethereum that referenced this pull request Nov 7, 2024
minimizes the time when the lock is held
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