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

Change specs of connect #1

Open
Chat-Wane opened this issue Mar 21, 2017 · 0 comments
Open

Change specs of connect #1

Chat-Wane opened this issue Mar 21, 2017 · 0 comments

Comments

@Chat-Wane
Copy link
Member

connect(from, to) should be extended so from and to are lists of peer ids. The old behavior should still be supported.

Why? Peers in overlay network usually connect/disconnect to more than one peer at a time. Using the current connect version, from may initiates multiple WebRTC connexions to a peer at once when 1 connexion was enough. The modification makes such cases easy to detect.

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

No branches or pull requests

1 participant