Skip to content

[consensus] add breadth first block sync #21966

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

Merged
merged 1 commit into from
Apr 24, 2025
Merged

[consensus] add breadth first block sync #21966

merged 1 commit into from
Apr 24, 2025

Conversation

mwtian
Copy link
Contributor

@mwtian mwtian commented Apr 24, 2025

Description

This mode is similar to the mode before consensus_batched_block_sync is added. The difference is that missing ancestor blocks are deduped and selected randomly, to reduce duplicated blocks fetched.

Test plan

CI
PT


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@mwtian mwtian requested a review from a team as a code owner April 24, 2025 05:19
Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 8:33pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2025 8:33pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2025 8:33pm

@mwtian mwtian temporarily deployed to sui-typescript-aws-kms-test-env April 24, 2025 20:32 — with GitHub Actions Inactive
@mwtian mwtian enabled auto-merge (squash) April 24, 2025 20:39
@mwtian mwtian merged commit eb66b4d into main Apr 24, 2025
51 of 52 checks passed
@mwtian mwtian deleted the tmw/sync branch April 24, 2025 21:03
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