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 support for libp2p circuit relay #413

Closed
corverroos opened this issue Apr 12, 2022 · 0 comments
Closed

Add support for libp2p circuit relay #413

corverroos opened this issue Apr 12, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@corverroos
Copy link
Contributor

Problem to be solved

Charon nodes need to have exposed ports in order to connect directly to each other via libp2p. This increases the barrier to entry to get a charon cluster up and running. This applies even more to dkg once it has been added to charon.

Proposed solution

Add support for libp2p circuit relay (1,2) via charon bootnodes.

  • Add an optional libp2p host to the charon bootnode.
  • Add an optional flag to charon for fallback p2p addresses via bootnode circuit relay.
  • libp2p priorises direct connections over circuit relay, so it will only use circuit relay if if cannot connect directly to a peer.
@corverroos corverroos added the enhancement New feature or request label Apr 12, 2022
@corverroos corverroos added this to the Charon V0 milestone Apr 12, 2022
@corverroos corverroos self-assigned this Apr 12, 2022
obol-bulldozer bot pushed a commit that referenced this issue Apr 15, 2022
Adds support for libp2p circuit relay via bootnodes. Allows clusters with non-publicly accessible charon nodes.

category: feature
ticket: #413
obol-bulldozer bot pushed a commit that referenced this issue Apr 18, 2022
- Decouple relays and bootnodes from udpnode.
- Improve gater tests

category: refactor 
ticket: #413
@OisinKyne OisinKyne modified the milestones: Charon V0, Devnet 1 Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants