82 Commits

Author SHA1 Message Date
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
Jakob Voss
e2df1de141 Normalize hexadecimal syntax of codes 2019-04-21 23:05:19 +02: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
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
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
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
790d00b2bb
Merge branch 'master' into feature-holochain-address 2019-01-21 12:22:02 -08: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
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
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
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
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
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
idk
85b4d5fd91
added onionv3 and garlic multicodecs to csv 2018-11-08 03:40:42 -05: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