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

broker: different roles for different signers #105

Open
Evanfeenstra opened this issue Aug 17, 2023 · 0 comments
Open

broker: different roles for different signers #105

Evanfeenstra opened this issue Aug 17, 2023 · 0 comments
Assignees

Comments

@Evanfeenstra
Copy link
Collaborator

in the HELLO message, we should include a "role" as the payload

An optional byte in the HELLO payload to say what "role" it is

  • 0: receive only
  • 1: can send also
  • maybe we need more roles, like for onchain stuff vs lightning stuff?

Store the role in the Connections map

Sort VLS message types by "send" or "receive" and only send "send" msgs to the phone (or any with the "sender" role)

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

2 participants