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

Enable gRPC Usage Of LibP2P Streams #81

Open
bonedaddy opened this issue Apr 22, 2020 · 0 comments
Open

Enable gRPC Usage Of LibP2P Streams #81

bonedaddy opened this issue Apr 22, 2020 · 0 comments
Labels
enhancement New feature or request needs-discussion the outcome is not clear and needs to be discussed

Comments

@bonedaddy
Copy link
Collaborator

LibP2P hosts allow creating "streams" that are invoked whenever a request is made to a particular protocol ID. We should enable an RPC that allows registering a handle for a given protocol ID. The handler is pretty simple and consists of:

  • Reading data off the libp2p stream, piping through gRPC
  • Reading data off gRPC stream, piping through libp2p stream

This will need to be a client/server streaming RPC, or a server streaming RPC

@bonedaddy bonedaddy added enhancement New feature or request needs-discussion the outcome is not clear and needs to be discussed labels Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-discussion the outcome is not clear and needs to be discussed
Projects
None yet
Development

No branches or pull requests

1 participant