Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How IPFS search files?

Tags:

ipfs

In order to find the file in IPFS network by it's hash we should ask the adjacent nodes - "Do you have the file with hash H(F)?" and if not, then they propagate the question further.

  1. How IPFS resolve the issue in case of plurality of this kind of requests?
  2. How IPFS search engine works?
like image 327
Andrey Samokhvalov Avatar asked Aug 28 '16 18:08

Andrey Samokhvalov


People also ask

How do I search in IPFS?

ipfs-search.com is a Free and Open Source (FOSS) search engine for directories, documents, videos, music on the Interplanetary Filesystem (IPFS), supporting the creation of a decentralized web where privacy is possible, censorship is difficult, and the internet can remain open to all.

How does IPFS search work?

IPFS uses libp2p, IPLD and Multiformats to provide content-addressed decentralized storage. libp2p is the peer-2-peer network-layer stack that supports IPFS. It takes care of host addressing, content and peer discovery through protocols and structures such as DHT and pubsub.

How are files on IPFS addressed?

Every file added to IPFS is given a unique address derived from a hash of the file's content. This address is called a Content Identifier (CID) and it combines the hash of the file and a unique identifier for the hash algorithm used into a single string.

Can IPFS be tracked?

Every IPFS node on the network has a unique public identifier, known as a PeerID. Since PeerIDs are long-lived identities, it's possible for someone to look up your PeerID in the distributed hash table (DHT) that stores public IPFS metadata and track your IP address over time.


1 Answers

  1. IPFS is based on distributed netwotk each node are client/server so each nodes can create an request or respond an request.

  2. i think you can see around DHT : https://github.com/ipfs/go-ipfs/issues/1396

i hope it's helpfull for you

like image 65
josselin chevalay Avatar answered Sep 20 '22 06:09

josselin chevalay