Skip to content

Commit

Permalink
mention we're not using multibase for peer-ids
Browse files Browse the repository at this point in the history
  • Loading branch information
yusefnapora committed May 8, 2019
1 parent 046c7e8 commit 9bfb370
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions peer-ids/peer-ids.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ This encoding is sometimes abbreviated as `base58btc`.

An example of a `base58btc` encoded SHA256 peer id: `QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N`.

Note that some projects using libp2p will prefix "base encoded" strings with a
[multibase](https://github.com/multiformats/multibase) code that identifies the encoding base and alphabet.
Peer ids do not use multibase, and can be assumed to be encoded as `base58btc`.

## How Keys are Encoded and Messages Signed

Four key types are supported:
Expand Down

0 comments on commit 9bfb370

Please sign in to comment.