Optional addressesPeer's addresses containing its multiaddrs and metadata - multiaddrs
passed here can be treated as certified if the isCertifed value is
set to true.
If both addresses and multiaddrs are specified they will be merged together with entries in addresses taking precedence.
Optional metadataPeer's metadata map. When merging pass undefined as values to remove metadata.
Optional multiaddrsPeer's multiaddrs - any multiaddrs passed here will be treated as uncertified.
If both addresses and multiaddrs are specified they will be merged together with entries in addresses taking precedence.
Optional peerThe last peer record envelope received
Optional protocolsPeer's supported protocols
Optional publicIf this Peer has an RSA key, it's public key can be set with this property
Optional tagsPeer tags. When merging pass undefined as values to remove tags.
Peer data used to update the peer store