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

concensus/parlia.go: reverse iteration order #2626

Closed
wants to merge 2 commits into from

Conversation

zlacfzy
Copy link
Contributor

@zlacfzy zlacfzy commented Aug 2, 2024

Description

When import a lots of block, the recentSnaps cache will not be used when distributeFinalityReward. BTW the ecrecover is take long time. Affect more in erigon stage_sync. So add more snaps to cache when apply snapshots.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • consensus/parlia.go

pythonberg1997
pythonberg1997 previously approved these changes Aug 2, 2024
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