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

[Bug Bounty] Limit number of provers we connect to #3090

Merged
merged 5 commits into from Feb 14, 2024

Conversation

vicsn
Copy link
Collaborator

@vicsn vicsn commented Feb 12, 2024

Motivation

Partially mitigates: #3011 - clients are not syncing on testnet because they're only connected to provers.
Explicitly limits the number of prover connections we maintain - assuming honest peer responses.

Test Plan

Should be stress tested on a network with clients and provers.

@vicsn vicsn requested a review from ljedrz February 12, 2024 15:16
Copy link
Collaborator

@ljedrz ljedrz left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Signed-off-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
@howardwu howardwu merged commit 49c9607 into mainnet Feb 14, 2024
3 of 24 checks passed
@howardwu howardwu deleted the improve_peering_robustness branch February 14, 2024 01:36
@howardwu howardwu changed the title Limit number of provers we connect to [Bug Bounty] Limit number of provers we connect to Feb 16, 2024
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

3 participants