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

Fix: WorldTree::sync_to_head #31

Merged
merged 6 commits into from
Nov 9, 2023
Merged

Fix: WorldTree::sync_to_head #31

merged 6 commits into from
Nov 9, 2023

Conversation

0xKitsune
Copy link
Contributor

This PR updates logic within WorldTree::sync_to_head to sync from last_synced_block to latest_block. Previously this function was syncing from last_synced_blockto min(last_synced_block + window_size, latest_block).

Additionally, this PR removes all hard coded throttles in favor of a ThrottledProvider.

@0xKitsune 0xKitsune merged commit e84babd into main Nov 9, 2023
2 checks passed
@0xKitsune 0xKitsune deleted the 0xkitsune/sync-to-head branch November 9, 2023 15:20
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.

2 participants