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
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:
This will need to be a client/server streaming RPC, or a server streaming RPC