Does IPFS use synchronized clocks

Hello,

I am curious to know whether IPFS uses synchronized clocks (NTP), for example to know when a query has been sent, and reply to it only if it was sent recently (current time - message timestamp < timeout) ?

1 Like

IPFS usually doesn’t use time. Content routing uses a DHT with no forwarding.

Does it mean that the request will go from the requester to the DHT, then from DHT to the content provider and back directly from content provider to requester?

No, the requester will query the DHT to find who has the content. Then, the requester will connect to the provider to get the content.

We don’t forward requests for security reasons (DoS, illegal activity, etc.).

Thanks! It makes sense!