probe-lab/zikade

Provide Interface

Opened this issue · 1 comments

iand commented

Description

Update dependencies EVERYWHERE (https://github.com/ipfs/kubo, https://github.com/libp2p/go-libp2p, https://github.com/libp2p/go-libp2p-kad-dht, https://github.com/libp2p/go-libp2p-routing-helpers, https://github.com/ipfs/go-ipfs-provider, etc.) and make sure to have the DHT responsible to Reprovide content (where necessary).

It shouldn’t be to IPFS implementations (Kubo) to handle persistence in the different content routers.

The proposed interface contains the following functions StartProvide([]cid.Cid) error, StopProvide([]cid.Cid) error, ListProvide() []cid.Cid or similar. The interface still needs to be discussed with other stakeholders.