Skip to content
This repository has been archived by the owner. It is now read-only.

Is there any way to check the "health" of an ipfs file? #153

Closed
traverseda opened this issue Jul 29, 2016 · 8 comments
Closed

Is there any way to check the "health" of an ipfs file? #153

traverseda opened this issue Jul 29, 2016 · 8 comments
Labels

Comments

@traverseda
Copy link

traverseda commented Jul 29, 2016

With torrents, you can generally get the number of seeders. Does ipfs have a similar mechanism? Can ipfs have a similar mechanism?

@RichardLitt
Copy link
Contributor

RichardLitt commented Jul 29, 2016

Currently, it looks like you can only get a lower bound: ipfs dht findprovs <hash> | wc -l. For example:

$ ipfs dht findprovs QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ | wc -l
20

@traverseda
Copy link
Author

traverseda commented Jul 29, 2016

And what, exactly, does that do?

What's a prov?

@RichardLitt
Copy link
Contributor

RichardLitt commented Jul 29, 2016

A provider, here represented by the peer ID, is a peer in the DHT that can provide a specific value, given a key. In essence, AFAIK, a seeder. So, there are 20 seeders for that hash.

@Ghoughpteighbteau
Copy link

Ghoughpteighbteau commented Jul 29, 2016

http://ipfs.io/ipfs/QmW2WQi7j6c7UgJTarActp7tDNikE4B2qXtFCfLPdsgaTQ/cat.jpg

why do so many people have this picture 😆

@Kubuxu
Copy link

Kubuxu commented Jul 29, 2016

Because people love kittens.

@EtherTyper
Copy link

EtherTyper commented Aug 9, 2016

@Ghoughpteighbteau It's a picture used in some IPFS tutorials.

@madavieb
Copy link

madavieb commented May 23, 2017

@shessenauer
Copy link

shessenauer commented Apr 3, 2018

Is dht findprovs available with ipfsjs? Getting promise errors when trying to implement (Not from my end)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants