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

Have you thought of two state machines communicating? #10

Open
RustMania opened this issue Jun 1, 2023 · 0 comments
Open

Have you thought of two state machines communicating? #10

RustMania opened this issue Jun 1, 2023 · 0 comments

Comments

@RustMania
Copy link

Hi,
have you thought of the use case of a key refresh in TSS lib? Two independent machines have to send messages sometimes to each other during key refresh. Abstract sink in messages_tx forwards all msgs to another layer. In case two machines need to talk directly occasionally, that layer should accommodate a logic to bridge machines' channels, and this logic, in my opinion, depends on the protocol and it does not look like a part of that layer's architecture. Your new design allows simple and transparent implementation of the feature.
It could also be a subject for the article in Medium, part 2.

Best
Oleg

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