-
Notifications
You must be signed in to change notification settings - Fork 1.2k
IPLD Data Importing - Set of Importers #41
Comments
I'm actually working on making on decoupling the chunker so any chunking stratrgy can br used (a chunker is just a through stream) |
Agree fully. I started with Go but vendoring crap... time to pick it back up! So far, we have this model in go-ipfs:
Do we have any difference here? let's put this into a spec, break up the relevant go-ipfs packages, and start on the js stuff. 😄 @mafintosh yay! collab! \o/ |
@whyrusleeping see the model above. |
We've made unixfs-engine to import and export files and directories to MerkleDAG structs, the same way that go-ipfs does. We will touch again on the idea of the layout agnostic importer again. @mafintosh How is your stuff? Did you end up to decouple the chunker part? I'm also going to move ahead and close this issue, so that we can aggregate the discussion on ipfs/specs#57 |
One of the core pieces to get jsipfs working, is having a IPLD importer (file -> chunker -> merkleDAG), so that we can create MerkleDAG structures that can be used to be moved around bitswap.
The goals of the importers are described here - https://github.com/ipfs/specs/blob/master/overviews/implement-ipfs.md#ipld-data-importing
Probably it is possible to use some of the work developed by @mafintosh on his hyperdrive module, which although focuses on rabin chunking, should be easy to detach and use another chunking algorithm.
This takes me to my next point. It would be great to have a set of primitives to digest, chunk and parse files, so that different chunkers can be replaced/added without any trouble. Similar to the efforts we've been doing for libp2p interfaces.
The text was updated successfully, but these errors were encountered: