Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Deploy go with delegated routing capabilities #426

Closed
jacobheun opened this issue Aug 22, 2018 · 6 comments
Closed

Deploy go with delegated routing capabilities #426

jacobheun opened this issue Aug 22, 2018 · 6 comments
Labels
topic/libp2p Topic libp2p

Comments

@jacobheun
Copy link

Once ipfs/kubo#4595 is completed, we will need to deploy the updated go-ipfs version. This is needed to allow js-ipfs nodes to use go-ipfs as a delegate node for peer and content routing, which will enable js-ipfs nodes in limited networks to better connect and provide content to the greater ipfs network.

The js-ipfs delegated routing work is targeting to be completed by end of this quarter, but won't be functional until the go-ipfs deployment occurs.

This is currently blocked by ipfs/kubo#4595.

Reference libp2p/js-libp2p#120

@ghost ghost self-assigned this Aug 27, 2018
@ghost ghost added status/deferred Conscious decision to pause or backlog status/in-progress In progress topic/libp2p Topic libp2p and removed status/deferred Conscious decision to pause or backlog labels Aug 28, 2018
@eefahy
Copy link
Contributor

eefahy commented Oct 23, 2018

Related PR: ipfs/kubo#5565

@eefahy eefahy added status/ready Ready to be worked and removed status/in-progress In progress labels Jan 15, 2019
@eefahy
Copy link
Contributor

eefahy commented Feb 6, 2019

Closed when we deployed the preload nodes

@eefahy eefahy closed this as completed Feb 6, 2019
@ghost ghost removed the status/ready Ready to be worked label Feb 6, 2019
@jacobheun
Copy link
Author

@eefahy @lgierth do the preload nodes expose the http api? I tried connecting to them on 8080, but it doesn't resolve.

@lidel
Copy link
Member

lidel commented Mar 12, 2019

@jacobheun AFAIK preload nodes only allow GET requests to /api/v0/refs, everything else is (should be) blocked:

$ curl -s -I -X GET 'https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=bafkreigh2akiscaildcqabsyg3dfr6chu3fgpregiymsck7e7aqa4s52zy'
HTTP/1.1 200 OK

@alanshaw
Copy link
Member

This is my understanding too - @jacobheun what needs to be changed to allow the preload nodes to act as delegated routers?

@jacobheun
Copy link
Author

https://github.com/ipfs/go-ipfs/pull/4595/files shows the needed endpoints.

  • dht/findpeer
  • dht/findprovs
  • swarm/connect
  • refs?r=true

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/libp2p Topic libp2p
Projects
None yet
Development

No branches or pull requests

4 participants