Skip to content

Links without Tsize #5

@achingbrain

Description

@achingbrain

It looks like this module can generate links without a Tsize property. The protobuf schema allows for this (along with not having a Name or a Hash) but we're previously decided that implementations should generate a value for Tsize.

Would you accept a PR making this field mandatory?

It means you won't be able to do things like:

const node = prepare({
  Links: [
    new CID('Qmfoo')
  ]
})

..but IPFS will not do that for the reasons in the linked thread above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions