157 Commits

Author SHA1 Message Date
Lars Gierth
ee69bc061a
Merge pull request #93 from multiformats/feat/reserve-slash
reserve 0x2f (ASCII /) as the *path* multicodec
2019-03-18 17:50:14 +01:00
Steven Allen
56b1f8ff55 reserve 0x2f (ASCII /) as the *path* multicodec
That way, we can always tell if something is a path or something else.

We may also be able to take advantage of this later to combine a few
concepts and get rid of the "multiaddrs look like paths but are totally not"
problem. However, we can think about that later. This PR just reserves the code
so we don't run into problems later.

* Remove the distinction between string/binary multiaddrs. Instead, the "string"
  will *also* be a valid binary multiaddr.
* Define a new multipath spec to combine multiaddrs and other paths.

Related to: https://github.com/multiformats/multiaddr/issues/70
2019-03-18 09:47:06 -07:00
Steven Allen
b2aa250197
Merge pull request #120 from justelad/master
Add Swarm multicodecs
2019-03-11 21:55:44 -07:00
Elad
35cfe58432 change swarm multicodecs to ipld, add bmt 2019-03-06 13:22:08 +07:00
Elad Nachmias
84c0944192 add swarm manifests and feeds 2019-02-20 21:18:52 +07:00
Steven Allen
942b8875da chore: reformat table (#119)
* reformat table

Sort the table by code and replace the sections with tags.

Inspired by https://github.com/multiformats/multicodec/pull/116 but rebased on
master.

This version also puts the description last as it's optional.

* align table
2019-02-13 16:34:21 +01:00
Steven Allen
1c8ef851d3
Merge pull request #111 from holochain/feature-holochain-address
Add several varint prefix codes + lenghts for Holochain IDs
2019-02-11 17:54:07 -08:00
Perry Kundert
644328bd48 Corrected CSV 2019-02-07 15:23:00 -07:00
Perry Kundert
f01b5ea7da Correct indetation 2019-02-07 15:13:28 -07:00
Perry Kundert
8d95841174 Update desired Holochain Varint prefixes 2019-02-07 14:52:17 -07:00
Perry Kundert
940266dea7 Confirmed Base58 "Hkey..." prefix w/ 71-octet payload; ready to merge 2019-02-04 13:09:42 -07:00
Perry Kundert
04a895ad8a Allocate several prefixes for various Holochain IDs -> Base58 encoding 2019-02-04 09:03:37 -07:00
Perry Kundert
9c00842b97 Added holochain-keys encoding, re-ordered some table entries by code 2019-01-28 06:30:24 -08:00
Perry Kundert
0ff4dee4f4 Change holochain-keys designator to 0x86; yields encoded key prefix of "hkZ..." 2019-01-25 05:21:48 -08:00
Perry Kundert
58ed125d49
Merge branch 'master' into feature-holochain-address 2019-01-24 15:00:02 -08:00
Steven Allen
170ecc0b36
Merge pull request #114 from holochain/feature-use-env
Use '#!/usr/bin/env python3' vs. fixed path '/usr/bin/python3'
2019-01-24 13:32:25 -08:00
Perry Kundert
a3fe78f352 Use '#!/usr/bin/env python3' vs. fixed path '/usr/bin/python3'
o Many installations have python3 installed elsewhere, such as
  /usr/local/bin/, etc.  Use the environment PATH variable to locate.
2019-01-24 13:02:28 -08:00
Perry Kundert
790d00b2bb
Merge branch 'master' into feature-holochain-address 2019-01-21 12:22:02 -08:00
Steven Allen
e76c0e1a89
Merge pull request #113 from multiformats/fix/conflict
Fix swarm codec conflict and add CI
2019-01-21 14:55:16 +00:00
Steven Allen
c0d65537c9 ci: add validator script 2019-01-18 13:54:51 +00:00
Steven Allen
f16a0937b2 fix codec conflicts
See: https://github.com/multiformats/multicodec/pull/104#issuecomment-455499679
2019-01-18 13:02:48 +00:00
Perry Kundert
0b67cd454f Improve description of Holochain 0x1E prefix to detail its contents. 2019-01-16 13:04:48 -08:00
Perry Kundert
e6e56f5f27 Add the 0x1e prefix code for Holochain Addresses 2019-01-16 12:35:57 -08:00
Steven Allen
e0e1a125f5
Merge pull request #109 from mkg20001/patch-1
feat: Add /p2p-stardust
2019-01-13 07:26:28 -08:00
Maciej Krüger
cea6e182cd
feat: Add /p2p-stardust
This is part of the endeavor to replace ws-star with the newly created stardust protocol. See libp2p/js-libp2p-websocket-star#70 for a reference

Relates to https://github.com/multiformats/multiaddr/pull/84#pullrequestreview-191887582
2019-01-12 11:00:41 +01:00
Steven Allen
2f25673b5e
Merge pull request #104 from Arachnid/master
Add CIDs for IPFS and Swarm
2019-01-09 22:46:56 -08:00
Nick Johnson
33b7b78654
Update table.csv 2019-01-10 18:56:39 +13:00
Steven Allen
75c34910b7
Merge pull request #108 from multiformats/feat/remove-undefined
remove undefined codecs
2019-01-08 10:19:06 -08:00
Nick Johnson
595492b37f
Update table.csv 2019-01-08 09:24:33 +13:00
Nick Johnson
d10cdae02a
Update table.csv 2019-01-07 11:01:24 +13:00
Steven Allen
39d078abaf remove undefined codecs
I've filed issues for adding these but defining these here makes this file hard
to parse correctly.
2019-01-03 13:37:46 -08:00
Nick Johnson
b6888b320e Add CIDs for IPFS and Swarm 2018-12-28 09:04:59 +13:00
Steven Allen
9239d0a271
Merge pull request #73 from VandeurenGlenn/patch-1
Add multicodecs for Leofcoin
2018-12-27 11:46:13 -08:00
Glenn Vandeuren
96458c5fdf Add multicodecs for Leofcoin 2018-12-22 23:40:01 +01:00
Steven Allen
58f16be9a1
Merge pull request #101 from multiformats/murmur3
Add murmur3 32-bit
2018-12-21 11:54:06 -08:00
Steven Allen
6948ccb99d
Merge pull request #102 from multiformats/dag-json-two-bytes
Write dag-json codec as two bytes
2018-12-18 09:42:28 -08:00
Steven Allen
1ec0e971d5 move multibase prefixes out of this table
Resolution from a discussion with Juan and the discussion on the following
issues:

fixes #89
fixes #76
2018-12-18 18:25:57 +01:00
Chang Liu
2541973e9e Add link to Scala implementation
add fluency03/scala-multicodec
2018-12-18 18:20:15 +01:00
nocursor
eedeadefdc Added Elixir implementation link 2018-12-18 17:53:52 +01:00
Steven Allen
3731159564 README: remove out-of-date captain 2018-12-18 17:51:26 +01:00
Steven Allen
f4bb19a54a specify both libp2p and ipfs 2018-12-18 17:50:28 +01:00
Steven Allen
156372fdc2 copy missing codecs from the multiaddr repo
Also, rename ipfs to p2p as the *canonical* name.
2018-12-18 17:50:28 +01:00
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
Volker Mische
0255d118f9 Add murmur3 32-bit
Also rename the existing `murmur` to `murmur-128`.
2018-12-18 14:15:47 +01:00
Steven Allen
b147a0ea48
Merge pull request #100 from multiformats/feat/i2p-and-onion
add oinion3 and garlic64 protocol codes
2018-12-17 20:52:42 -08: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
Volker Mische
111757fb79 Remove implementation note
There are already multicodec codes in the table which are > 127
(Blake and Stein hashes). Hence implementations need to implement
varint.
2018-12-03 13:42:28 +01:00
Volker Mische
3a5e3909ce Remove questions that didn't make sense anymore
Due to the removal of references to multicodec-packed in commit
[888cc045de9ea668ec2b098c00173a5eb886b0f8] the first question
doesn't make any sense anymore.

[888cc045de9ea668ec2b098c00173a5eb886b0f8]: 888cc045de
2018-12-03 13:42:02 +01:00
Steven Allen
f543680c5b
Merge pull request #88 from multiformats/fix/87
add dns{4,6,addr} protocols
2018-11-13 08:54:46 -08:00
Steven Allen
02d384f8c5 add dns{4,6,addr} protocols
fixes #87
2018-11-12 16:58:49 -08:00