-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Awesome DHT PART I #822
Awesome DHT PART I #822
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
realised now that I've never submitted the CR :( Don't worry, I am working on it :)
* @param {function(Error, Array<PeerInfo>)} [callback] | ||
* @returns {Promise<PeerInfo>|void} | ||
*/ | ||
findprovs: promisify((key, callback) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/findprovs/findProvs/g
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm, let's keep using go-ipfs API for now - ipfs-inactive/interface-js-ipfs-core#136
* @param {function(Error, Array<Multiaddr>)} [callback] | ||
* @returns {Promise<Array<Multiaddr>>|void} | ||
*/ | ||
findpeer: promisify((peer, callback) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/findpeer/findPeer/g
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm, let's keep using go-ipfs API for now - ipfs-inactive/interface-js-ipfs-core#136
:D |
Ok, here is an update:
|
This PR got quite big and caused changed throughout the libp2p interfaces, I was hoping to get this all in one release but it seems that now I'm blocking @pgte and the IIIF endeavor from moving smoothly. I'm going to divide this endeavor in Part I and part II, Part I being all the internal pieces that were already developed and integrated and Part II will be the final interop tests and remaining pieces to make the use of DHT faster. |
Main work tracker: libp2p/js-libp2p-kad-dht#1
Integrate libp2p-ipfs-browserwill only add DHT there after Relay is inUPDATE: I (@diasdavid) have been updating and expanding this list as needed