stakwork / sphinx-key

Lightning hardware signer on ESP32
29 stars 1 forks source link

broker: different roles for different signers #105

Open Evanfeenstra opened 1 year ago

Evanfeenstra commented 1 year ago

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

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)