Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Support non-recursive links #230

Open
@mitar

Description

@mitar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions