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: replace bootstrap node if bucket full #1051

Merged
merged 1 commit into from Dec 6, 2023

Conversation

maqi
Copy link
Member

@maqi maqi commented Dec 5, 2023

Description

Summary generated by Reviewpad on 06 Dec 23 10:25 UTC

This pull request includes a feature that replaces a bootstrap node if the bucket is full. It modifies multiple files in the sn_networking library, including cmd.rs, driver.rs, event.rs, and lib.rs. The changes involve adding logic to check if a dial peer is a bootstrap node and replacing it if necessary, as well as removing a bootstrap node from a full bucket if present.

@maqi maqi added the DoNotMerge label Dec 5, 2023
@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Dec 5, 2023
@joshuef joshuef removed the DoNotMerge label Dec 6, 2023
@maqi maqi force-pushed the try_to_replace_bootstrap_nodes branch from 8e2e7a3 to 2c74ad9 Compare December 6, 2023 10:26
@maqi maqi enabled auto-merge December 6, 2023 10:26
@maqi maqi added this pull request to the merge queue Dec 6, 2023
Merged via the queue into maidsafe:main with commit c54e734 Dec 6, 2023
29 checks passed
@maqi maqi deleted the try_to_replace_bootstrap_nodes branch December 6, 2023 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants