Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Spec refining: requiring namespace in IPLD pointers #7

Closed
nicola opened this issue Jul 26, 2016 · 6 comments
Closed

Spec refining: requiring namespace in IPLD pointers #7

nicola opened this issue Jul 26, 2016 · 6 comments
Labels
status/deferred Conscious decision to pause or backlog

Comments

@nicola
Copy link
Member

nicola commented Jul 26, 2016

In #3 I specified that IPLD pointers are the following:

  • hash/object pointer HASH
  • plus and an attribute pointer (e.g. /friends/0/name)

can it be implicit, or does it have to be explicit by requirement?

The following are pro and cons of having explicit namespaces before hashes and never implicit names

Pro:

Cons:

  • Extra characters
  • Only real reason is the canonical assumption, but the canonical representation may never change..

cc @dignifiedquire, @diasdavid, @jbenet, @Stebalien

@jbenet
Copy link
Contributor

jbenet commented Aug 6, 2016

@nicola
Copy link
Member Author

nicola commented Aug 7, 2016

Perfect, this should be documented soon (explicit and implicit multicodec) 🎉

@dignifiedquire
Copy link
Member

From the call these two questions were arising

  1. For the notion of linking between protobuf to protobuf there is an implicit CID of v0, protobuf, base58. To allow for the
    integration of other raw objects, like git objects we need this implicit thing as well. Given that then all links inside networks
    are using implicit CIDs, except for IPLD do we want to do the same thing for IPLD inside links?
  2. Do we need to use /ipld/<cid> or <cid> for linking to IPLD objects inside IPLD objects?

@Stebalien
Copy link
Contributor

IMO, this really is a question of encoding. Abstractly, canonical IPLD links would be defined to be /ipld/FULL_CID. However, individual codecs (ipld+cbor, ipld+protobuf, ipld+git, etc.) can specify custom link formats (as long as these links can be converted to-and-from canonical IPLD links).

@nicola
Copy link
Member Author

nicola commented Aug 10, 2016

👷 So, this clearly needs further discussion and needs to be split (as @dignifiedquire said):

  • implicit/explicit full CID
  • implicit/explicit /ipld

@rvagg
Copy link
Member

rvagg commented Aug 14, 2019

Closing due to staleness as per team agreement to clean up the issue tracker a bit (ipld/team-mgmt#28). This doesn't mean this issue is off the table entirely, it's just not on the current active stack but may be revisited in the near future. If you feel there is something pertinent here, please speak up, reopen, or open a new issue. [/boilerplate]

@rvagg rvagg closed this as completed Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

6 participants