-
Notifications
You must be signed in to change notification settings - Fork 17
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
Convert dht doc to dns packet #224
Conversation
22cd45a
to
3405197
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome work!
// 6. Create document | ||
Ok(Document { | ||
id: did_uri, | ||
context: None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is context: None on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, it is. did:dht
does not use context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is amazing, great work!
0ba32fa
to
f4431de
Compare
Co-authored-by: nitro-neal <[email protected]>
* main: Convert dht doc to dns packet (#224)
The last step in converting between did:dht documents and DNS packets. This includes:
Possibly in follow up PR: More test coverage for
Document::to_packet
andDocument::from_packet
for unhappy paths.