Converts the given peer to a Peer object. If a multiaddr is received, the addressBook is updated.
peer
Peer
Converts the given
peer
to aPeer
object. If a multiaddr is received, the addressBook is updated.