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

Optimistic mode #4262

Merged
merged 1 commit into from
Oct 26, 2022
Merged

Optimistic mode #4262

merged 1 commit into from
Oct 26, 2022

Conversation

arnetheduck
Copy link
Member

In optimistic mode, Nimbus will sync optimistically even when the execution client is offline / not available.

An optimistic node is less secure because it has not validated block transactions via the execution client and can thus not be used for validation duties.

In optimistic mode, Nimbus will sync optimistically even when the
execution client is offline / not available.

An optimistic node is less secure because it has not validated block
transactions via the execution client and can thus not be used for
validation duties.
@arnetheduck arnetheduck marked this pull request as ready for review October 26, 2022 17:45
@@ -0,0 +1,27 @@
# Optimistic sync

Optimistic sync is the process of syncing an execution and consensus client concurrently, without having the consensus client wait for the execution client. During optimistic sync, the consensus client quickly syncs up to the latest conesensus but delays verifying block execution payloads - it continuously informs the execution client of the latest consensus head, allowing the execution client to perform a snapshot sync directly to the latest state.
Copy link
Contributor

Choose a reason for hiding this comment

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

In theory -- practically, because of snap sync, ELs wait for CLs to near-finish. This is one motivation for LC sync. Currently optimistic sync isn't that concurrent.

Copy link
Member Author

Choose a reason for hiding this comment

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

because of trusted node sync, the CL near-finishes instantly

@arnetheduck arnetheduck enabled auto-merge (squash) October 26, 2022 19:43
@arnetheduck arnetheduck merged commit b08d0ff into unstable Oct 26, 2022
@arnetheduck arnetheduck deleted the optimistic-mode branch October 26, 2022 20:44
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