|
|
|
|
|
by 1_player
2832 days ago
|
|
Is it possible to set up an IPFS caching server, which stores any content from any point in time, up to some configurable percentage of disk space? Ideally with some kind of mechanism to store poorly seeded data. I don't know how IPFS works, but I'd like to contribute by setting up and forgetting an IPFS cache on the Internet to help the network grow. |
|
It's not a configuration option though. You would either have to build up your own system using the ipfs libraries, or monitor the events from a daemon.
Unfortunately there is a bug that is not allowing the information required to be logged correctly in the events, so the actual cid of the content is not exposed.
If it where, you could look for the `handleAddProvider` or `handleGetProvider` operation through the event logs (`ipfs log tail`) and then inspect the object (`ipfs object stat`) to determine if you wanted to pin it.
> Ideally with some kind of mechanism to store poorly seeded data.
This would be a little more difficult, but you could attempt to query the dht to determine how many peers are already providers for the data (`ipfs dht findprovs`).