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

Channel connector #493

Open
cytadela8 opened this issue Jul 20, 2018 · 1 comment
Open

Channel connector #493

cytadela8 opened this issue Jul 20, 2018 · 1 comment
Labels

Comments

@cytadela8
Copy link
Contributor

Epoch implements a network protocol for Channel negotiation and handling. We want to create a ChannelConnector whose role will be to implement that protocol.

ChannelConnector should:

  • take advantage of implemented Channel.Worker for storing of the channel state and managing channel safety.
  • follow the epoch protocol for channel negotiation
  • handle timeouts properly

Relevant docs:

@cytadela8
Copy link
Contributor Author

cytadela8 commented Jul 20, 2018

I realize now that some reasearch into what exactly epoch does is required. There is probably some significant split between Initiator and Responder. We probably want to implement separate ChannelResponder and ChannelInitiator modules. Where ChannelResponder imlements some server and ChannelInitiator implements some client.

Details of epoch channel network protocol aren't documented so a lot of referencing epoch code will be probably required.

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

4 participants