code: func (p *peer) Info() *PeerInfo {
  	hash, td := p.Head()
  
  	return &PeerInfo{
  		Version:    p.version,
  		Difficulty: td,
  		Head:       hash.Hex(),
  	}
  }
docs: // Info gathers and returns a collection of metadata known about a peer.