Support non-recursive links #230
Description
Currently, objects can have only one type of links, which, when I pin the object recursively, they are also traversed. I would like to propose that there is another type of links, where this does not happen (or happen with some "force full recursion" switch or command).
I am trying to store blockchain on the IPFS. And I have two types of links in each block: to the parent block, and to transactions. Now, I would like to mark transactions as non-recursive links. So that I can easily pin the whole chain into local storage by pinning recursively the top block. But I do not want also all transactions ("data") to get pinned, because transactions could point to huge data.
Currently, I have to manually traverse the whole chain, but this means that I have to read the whole chain to the client. It would be great if this could be simply done inside the IPFS daemon and I could just do one command to pin (or unpin) the chain.