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

Add dtls multiaddr #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add dtls multiaddr #76

wants to merge 1 commit into from

Conversation

backkem
Copy link

@backkem backkem commented Nov 26, 2018

This PR adds a dtls multiaddr to resolve #75. I've not foreseen a value part for now. 0x20 also seems free in multiformats/multicodec. Let me know if I should also open a PR on that repo.

@Stebalien
Copy link
Member

So, regardless of whether or not go-libp2p can currently use dtls, we can still add the protocol code. However,

  1. We should first PR against https://github.com/multiformats/multicodec as that's the complete list of codecs.
  2. We should probably pick a two-byte multicodec as we have very few single-byte multicodecs available.

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 this pull request may close these issues.

Add DTLS protocol
2 participants