NethermindEth / dotnet-libp2p

A libp2p implementation for .NET in C#.
MIT License
56 stars 21 forks source link

Peer IDs encoded in multibase CID #13

Closed flcl42 closed 11 months ago

flcl42 commented 1 year ago

Peer IDs may be encoded in two formats according to the spec:

as a raw base58btc encoded multihash (e.g., Qm..., 1...) and as a multibase encoded CID (e.g., bafz...)

Currently the old simple format is implemented only. But the code should be able to handle both formats.