Commit 0a6b4cef authored by tavit ohanian's avatar tavit ohanian

Merge branch 'port-2021-08-22'

parents 91a10376 7fb8d9c5
Pipeline #1143 passed with stages
in 36 seconds
...@@ -9,6 +9,7 @@ const ( ...@@ -9,6 +9,7 @@ const (
DagProtobuf = 0x70 DagProtobuf = 0x70
DagCBOR = 0x71 DagCBOR = 0x71
P2pKey = 0x72 P2pKey = 0x72
Dms3Key = 0x3E01A5
GitRaw = 0x78 GitRaw = 0x78
...@@ -36,6 +37,7 @@ var Codecs = map[string]uint64{ ...@@ -36,6 +37,7 @@ var Codecs = map[string]uint64{
"protobuf": DagProtobuf, "protobuf": DagProtobuf,
"cbor": DagCBOR, "cbor": DagCBOR,
"p2p-key": P2pKey, "p2p-key": P2pKey,
"dms3-key": Dms3Key,
"git-raw": GitRaw, "git-raw": GitRaw,
"eth-block": EthBlock, "eth-block": EthBlock,
"eth-block-list": EthBlockList, "eth-block-list": EthBlockList,
...@@ -60,6 +62,7 @@ var CodecToStr = map[uint64]string{ ...@@ -60,6 +62,7 @@ var CodecToStr = map[uint64]string{
DagProtobuf: "protobuf", DagProtobuf: "protobuf",
DagCBOR: "cbor", DagCBOR: "cbor",
P2pKey: "p2p-key", P2pKey: "p2p-key",
Dms3Key: "dms3-key",
GitRaw: "git-raw", GitRaw: "git-raw",
EthBlock: "eth-block", EthBlock: "eth-block",
EthBlockList: "eth-block-list", EthBlockList: "eth-block-list",
......
...@@ -55,6 +55,7 @@ const ( ...@@ -55,6 +55,7 @@ const (
DagProtobuf = 0x70 DagProtobuf = 0x70
DagCBOR = 0x71 DagCBOR = 0x71
P2pKey = 0x72 P2pKey = 0x72
Dms3Key = 0x3E01A5
GitRaw = 0x78 GitRaw = 0x78
...@@ -87,6 +88,7 @@ var Codecs = map[string]uint64{ ...@@ -87,6 +88,7 @@ var Codecs = map[string]uint64{
"protobuf": DagProtobuf, "protobuf": DagProtobuf,
"cbor": DagCBOR, "cbor": DagCBOR,
"p2p-key": P2pKey, "p2p-key": P2pKey,
"dms3-key": Dms3Key,
"git-raw": GitRaw, "git-raw": GitRaw,
"eth-block": EthBlock, "eth-block": EthBlock,
"eth-block-list": EthBlockList, "eth-block-list": EthBlockList,
......
...@@ -23,6 +23,7 @@ var tCodecs = map[uint64]string{ ...@@ -23,6 +23,7 @@ var tCodecs = map[uint64]string{
DagProtobuf: "protobuf", DagProtobuf: "protobuf",
DagCBOR: "cbor", DagCBOR: "cbor",
P2pKey: "p2p-key", P2pKey: "p2p-key",
Dms3Key: "dms3-key",
GitRaw: "git-raw", GitRaw: "git-raw",
EthBlock: "eth-block", EthBlock: "eth-block",
EthBlockList: "eth-block-list", 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