Commit Graph

47 Commits

Author SHA1 Message Date
Volker Mische 852f8909b7 Write dag-json codec as two bytes
Make it clearer (and easier to convert) that dag-json is two bytes.
2018-12-18 17:08:49 +01:00
Steven Allen 5ce1acfacb
add oinion3 and garlic64 protocol codes
* onion3 is for v3 onion addresses
* garlic64 is for *full* i2p addresses. We may later need a garlic32 for "short" garlic addresses.
2018-12-14 10:42:09 -08:00
Steven Allen 02d384f8c5 add dns{4,6,addr} protocols
fixes #87
2018-11-12 16:58:49 -08:00
Steven Allen cc822f61f4
Merge pull request #85 from samli88/x11hash
add x11 hash algorithm
2018-10-24 05:23:51 -07:00
Samuel Li 5aaf5e5482 use two-byte code for x11 hash 2018-10-10 11:11:42 -07:00
Samuel Li 909a87a02a add Dash blocks, transactions
used in Dash ipld resolver
2018-10-07 11:17:39 -07:00
Samuel Li 3a8cd1dfa4 add x11 hash algorithm
This originated with Dash and is now used in multiple projects.
2018-10-06 01:28:50 -07:00
Steven Allen 53934fd7d6
Merge pull request #79 from mwnx/ip6z
table.csv: Add "zone" multiaddr (IPv6 zone)
2018-09-10 23:29:46 +00:00
mwnx 50830728e2 table.csv: Add "zone" multiaddr (IPv6 zone)
Can be prefixed to the "ip6" protocol. See [rfc4007].

[rfc4007] https://tools.ietf.org/html/rfc4007
2018-08-28 21:31:34 +02:00
Mikeal Rogers b579cf3413
fix: consistent capitalization 2018-08-16 16:34:56 -07:00
Mikeal Rogers 2d69b8db27
feat: add dag-json, fixes #80 2018-08-16 16:33:47 -07:00
Hector Sanjuan 022949a193
Add codes for Decred
Add codes for decred block and tx, in line with other cryptos.
2018-07-20 15:55:39 +02:00
Steven Allen 9577c6681d
Merge pull request #68 from multiformats/feat/symbolic-multibase
fill out multibase table and treat multibases as symbols
2018-01-31 22:43:36 +00:00
Volker Mische f0bdfb824b Lowercase Skein
All identifiers are lowercase, so it makes sense to be consistent.
2018-01-31 13:21:56 +01:00
Steven Allen 5b6b853b67 fill out multibase table and treat multibases as symbols
This extends the concept of multicodecs to general symbolic (text) strings, not
just byte strings.
2017-12-29 09:35:09 -08:00
David Dias 94c89eecba add 0x00 for multibase binary
//cc @whyrusleeping
2017-10-24 13:44:15 +01:00
Donald Tsang 939adcc6f5 Update table.csv (#56) 2017-10-13 18:48:52 +02:00
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