-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
@diasdavid please enable travis |
Note that require('ipld') should be just the data struct and its features, when we can have the IPLD service (similar to DAG and DAGService) that plugs it into a IPFS Repo for storing and/or bitswap for resolving. We don't want to enforce strictly that storing and resolving should be through IPFS. the IPLD-Service can be behind require('ipld').Service or even as a separate module :) |
Travis enabled :) |
I love that this is happening. Last chat I had with Juan there was the issue of ps: I hope to meet in person very soon and describe the full vision and align with you (and participate on this). This effort is so great and it will be a key piece for developers that will build on top of merkle dags/ipfs |
}) | ||
|
||
expect( | ||
file.unmarshal() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it marsheled though?
unmarshal should be something like:
var file = IPLD.unmarshal(cborSerializedIPLDObj)
@diasdavid updated, I think this is ready for the first merge as discussed. @nicola thanks for the kind words, I will be looking into path resolving in the next couple of days. |
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing the npm i npm -g
, making tests fail on Node.js 4
released version 0.5.0 :) |
🎉 |
ipld.marshal
andipld.unmarshal
up to date with the new specipld.multihash
to generate the canoncial multihash258
as specified in https://github.com/mildred/specs/blob/cbor-tag-merkle-link/merkledag/cbor_tag_merkle_link.mdItems below will not be implemented in this repo
Addipld.store
to store objects either in memory or in ipfs to be used with the resolverAddipld.resolve
to resolve paths (and links of course)Add cli tool for interacting