30 Commits

Author SHA1 Message Date
David Dias
6659a99a18 bin->raw
When it got implemented in `go-ipfs`, devs called it raw https://github.com/ipfs/go-ipfs/blob/master/core/coredag/dagtransl.go#L22.

It should have followed the table (or change the table first). Now, to reduce friction and make both implementations interop, we will go and update js and the table.

@kumavis lead this efforted and created the PRs for it. Thanks @kumavis!
2017-10-06 11:33:24 +03:00
kumavis
7c57cd4477 remove incorrect base2 code 2017-09-05 17:22:13 -07:00
Chuck LeDuc Díaz
5fd1d9873b add MD4 and MD5 hashes (#41)
* add MD4 and MD5 hashes

* changed md4 and md5 to 0xd3 and 0xd4

* use 0xd4 and 0xd5 for MD4 and MD5
2017-09-04 18:38:27 +01:00
Steven Allen
d2b8cf0011 Assign a unique code to QUIC
It conflicted with CBOR.

fixes #55
2017-07-24 00:35:06 -07:00
Lars Gierth
366efd0fb9 Merge pull request #52 from vyzo/feat/p2p-circuit-multiaddr
Add p2p-circuit multiaddr
2017-07-22 12:30:18 +02:00
Steven Allen
1c052b36b9 Update the IPFS proto to match go/js-multiaddr 2017-07-20 14:33:40 -07:00
vyzo
d577b2f19a Add p2p-circuit multiaddr 2017-07-20 09:55:07 +03:00
Jeromy Johnson
d035ace867 Merge pull request #44 from marten-seemann/master
add QUIC
2017-06-21 11:29:27 -07:00
Łukasz Magiera
6e92d174cd Add git-raw codec 2017-06-01 00:20:25 +02:00
Jakub Sztandera
d4e8fceddc Merge pull request #43 from rasmuserik/patch-1
Update table.csv: codes for CBOR and Protocol Buffers
2017-05-05 17:39:58 +02:00
Jakub Sztandera
e380d90813 Merge pull request #47 from multiformats/lgierth-patch-1
Fix keccak note
2017-05-05 17:39:38 +02:00
Lars Gierth
424030cc30 Fix keccak note 2017-05-05 17:30:53 +02:00
Justin
0507c17aa7 Clarify ed25519-pub name 2017-04-24 14:41:29 +01:00
Justin
c52db79a77 Add ed25519 public key codec
See https://github.com/ipfs/notes/issues/241#issuecomment-296392217

I suggest using the code `0xed` so that's it's visually obvious and easy to remember it's associated with ed25519.
2017-04-22 22:11:10 +01:00
Marten Seemann
a21d79a394
add QUIC 2017-03-18 14:28:18 +07:00
RasmusErik Voel Jensen
c144a5ff48 Update table.csv
Add codec codes from https://github.com/multiformats/js-multicodec/blob/master/src/base-table.js
2017-03-12 21:39:39 +01:00
David Dias
61ebf6e5d1 feat: update torrent + bencode codes 2017-03-08 14:16:01 +00:00
Jeremy Banks
8e527e72bd
Add BitTorrent info metadata format as 0x7b.
Also adds BitTorrent's bencoding under serialization formats,
but leaves it unassigned for now.
2017-02-14 14:54:19 -05:00
Hector Sanjuan
15d097a983 add msgpack and binc to the table 2017-01-23 23:06:42 +01:00
Lars Gierth
2725f3c5cd Merge pull request #28 from multiformats/feat/misc
Fix spelling error in codec table
2017-01-02 22:51:37 +01:00
Lars Gierth
5f1f94f6fd Merge branch 'master' into feat/update-why-2 2017-01-02 22:48:44 +01:00
Richard Littauer
e06bf16c09 Fix spelling error in codec table 2016-12-26 17:38:52 -05:00
kumavis
eda4e2e08a Add eth-objects
Here are the Ethereum objects as I have mapped them so far. While there are only two underlying structures (RLP and Eth-(Secure-)Trie), they interpret the format of the leaf values based on context, which is lost when resolving at the IPLD level. I sketched out some versions that used fewer IPLD formats by employing some cleverness in the path naming conventions. (see here https://github.com/MetaMask/metamask-plugin/issues/719#issuecomment-267528294). The consensus was to be explicit instead of clever, thusly the list of objects as I've proposed.

I'd additionally like to reserve 0x99-0x9f for additional Ethereum objects I may have missed or may be introduced when Ethereum milestone Metropolis is released.
2016-12-23 13:22:29 -08:00
Jakub Sztandera
b8404b3e2a Change blake codes to specify all of them 2016-12-11 12:49:38 +01:00
Jakub Sztandera
db2d536940 Fix columns once again 2016-12-10 21:21:47 +01:00
Jakub Sztandera
a20aff1562 Fix columns 2016-12-10 21:20:46 +01:00
Jakub Sztandera
a9dfcedabb Add more explenation and fix naming 2016-12-10 21:19:58 +01:00
Jakub Sztandera
bf8824efbc Add blake range codes
Blake2s and Blake2b have different initial vectors states for different lengths, this means that for each chosen output length it looks like completely different hash function.

This proposal allocated 64 values for Blake2b and 32 values for Blake2s as those are the ranges the outputs can be chosen from.

The codes will require 3 bytes to write down as varints.
2016-12-09 13:37:49 +01:00
Jeromy
d5937d45ce add in some more codes 2016-11-22 12:35:45 -08:00
David Dias
0c9d2dfbea break multicodec table into its own file, add a note of how to add new codes 2016-11-13 05:30:59 +00:00