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

Request for a feature in CLI: Combining automatic content routing based discovery and --providers value. #486

Open
agmap opened this issue Sep 16, 2024 · 1 comment

Comments

@agmap
Copy link

agmap commented Sep 16, 2024

Sometimes the automatic content routing based discovery finds no providers/candidates.
So I have to add manually additional --providers value which are not on DHT or cid.contact.
Unfortunately, this disables automatic content routing based discovery.

It would be very helpful if I could define via CLI when adding one or more –providers value that the that the automatic content routing based discovery remains activated.

The definition of the discovery sequence would also be very helpful:

  1. first automatic discovery and then --provider
    or
  2. first --provider and then automatic discovery

I would like to add this function, but unfortunately I am not able to do so.

Or at least add the http trustless gateway --provider http://trustless-gateway.link --provider http://ipfs.io into the default automatic content routing based discovery. 🙏 @rvagg @willscott

@m0ar
Copy link

m0ar commented Oct 16, 2024

Chiming in randomly here: this would be hugely helpful when trying to fish out large collections of CIDs, where most resolve quickly in gateways but some are only retrievable directly from super sluggish peers. Being able to prefer a given trustless gateway, and falling back to automatic routing would save soo much time 🙏

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

No branches or pull requests

2 participants