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

fix(dre): [DRE-241] Prefer existing nodes in subnet when selecting best results #734

Merged

Conversation

sasa-tomic
Copy link
Member

This commit modifies the DecentralizedSubnet implementation in the network.rs file to prefere existing nodes in the subnet when selecting the best results.

This change ensures that the same nodes are retained in the subnet if they are already there.

…st results

This commit modifies the `DecentralizedSubnet` implementation in the `network.rs` file to prefere existing nodes in the subnet when selecting the best results.

This change ensures that the same nodes are retained in the subnet if they are already there.
@sasa-tomic sasa-tomic requested a review from a team as a code owner August 16, 2024 08:31
rs/decentralization/src/network.rs Outdated Show resolved Hide resolved
rs/decentralization/src/network.rs Outdated Show resolved Hide resolved
@sasa-tomic sasa-tomic merged commit ec22c7c into main Aug 16, 2024
4 checks passed
@sasa-tomic sasa-tomic deleted the DRE-241-node-replacement-in-the-subnet-should-prefer-alrea branch August 16, 2024 09:36
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.

4 participants