https://www.youtube.com/watch?v=PlvMGpQnqOM After watching the above tutorial on the IPFS protocol, I've learned that nodes use a distributed hash table(DHT) to query CID from other peers and fetch data. This leads to the logical conclusion that in order for me to let other peers download data from my node after adding it to IPFS using the IPFS.add() method, either the IPFS.add() method needs to include functionality for propagating my updated local DHT(new CID, peerID pair) to other connected peers or there has to be separate methods in the JS IPFS source code that allows me to propagate my local DHT to other peers. In essence, I want to know exactly how this works: "When you add a file to IPFS, you're putting it in your own node and making it accessible to peers on the network while your node is running"(https://proto.school/regular-files-api/03). Hence, I am religiously studying the JS IPFS source code(https://github.com/ipfs/js-ipfs) to find this functionality to no avail. Please help me find the methods within JS IPFS that allow other peers to recognize that I have a certain file that I've added to IPFS.
Does the IPFS.add() method automatically update my local DHT and propagate it to other peers?
112 Views Asked by rasputin At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in IPFS
- WebTransportError in firefox
- Can I build a dynamic Web3 site using IPFS?
- In IPFS, will same content produce the same CID on 2 different peers?
- My NFT token Metadata is not opened by Opensea
- How to pin an object (as opposed to a file) to and IPFS node?
- How do I include an already existing web3 directory in a new directory without reuploading it
- I am trying to implement a python3 library to create IPFS-Merkle DAGs but I have been unable to figure out the correct way to specify links?
- Hugo generated site is not deploying correctly, what am I doing wrong?
- NextAuth and IPFS error when hosting on app.fleek.co
- How to setup ipfs on node or in anular app using aws ec2 instance kubo setup
- IPFS not announcing CIDs on indirect peers and unable to get through cmd as CID is not propagated using DHT
- IPFS RPC API : ipfs routing findprovs provides an unreadable response
- WebSocket connection Failed when using Helia IPFS in react app
- IPNS, ENS, content hash records
- ipfs - I just cannot get it working reliably
Related Questions in DHT
- In IPFS, will same content produce the same CID on 2 different peers?
- Save values from a DHT11-Sensor to influxDB container
- How do I periodically remove inactive nodes and flush the routing table with the use of kademlia python library?
- How can I index the bittorrent DHT properly for infohashes?
- IPFS not announcing CIDs on indirect peers and unable to get through cmd as CID is not propagated using DHT
- which libp2p module do I use to broadcast data to peers in the network e.g blockchain? do I use mdns or kademlia for blockchain?
- go-libp2p: my nodes don't find any peers with DHT peer discovery
- Kademlia get_providers() fails to find nodes that start_providing() in Rust libp2p
- Are DHT algorithms good for handling large amount of counting states?
- UDP socket connected to DHT node, not recieving data
- In Bittorrent how to announce utp port for other peers
- trying to understand the flow chart of the extended message protocol as mentioned in bep 10
- Do I remove peers after a certain amount of time?(mainline dht)
- How to find metadata in the dht while only having the Infohash?
- Is it possible to receive from one port and send through another in mainline dht?
Related Questions in JS-IPFS
- How to Add Data to IPFS through Smart Contract in Truffle?
- How to get multiAddr from js-ipfs node running in browser, ipfs.config.get("Addresses.API") always is empty
- With Inline script working, How can I make my external .js file work properly with my HTML file?
- js-ipfs connect two browser peers
- how to get CID of file when creating using ipfs.files.write using ipfs-http-client
- Error when I try to add ipfs file with my nodejs Dapp
- How to store file input content in a variable for later use in Nodejs?
- How to connect to IPFS node started programmatically using ipfs-core from a java server?
- Does js-ipfs have a readonly gateway server?
- How to delete repo.lock from IPFS in Next.js (or how to get rid of the error)
- Typeerror: source is not iterable while uploading file into ipfs by using web3storage
- IPFS file extension for GLB
- How do I set up and run my own delegated routing node in IPFS?
- Where exactly in IPFS.create() or IPFS.add() does my node propagate an updated distributed hash table upon adding a file?
- Does the IPFS.add() method automatically update my local DHT and propagate it to other peers?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?