-
Notifications
You must be signed in to change notification settings - Fork 107
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: Helia providing content #657
Comments
Seems related to libp2p/js-libp2p#2785 |
Hey! I started building a project with Helia to learn about p2p and ipfs... Is this still an issue? My project is basically complete except for one problem:
I'm having a hard time finding any documentation on having a helia node advertise CIDs on the DHT. |
@gr33nT Hey, did you provide your content explicitly? currently, Helia does not do this by default. This issue is tracking the work required to document this more clearly so folks don't run into the issue you did :) We are still not providing by default, and won't for the foresee-able future, but it's something we're open to discussing |
@SgtPooki Thanks for your response! So, I was NOT explicitly providing and that would explain everything 😅. Adding I would suspect the entry in DHT expires every so often and I would need to re-provide files? also, if for whatever reason, I have files already in the blockstore but not provided, is there an easy way to loop through all the CID's and provide them again? Say, when the server starts? I created my node like this
I've been adding content by doing: I apologize if these questions seem basic or if Im missing something obvious in documentation. Any help or pointers would be greatly appreciated |
We had a user reach out to us on slack about their content not being provided in the DHT. They were unaware that Helia does not provide content by default.
This is a different experience than Kubo, and we have no documentation mentioning this requirement.
What can we do:
.provide
resolves?FINAL_PEER
events they get?The text was updated successfully, but these errors were encountered: