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

Retry connecting to the seed servers when there is no connected peers #38

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

josiasal
Copy link
Contributor

@josiasal josiasal commented Feb 3, 2022

This MR includes an update that allows the nodes to retry connecting to the seeds if the previous attempt has failed.

Currently, if the connection with the seed server fails, then the current node will not try again unless the user restarts the node.

This change moves the attempt to connect to seeds and preferred peers to the main connection loop. In this case, if the node does not have any peers connected, then it will try to connect to the seed servers.

@josiasal josiasal force-pushed the feature/retry-connecting-to-seeds branch from a70e531 to 2cb4b6a Compare February 3, 2022 16:29

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@josiasal josiasal force-pushed the feature/retry-connecting-to-seeds branch from 2cb4b6a to 5d71d38 Compare February 3, 2022 17:31
@josiasal josiasal merged commit 1a0c602 into 3.0.0 Feb 3, 2022
@johanneshahn johanneshahn deleted the feature/retry-connecting-to-seeds branch November 21, 2023 23:16
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