This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Revisit exposed DHT API #136
Closed
Description
The data types of the return values can be vastly improved + more valuable information can be provided. Currently js-ipfs is fulfilling the contract that was brought into the spec through go-ipfs + js-ipfs-api, but there is nothing stopping us from making it better.
There are also some questions with regards if we should be able to provide a block we don't have. go-ipfs let's you do it, js-ipfs wasn't letting.
Due to time constraints, I'll focus on DHT internals that are used for peerRouting and contentRouting, so that we don't touch too much at surface API and fulfil our goal of having DHT used by internals.