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

Improve finding peers #7626

Merged
merged 18 commits into from
Sep 30, 2024
Merged

Improve finding peers #7626

merged 18 commits into from
Sep 30, 2024

Conversation

pinges
Copy link
Contributor

@pinges pinges commented Sep 17, 2024

PR description

I encountered a besu node that stopped syncing because it had no peers and the handshake with any peer that it was trying to connect to timed out.
To make sure that the peers that we add to our peer table work correctly after bonding with a peer on the discovery level we try to connect to them on the rlpx level, and when this fails with a timeout exception we do not add them to the peer table.

pinges and others added 13 commits September 10, 2024 15:15
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
@pinges pinges enabled auto-merge (squash) September 20, 2024 06:59
Copy link
Contributor

@jframe jframe left a comment

Choose a reason for hiding this comment

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

LGTM

@pinges pinges merged commit 9c80c9b into hyperledger:main Sep 30, 2024
43 checks passed
@pinges pinges deleted the improveFindingPeers branch September 30, 2024 22:59
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