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

dot/network: update notifications protocol to track specific stream w/ established handshake #1524

Closed
noot opened this issue Apr 13, 2021 · 0 comments · Fixed by #1545
Closed
Assignees

Comments

@noot
Copy link
Contributor

noot commented Apr 13, 2021

Task summary

  • currently, a stream is established via handshake, however when messages are sent out it doesn't necessarily send it over the established stream
  • we should track established streams and use them for pushing notifications messages
  • this can be done potentially by storing the stream inside a peer's handshakeData or by tagging the libp2p stream itself https://pkg.go.dev/github.com/libp2p/go-libp2p-core/network#Stat using Stat.Extra
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

Successfully merging a pull request may close this issue.

3 participants