6

In order to find the file in IPFS network by its 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?
Pang
  • 9,564
  • 146
  • 81
  • 122

2 Answers2

4
  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

4

The findProvs call will let you know if there are any current providers https://github.com/ipfs/interface-ipfs-core/blob/master/SPEC/DHT.md#dhtfindprovs

barbsan
  • 3,418
  • 11
  • 21
  • 28
David Dias
  • 1,792
  • 3
  • 16
  • 28