If I upload a file and declare to the whole network that I have the file (write the root hash to DHT), and I quit the network some time later (no other node has saved my file before), how does DHT remove the invalid entry? Is it deleted when another node requests the root hash or is there some other mechanism?
1 Like
Provider records expires after some time (I belive the default is 2hours).
While you are online each 2hours (or how long the time is actually) you keep resending thoses records. If you don’t they stop working.
1 Like
Default is 24 hours I think. With default republishing period being 12h in go-ipfs.
2 Likes
I see. Thank you very much