Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

M5 - implement point-to-point stream handlers #133

Open
noot opened this issue Jan 20, 2022 · 0 comments
Open

M5 - implement point-to-point stream handlers #133

noot opened this issue Jan 20, 2022 · 0 comments
Labels

Comments

@noot
Copy link
Contributor

noot commented Jan 20, 2022

Task summary

  • implement stream handlers for direct point-to-point messaging ie. to handle an incoming stream and read from it
  • also implement function to open a stream with a peer and send a message to them

Other information and links

streams read from here: https://github.com/MinaProtocol/mina/blob/develop/src/app/libp2p_helper/src/libp2p_helper/app.go#L331

I think this decodes the incoming message:
https://github.com/MinaProtocol/mina/blob/develop/src/app/libp2p_helper/src/libp2p_helper/incoming_msg.go

I think this opens and writes to streams: https://github.com/MinaProtocol/mina/blob/develop/src/app/libp2p_helper/src/libp2p_helper/stream_msg.go

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants