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

Test adversarial channel configurations #15

Open
0xekez opened this issue Mar 30, 2023 · 0 comments
Open

Test adversarial channel configurations #15

0xekez opened this issue Mar 30, 2023 · 0 comments
Labels

Comments

@0xekez
Copy link
Contributor

0xekez commented Mar 30, 2023

When the note module is instantiated it can specify a connection and port to pair with, if none is provided, the first voice module to connect with it will become the pair. After pairing, the note module will refuse to connect to any other voice modules, even ones on the same chain, and even in the face of channel closure.

There are two reasons for this behavior:

  1. It improves the UX of sending messages, as there is only one route for them.
  2. It simplifies state in the note module.

We should test (instantiate with pair, pair with first connection) x (won't accept other pairs, reconnects after the channel closes).

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

1 participant