ipfs/kubo

Limit the size of files that IPFS will fetch from the P2P network.

Open

#2.759 geöffnet am 24. Mai 2016

Auf GitHub ansehen
 (5 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Go (2.725 Forks)batch import
help wantedkind/enhancementtopic/gateway

Repository-Metriken

Stars
 (13.906 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 2h) (28 gemergte PRs in 30 T)

Beschreibung

The IPFS api is nice and simple, but can cause problems for people wanting to use it as a gateway to serve images. A request for the wrong hash could cause ipfsd to start fetching a ton of data that is not actually desired.

The solutions I have at the moment are to do ipfs file ls first and then fetch, but that requires me to set up my own middleware when it would be nice to have the daemon fetch it for me.

Contributor Guide