You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using IPNS directly, the initial implementation will likely use w3name service.
This has the benefit of "IPNS" records not expiring which enables replication to happen after ~48 hours if the collaborators IPNS is known.
Collaborator discovery will still use the Libp2p Kad DHT. Records will expire after ~48 hours. I'm thinking about making it so collaborator IPNS names are included with the replicas. This would make it so if there are only a few collaborator records in the DHT it would still be possible to query the other known ones. However this may not end up being necessary since the existing records likely point to up to date replicas.
Considered either combining everything into update and sync functions or exposing helper functions that sit one level above the ipns/dht methods. Second options seems the best and simplest for now.
In the future I think exposing update(cid, newCid) and sync() functions will make the most sense while still exposing the underlying utilities. The update function would do some general diffing over the IPLD data and handle pushing data to pinners etc.
Activity
tabcat commentedon May 4, 2023
IPLD usage with pinners does not need to be spec'd. What does need to be included with the spec:
tabcat commentedon May 4, 2023
Not going to handle how IPLD is pinned, only requirement is that replica's have a single root so it can be referenced from IPNS
tabcat commentedon May 5, 2023
Considered either combining everything into
updateandsyncfunctions or exposing helper functions that sit one level above the ipns/dht methods. Second options seems the best and simplest for now.tabcat commentedon May 8, 2023
In the future I think exposing
update(cid, newCid)andsync()functions will make the most sense while still exposing the underlying utilities. The update function would do some general diffing over the IPLD data and handle pushing data to pinners etc.