Skip to content

protobuf vs dag-pb #75

Closed
Closed
@alanshaw

Description

The name for 0x70 here is "protobuf":

go-cid/cid.go

Line 88 in 6e296c5

"protobuf": DagProtobuf,

In the multicodec table the name for 0x70 is defined as "dag-pb":
https://github.com/multiformats/multicodec/blob/master/table.csv#L408

"protobuf" exists in the table but is mapped to 0x50:
https://github.com/multiformats/multicodec/blob/master/table.csv#L30

This is creating an interop issue with /api/v0/block/put?format=dag-pb - it's not understood by go-ipfs.

Can this be fixed?

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