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

Cannot enable 'outgoing' multilink without 'incoming' multilink #1533

Open
fuzzypixelz opened this issue Oct 14, 2024 · 1 comment
Open

Cannot enable 'outgoing' multilink without 'incoming' multilink #1533

fuzzypixelz opened this issue Oct 14, 2024 · 1 comment
Labels

Comments

@fuzzypixelz
Copy link
Member

fuzzypixelz commented Oct 14, 2024

In order for a peer to establish multiple links to a router, it needs to set transport/unicast/multilink to a value > 1. This means that said peer would also be accepting multiple links from other peers.

Thus there is no way to enable multilink for 'outgoing' connections without inadvertently doing so for 'incoming' connections.

A possible solution is configuring transport/unicast/multilink like so:

{
  "enabled": true,
  "max_incoming_links": 1,
  "max_outgoing_links": 10,
}

System info

@Mallets
Copy link
Member

Mallets commented Oct 14, 2024

As far as I recall, no limitations are in place for outgoing links. So a peer can always open as many links it wants. The limit is on the incoming links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants