166 Commits

Author SHA1 Message Date
Steven Allen
11de049dab
Merge pull request #131 from multiformats/feat/libp2p-pubkey
multicodec: add IPLD codec for libp2p public keys
2019-05-27 10:08:08 -07:00
Steven Allen
7b1f04ed63 multicodec: add IPLD codec for libp2p public keys
This is specifically for the protobuf-encoded libp2p key format:

```proto
enum KeyType {
	RSA = 0;
	Ed25519 = 1;
	Secp256k1 = 2;
	ECDSA = 3;
}

message PublicKey {
	required KeyType Type = 1;
	required bytes Data = 2;
}
```
2019-05-13 14:41:28 -07:00
Lars Gierth
04bdc2d5e9
Merge pull request #128 from nichtich/master
Normalize hexadecimal syntax of codes
2019-04-22 00:43:00 +02:00
Jakob Voss
e2df1de141 Normalize hexadecimal syntax of codes 2019-04-21 23:05:19 +02:00
Steven Allen
019376e4eb
Merge pull request #126 from RTradeLtd/master
Add garlic32, describe garlic addresses
2019-04-05 14:47:50 -07:00
idk
26ad9ab722 Briefly describe other type of b32 2019-04-05 17:12:15 -04:00
idk
2391af9de8 Further describe i2p addresses 2019-04-05 16:40:20 -04:00
idk
175ad7cf5a update fork and add base32 2019-04-05 16:19:06 -04:00
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