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

[Optimize] Add sync leniency for skipping REST solutions and transctions #3234

Merged
merged 6 commits into from Apr 26, 2024

Conversation

raychu86
Copy link
Contributor

Motivation

Previously we were skipping incoming REST transactions and solutions if the node was not synced. This adds a bit of leniency, so that these solutions/transactions will be processed as long as the node is within SYNC_LENIENCY of being synced.

Currently the SYNC_LENIENCY is set to 10 blocks.

@howardwu howardwu merged commit 9be1039 into mainnet-staging Apr 26, 2024
24 checks passed
@howardwu howardwu deleted the rest/sync-leniency branch April 26, 2024 18:00
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.

None yet

2 participants