Skip to content

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

Merged
howardwu merged 5 commits intomainnetfrom
improve_peering_robustness
Feb 14, 2024
Merged

[Bug Bounty] Limit number of provers we connect to#3090
howardwu merged 5 commits intomainnetfrom
improve_peering_robustness

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
@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.

3 participants