Skip to content

Commit

Permalink
Update Cid.java
Browse files Browse the repository at this point in the history
Added support for Libp2p-key (codec code 0x72) decoding of IPNS key (tested on go-ipfs version 0.8.0).
  • Loading branch information
crick77 authored Feb 28, 2021
1 parent 6ae991f commit d7cba0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/ipfs/cid/Cid.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public enum Codec {
Raw(0x55),
DagProtobuf(0x70),
DagCbor(0x71),
Libp2pKey(0x72), // support for IPNS key (go-ipfs 0.8.0)
EthereumBlock(0x90),
EthereumTx(0x91),
BitcoinBlock(0xb0),
Expand Down

0 comments on commit d7cba0b

Please sign in to comment.