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

feat(core-blockchain): increase block download frequency using fastSync option #4805

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

sebastijankuzner
Copy link
Contributor

@sebastijankuzner sebastijankuzner commented Jan 29, 2024

Summary

On readonly nodes that have p2p disabled or doesn't expose public IP fastSync mode can be used to improve the download block frequency. Node that have fastSync enabled will use the 8 sec rate over the default 60 sec rate to improve sync. This results in more frequent block download actions.

Feature can be enabled via: CORE_BLOCKCHAIN_FAST_SYNC env variable.

Checklist

  • Tests (if necessary)
  • Ready to be merged

@sebastijankuzner sebastijankuzner changed the title feat(core-blockchain): support faster sync frequency using fastSync mode feat(core-blockchain): increase block download frequency using fastSync option Jan 29, 2024
@sebastijankuzner sebastijankuzner merged commit e2aa715 into develop Jan 29, 2024
46 checks passed
@sebastijankuzner sebastijankuzner deleted the feat/core-blockchain/fast-sync branch January 29, 2024 17:39
sebastijankuzner added a commit that referenced this pull request Feb 1, 2024
…nc option (#4805)

* Fast sync default

* Use value

* fix tests
sebastijankuzner added a commit that referenced this pull request Feb 1, 2024
…nc option (#4805)

* Fast sync default

* Use value

* fix tests
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