Closed swarna1101 closed 1 year ago
Thanks for the PR @swarna1101.
I am not sure exactly what this option does. Can you link to any documentation or code from js-ipfs
that explains what this option is?
Thanks for the PR @swarna1101.
I am not sure exactly what this option does. Can you link to any documentation or code from
js-ipfs
that explains what this option is?
That link just goes to the repo and nothing specific about Reframe. Do you have a more specific link?
I am not sure exactly what this option does. Can you link to any documentation or code from
js-ipfs
that explains what this option is?
The reframe
option is an experimental feature in the js-ipfs library that enables the use of the Reframe protocol when interacting with an IPFS node. The Reframe protocol is a delegated routing protocol that aims to improve the performance of fetching content from the IPFS network.
The IPFS blog post on the state of IPFS in JavaScript: https://blog.ipfs.tech/state-of-ipfs-in-js/
You can also find the source code for the js-ipfs library on GitHub: https://github.com/ipfs/js-ipfs
The reframe
option is currently implemented in the IPFS
class in the src/core/index.js
file in the js-ipfs repository. You can see the implementation of the reframe
option and how it is used in the code by looking at this file.
This PR enables the use of the Reframe protocol when interacting with the IPFS node using js-ipfs. The Reframe protocol is a delegated routing protocol that aims to improve the performance of fetching content from the IPFS network.
To enable the Reframe protocol, the
reframe
option was added to theoptions
object when creating thejsIpfs
provider. This allows us to take advantage of the improved performance provided by the Reframe protocol when fetching content from the IPFS node.