code: func (n *Node) NodeInfo() *p2p.NodeInfo {
  	// avoid a panic if the node is not started yet
  	if n.Node == nil {
  		return nil
  	}
  	info := n.Node.NodeInfo()
  	info.Name = n.Config.Name
  	return info
  }
docs: // NodeInfo returns information about the node