Closed AuHau closed 3 years ago
Potential issues:
You can find multiaddresses from DHT using ipfs dht findpeer
:
USAGE
ipfs dht findpeer <peerID>... - Find the multiaddresses associated with a Peer ID.
SYNOPSIS
ipfs dht findpeer [--verbose | -v] [--] <peerID>...
ARGUMENTS
<peerID>... - The ID of the peer to search for.
OPTIONS
-v, --verbose bool - Print extra information.
DESCRIPTION
Outputs a list of newline-delimited multiaddresses.
With those, you can try all the public multiaddresses to swarm with.
This was closed in #185
In order to speed up the pinning of the data it is desired to so call directly swarm with the Consumer's node. This directly connects the Provider's node to the Consumer's node and bypass the slow content-discovery of DHT.
There is also initial implementation of GraphSync (BitSwap successor) in the latest go-ipfs which can speed up the data retrival.
For this to work though, the Provider's node needs to know the Consumer's node PeerId, for which will be needed the #62