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: adds transitive sharing of peer information #618

Draft
wants to merge 1 commit into
base: feat/peer-recon-ring
Choose a base branch
from

Conversation

nathanielc
Copy link
Collaborator

With this change all the pieces are in place such that peers can discover peers from connected peers and connect to those peers.

Fixes: #605
Fixes: #606

@nathanielc nathanielc force-pushed the feat/peer-recon-ring branch 2 times, most recently from 5b74e9d to 9e8d80e Compare November 26, 2024 21:14
With this change all the pieces are in place such that peers can
discover peers from connected peers and connect to those peers.

Fixes: #605
Fixes: #606
assert!(is_bi_connected(&test_runner_a, &test_runner_b).await?);
assert!(is_bi_connected(&test_runner_b, &test_runner_c).await?);
// We expect that a and c find each other through b and become connected
assert!(is_bi_connected(&test_runner_a, &test_runner_c).await?);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the key test, it shows peers can find each other transitively and connect.

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