File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
DagProtobuf = 0x70
10
10
DagCBOR = 0x71
11
+ Libp2pKey = 0x72
11
12
12
13
GitRaw = 0x78
13
14
@@ -34,6 +35,7 @@ var Codecs = map[string]uint64{
34
35
"raw" : Raw ,
35
36
"protobuf" : DagProtobuf ,
36
37
"cbor" : DagCBOR ,
38
+ "libp2p-key" : Libp2pKey ,
37
39
"git-raw" : GitRaw ,
38
40
"eth-block" : EthBlock ,
39
41
"eth-block-list" : EthBlockList ,
@@ -57,6 +59,7 @@ var CodecToStr = map[uint64]string{
57
59
Raw : "raw" ,
58
60
DagProtobuf : "protobuf" ,
59
61
DagCBOR : "cbor" ,
62
+ Libp2pKey : "libp2p-key" ,
60
63
GitRaw : "git-raw" ,
61
64
EthBlock : "eth-block" ,
62
65
EthBlockList : "eth-block-list" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ const (
62
62
63
63
DagProtobuf = 0x70
64
64
DagCBOR = 0x71
65
+ Libp2pKey = 0x72
65
66
66
67
GitRaw = 0x78
67
68
@@ -90,6 +91,7 @@ var Codecs = map[string]uint64{
90
91
"raw" : Raw ,
91
92
"protobuf" : DagProtobuf ,
92
93
"cbor" : DagCBOR ,
94
+ "libp2p-key" : Libp2pKey ,
93
95
"git-raw" : GitRaw ,
94
96
"eth-block" : EthBlock ,
95
97
"eth-block-list" : EthBlockList ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ var tCodecs = map[uint64]string{
19
19
Raw : "raw" ,
20
20
DagProtobuf : "protobuf" ,
21
21
DagCBOR : "cbor" ,
22
+ Libp2pKey : "libp2p-key" ,
22
23
GitRaw : "git-raw" ,
23
24
EthBlock : "eth-block" ,
24
25
EthBlockList : "eth-block-list" ,
You can’t perform that action at this time.
0 commit comments