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

feat: Add reconnect option to address book #356

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

dariusc93
Copy link
Owner

@dariusc93 dariusc93 commented Dec 20, 2024

This PR adds an option to AddPeerOpt to reconnect to peer upon the connection closing, with a specific number of attempts before backing off from any attempts of connection. In addition, this PR readds missing logic and misc cleanup.

@dariusc93 dariusc93 self-assigned this Dec 20, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@dariusc93 dariusc93 marked this pull request as ready for review December 20, 2024 01:49
@dariusc93 dariusc93 merged commit 984d903 into libp2p-next Dec 20, 2024
2 checks passed
@dariusc93 dariusc93 deleted the feat/addressbook-peering-reconnect branch December 20, 2024 02:09
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.

1 participant