Libp2p peerid and peerinfo

Each libp2p peer controls a private key and public key.

PeerId is a cryptographic hash of peer’s public key.

The hash is a multihash .

It can serve as a multiaddr as well.

PeerInfo includes listening addresses of peer.