From e6e56f5f276fa36a995be1da7ba89efe00c7d9e9 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Wed, 16 Jan 2019 12:35:57 -0800 Subject: [PATCH 1/9] Add the 0x1e prefix code for Holochain Addresses --- table.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/table.csv b/table.csv index b8a5518..5067683 100644 --- a/table.csv +++ b/table.csv @@ -427,6 +427,8 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 +holochain-address, Holochain Address, 0x1e + torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c ed25519-pub, Ed25519 public key, 0xed From 0b67cd454f478486f082609ccc008136823e932e Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Wed, 16 Jan 2019 13:04:48 -0800 Subject: [PATCH 2/9] Improve description of Holochain 0x1E prefix to detail its contents. --- table.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.csv b/table.csv index 5067683..757f005 100644 --- a/table.csv +++ b/table.csv @@ -427,7 +427,7 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 -holochain-address, Holochain Address, 0x1e +holochain-keys, Holochain address public keys + parity, 0x1e torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c From 0ff4dee4f402c98a8aa5afec0d5f6d1918e353a0 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Fri, 25 Jan 2019 05:21:48 -0800 Subject: [PATCH 3/9] Change holochain-keys designator to 0x86; yields encoded key prefix of "hkZ..." --- table.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.csv b/table.csv index d36fc0a..a36a7bf 100644 --- a/table.csv +++ b/table.csv @@ -427,7 +427,7 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 -holochain-keys, Holochain address public keys + parity, 0x1e +holochain-keys, Holochain address public keys + parity, 0x86 torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c From 9c00842b97cb477bd4153ccbfbc0becb358c3e54 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Mon, 28 Jan 2019 06:30:24 -0800 Subject: [PATCH 4/9] Added holochain-keys encoding, re-ordered some table entries by code --- table.csv | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/table.csv b/table.csv index a36a7bf..c0f08db 100644 --- a/table.csv +++ b/table.csv @@ -398,6 +398,15 @@ dag-json, MerkleDAG json, 0x0129 git-raw, Raw Git object, 0x78 +torrent-info, Torrent file info field (bencoded), 0x7b +torrent-file, Torrent file (bencoded), 0x7c + +leofcoin-block, Leofcoin Block, 0x81 +leofcoin-tx, Leofcoin Transaction, 0x82 +leofcoin-pr, Leofcoin Peer Reputation, 0x83 + +holochain-keys, Holochain address public keys + parity (base64), 0x86 + eth-block, Ethereum Block (RLP), 0x90 eth-block-list, Ethereum Block List (RLP), 0x91 eth-tx-trie, Ethereum Transaction Trie (Eth-Trie), 0x92 @@ -420,19 +429,11 @@ stellar-tx, Stellar Tx, 0xd1 decred-block, Decred Block, 0xe0 decred-tx, Decred Tx, 0xe1 +ed25519-pub, Ed25519 public key, 0xed + dash-block, Dash Block, 0xf0 dash-tx, Dash Tx, 0xf1 -leofcoin-block, Leofcoin Block, 0x81 -leofcoin-tx, Leofcoin Transaction, 0x82 -leofcoin-pr, Leofcoin Peer Reputation, 0x83 - -holochain-keys, Holochain address public keys + parity, 0x86 - -torrent-info, Torrent file info field (bencoded), 0x7b -torrent-file, Torrent file (bencoded), 0x7c -ed25519-pub, Ed25519 public key, 0xed - Content Namespaces,, ipld-ns, IPLD path, 0xe2 ipfs-ns, IPFS path, 0xe3 From 04a895ad8a0feaf290d3f6430f82ad7298331c45 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Mon, 4 Feb 2019 09:03:37 -0700 Subject: [PATCH 5/9] Allocate several prefixes for various Holochain IDs -> Base58 encoding --- table.csv | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/table.csv b/table.csv index c0f08db..2bfc522 100644 --- a/table.csv +++ b/table.csv @@ -398,15 +398,6 @@ dag-json, MerkleDAG json, 0x0129 git-raw, Raw Git object, 0x78 -torrent-info, Torrent file info field (bencoded), 0x7b -torrent-file, Torrent file (bencoded), 0x7c - -leofcoin-block, Leofcoin Block, 0x81 -leofcoin-tx, Leofcoin Transaction, 0x82 -leofcoin-pr, Leofcoin Peer Reputation, 0x83 - -holochain-keys, Holochain address public keys + parity (base64), 0x86 - eth-block, Ethereum Block (RLP), 0x90 eth-block-list, Ethereum Block List (RLP), 0x91 eth-tx-trie, Ethereum Transaction Trie (Eth-Trie), 0x92 @@ -429,11 +420,21 @@ stellar-tx, Stellar Tx, 0xd1 decred-block, Decred Block, 0xe0 decred-tx, Decred Tx, 0xe1 -ed25519-pub, Ed25519 public key, 0xed - dash-block, Dash Block, 0xf0 dash-tx, Dash Tx, 0xf1 +leofcoin-block, Leofcoin Block, 0x81 +leofcoin-tx, Leofcoin Transaction, 0x82 +leofcoin-pr, Leofcoin Peer Reputation, 0x83 + +holochain-keys, Holochain public keys + 8 R-S parity (Base58), 0x8be63448 +holochain-id, Holochain ID + 8 R-S parity (Base58), 0xf1ae3448 +holochain-holo, Holochain Holo ID + 8 R-S parity (Base58), 0xe3f83448 + +torrent-info, Torrent file info field (bencoded), 0x7b +torrent-file, Torrent file (bencoded), 0x7c +ed25519-pub, Ed25519 public key, 0xed + Content Namespaces,, ipld-ns, IPLD path, 0xe2 ipfs-ns, IPFS path, 0xe3 From 940266dea7467bfb48c0b555932143d83b13e142 Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Mon, 4 Feb 2019 13:09:42 -0700 Subject: [PATCH 6/9] Confirmed Base58 "Hkey..." prefix w/ 71-octet payload; ready to merge --- table.csv | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/table.csv b/table.csv index 2bfc522..6311083 100644 --- a/table.csv +++ b/table.csv @@ -427,9 +427,7 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 -holochain-keys, Holochain public keys + 8 R-S parity (Base58), 0x8be63448 -holochain-id, Holochain ID + 8 R-S parity (Base58), 0xf1ae3448 -holochain-holo, Holochain Holo ID + 8 R-S parity (Base58), 0xe3f83448 +holochain-keys, Holochain public keys + 7 R-S parity (Base58), 0x8be63447 torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c From 8d958411748185dca43db2412c07edbe5909905a Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Thu, 7 Feb 2019 14:52:17 -0700 Subject: [PATCH 7/9] Update desired Holochain Varint prefixes --- table.csv | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/table.csv b/table.csv index 6311083..255db61 100644 --- a/table.csv +++ b/table.csv @@ -427,7 +427,12 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 -holochain-keys, Holochain public keys + 7 R-S parity (Base58), 0x8be63447 +holochain-key-v0, Holochain v0 public key + 8 R-S (63 x Base-32), 0x947124 +holochain-key-v1 Holochain v1 public key + 8 R-S (63 x Base-32), 0x957124 +holochain-adr-v0, Holochain v0 address + 8 R-S (63 x Base-32), 0x807124 +holochain-adr-v1, Holochain v1 address + 8 R-S (63 x Base-32), 0x817124 +holochain-sig-v0, Holochain v0 signature + 8 R-S (63 x Base-32), 0xa27124 +holochain-sig-v1, Holochain v1 signature + 8 R-S (63 x Base-32), 0xa37124 torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c From f01b5ea7da293c9f1251cf6bde116189a23f3fbd Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Thu, 7 Feb 2019 15:13:28 -0700 Subject: [PATCH 8/9] Correct indetation --- table.csv | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/table.csv b/table.csv index 255db61..88a3cf1 100644 --- a/table.csv +++ b/table.csv @@ -427,12 +427,12 @@ leofcoin-block, Leofcoin Block, 0x81 leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 -holochain-key-v0, Holochain v0 public key + 8 R-S (63 x Base-32), 0x947124 -holochain-key-v1 Holochain v1 public key + 8 R-S (63 x Base-32), 0x957124 -holochain-adr-v0, Holochain v0 address + 8 R-S (63 x Base-32), 0x807124 -holochain-adr-v1, Holochain v1 address + 8 R-S (63 x Base-32), 0x817124 -holochain-sig-v0, Holochain v0 signature + 8 R-S (63 x Base-32), 0xa27124 -holochain-sig-v1, Holochain v1 signature + 8 R-S (63 x Base-32), 0xa37124 +holochain-key-v0, Holochain v0 public key + 8 R-S (63 x Base-32), 0x947124 +holochain-key-v1 Holochain v1 public key + 8 R-S (63 x Base-32), 0x957124 +holochain-adr-v0, Holochain v0 address + 8 R-S (63 x Base-32), 0x807124 +holochain-adr-v1, Holochain v1 address + 8 R-S (63 x Base-32), 0x817124 +holochain-sig-v0, Holochain v0 signature + 8 R-S (63 x Base-32), 0xa27124 +holochain-sig-v1, Holochain v1 signature + 8 R-S (63 x Base-32), 0xa37124 torrent-info, Torrent file info field (bencoded), 0x7b torrent-file, Torrent file (bencoded), 0x7c From 644328bd48ff3f45f2fb32f6ad5b9ad89461c1ac Mon Sep 17 00:00:00 2001 From: Perry Kundert Date: Thu, 7 Feb 2019 15:23:00 -0700 Subject: [PATCH 9/9] Corrected CSV --- table.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table.csv b/table.csv index 88a3cf1..d2ffd93 100644 --- a/table.csv +++ b/table.csv @@ -428,7 +428,7 @@ leofcoin-tx, Leofcoin Transaction, 0x82 leofcoin-pr, Leofcoin Peer Reputation, 0x83 holochain-key-v0, Holochain v0 public key + 8 R-S (63 x Base-32), 0x947124 -holochain-key-v1 Holochain v1 public key + 8 R-S (63 x Base-32), 0x957124 +holochain-key-v1, Holochain v1 public key + 8 R-S (63 x Base-32), 0x957124 holochain-adr-v0, Holochain v0 address + 8 R-S (63 x Base-32), 0x807124 holochain-adr-v1, Holochain v1 address + 8 R-S (63 x Base-32), 0x817124 holochain-sig-v0, Holochain v0 signature + 8 R-S (63 x Base-32), 0xa27124