code: func PeerInfoFromHost(h Host) *pstore.PeerInfo {
  	return &pstore.PeerInfo{
  		ID:    h.ID(),
  		Addrs: h.Addrs(),
  	}
  }
docs: // PeerInfoFromHost returns a PeerInfo struct with the Host's ID and all of its Addrs.