Commit 7fb8d9c5 authored by tavit ohanian's avatar tavit ohanian

use private code space for dms3-key

parent ccf8413d
Pipeline #1140 passed with stages
in 27 seconds
......@@ -9,6 +9,7 @@ const (
DagProtobuf = 0x70
DagCBOR = 0x71
P2pKey = 0x72
Dms3Key = 0x3E01A5
GitRaw = 0x78
......@@ -36,6 +37,7 @@ var Codecs = map[string]uint64{
"protobuf": DagProtobuf,
"cbor": DagCBOR,
"p2p-key": P2pKey,
"dms3-key": Dms3Key,
"git-raw": GitRaw,
"eth-block": EthBlock,
"eth-block-list": EthBlockList,
......@@ -60,6 +62,7 @@ var CodecToStr = map[uint64]string{
DagProtobuf: "protobuf",
DagCBOR: "cbor",
P2pKey: "p2p-key",
Dms3Key: "dms3-key",
GitRaw: "git-raw",
EthBlock: "eth-block",
EthBlockList: "eth-block-list",
......
......@@ -55,6 +55,7 @@ const (
DagProtobuf = 0x70
DagCBOR = 0x71
P2pKey = 0x72
Dms3Key = 0x3E01A5
GitRaw = 0x78
......@@ -87,6 +88,7 @@ var Codecs = map[string]uint64{
"protobuf": DagProtobuf,
"cbor": DagCBOR,
"p2p-key": P2pKey,
"dms3-key": Dms3Key,
"git-raw": GitRaw,
"eth-block": EthBlock,
"eth-block-list": EthBlockList,
......
......@@ -23,6 +23,7 @@ var tCodecs = map[uint64]string{
DagProtobuf: "protobuf",
DagCBOR: "cbor",
P2pKey: "p2p-key",
Dms3Key: "dms3-key",
GitRaw: "git-raw",
EthBlock: "eth-block",
EthBlockList: "eth-block-list",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment