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

Add reserved-peers protocol for DSN. #1474

Merged
merged 5 commits into from
Jun 9, 2023
Merged

Conversation

shamil-gadelshin
Copy link
Member

This PR adds a custom reserved-peers protocol to our DSN networking stack. This protocol maintains a persistent connection to the predefined set of peers and reconnects after connection failures. Fixes #1325

Code contributor checklist:

@shamil-gadelshin shamil-gadelshin added the networking Subspace networking (DSN) label May 29, 2023
@shamil-gadelshin shamil-gadelshin added this to the Gemini 3 milestone May 29, 2023
@shamil-gadelshin shamil-gadelshin self-assigned this May 29, 2023
Copy link
Member

@nazar-pc nazar-pc left a comment

Choose a reason for hiding this comment

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

Some nits and questions, makes sense overall

crates/subspace-networking/src/reserved_peers.rs Outdated Show resolved Hide resolved
crates/subspace-networking/src/reserved_peers.rs Outdated Show resolved Hide resolved
crates/subspace-networking/src/reserved_peers.rs Outdated Show resolved Hide resolved
crates/subspace-networking/src/reserved_peers.rs Outdated Show resolved Hide resolved
crates/subspace-networking/src/reserved_peers.rs Outdated Show resolved Hide resolved
@shamil-gadelshin shamil-gadelshin requested a review from nazar-pc June 9, 2023 08:56
nazar-pc
nazar-pc previously approved these changes Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking Subspace networking (DSN)
Projects
Development

Successfully merging this pull request may close these issues.

Implement custom "reserved peers" protocol for DSN.
2 participants