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

Fall back to public gateway after trying local API #26

Closed
hackergrrl opened this issue Apr 20, 2016 · 1 comment
Closed

Fall back to public gateway after trying local API #26

hackergrrl opened this issue Apr 20, 2016 · 1 comment

Comments

@hackergrrl
Copy link
Contributor

If I run ipget <hash> I'd expect to (in order):

  1. connect to the IPFS node running on my local machine
  2. ask the public gateway via HTTPS

We could also try spawning an ephemeral node, but the gateway is already well-connected and should give a faster response. Lots of switches and flags for controlling this flow can come in after.

@hackergrrl hackergrrl mentioned this issue Apr 20, 2016
22 tasks
@hackergrrl hackergrrl added this to the 1.0.0 milestone Sep 14, 2016
@hackergrrl
Copy link
Contributor Author

We already spawn an ephemeral node, so let's stay with this for the time being. Using the public gateway would only let us fetch individual files -- right? -- which would mean many round trips for fetching directories.

@hackergrrl hackergrrl removed this from the 1.0.0 milestone Sep 14, 2016
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

1 participant