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

docs: add pk records insertion example #4567

Merged
merged 16 commits into from
Oct 9, 2023
Merged

docs: add pk records insertion example #4567

merged 16 commits into from
Oct 9, 2023

Conversation

pradt2
Copy link
Contributor

@pradt2 pradt2 commented Sep 27, 2023

Description

In the original issue I mention that a lot of external dependencies would be needed to insert records into the IPFS DHT. While this is still true for IPNS-type records, I found that PK-type records can be created with no need for external code. Thus, I decided to try and enhance the already existing example and add the option to insert a PK record there.

Resolves #2263.

Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this! I think that is a good start, happy to go down that path :)

examples/ipfs-kad/README.md Outdated Show resolved Hide resolved
examples/ipfs-kad/src/main.rs Outdated Show resolved Hide resolved
examples/ipfs-kad/src/main.rs Outdated Show resolved Hide resolved
examples/ipfs-kad/src/main.rs Outdated Show resolved Hide resolved
examples/ipfs-kad/src/main.rs Outdated Show resolved Hide resolved
examples/ipfs-kad/src/main.rs Outdated Show resolved Hide resolved
@pradt2
Copy link
Contributor Author

pradt2 commented Oct 2, 2023

Failing checks due to problems upstream...

@thomaseizinger
Copy link
Contributor

thomaseizinger commented Oct 2, 2023

Failing checks due to problems upstream...

Already on it! :)

See #4582 and #4583.

@thomaseizinger
Copy link
Contributor

@pradt2 Can you please look at https://github.com/pradt2/rust-libp2p/pull/1?

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool improvement.

examples/ipfs-kad/README.md Show resolved Hide resolved
@mergify
Copy link

mergify bot commented Oct 5, 2023

This pull request has merge conflicts. Could you please resolve them @pradt2? 🙏

@pradt2 pradt2 closed this Oct 9, 2023
@pradt2 pradt2 reopened this Oct 9, 2023
@pradt2
Copy link
Contributor Author

pradt2 commented Oct 9, 2023

@thomaseizinger I merged your PR and resolved the merge conflicts. is this now ready to be merged?

@thomaseizinger
Copy link
Contributor

@thomaseizinger I merged your PR and resolved the merge conflicts. is this now ready to be merged?

It is! Thank you for the contribution :)

@mergify mergify bot merged commit 8114894 into libp2p:master Oct 9, 2023
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more examples of getting and putting records in the IPFS DHT
3 participants