Skip to content

Protocol p2p missing from list #68

@jacogr

Description

@jacogr

Canonical CSV states "p2p preferred over ipfs" -

https://github.com/multiformats/multiaddr/blob/master/protocols.csv#L15

JS implementation is currently missing this new name/"alias" -

https://github.com/multiformats/js-multiaddr/blob/master/src/protocols-table.js#L39

Not a huge issue since specifying the /ip4/127.0.0.1/tcp/30333/ipfs/QmWLtV5gpCzJCh9Eo7SxkrT3ZTApovHM1WpCY2Lp3XkaqF does work, however a bit of an annoyance when one implementation (Rust) reports the protocol with /p2p/ and there is some editing before it can be used in a JS client connecting to it.

However, it works, so not a massive issue apart from being a (small) annoyance.

Metadata

Metadata

Assignees

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