code: func (s *Server) GetNodes(w http.ResponseWriter, req *http.Request) {
  	nodes := s.network.GetNodes()
  
  	infos := make([]*p2p.NodeInfo, len(nodes))
  	for i, node := range nodes {
  		infos[i] = node.NodeInfo()
  	}
  
  	s.JSON(w, http.StatusOK, infos)
  }
docs: // GetNodes returns all nodes which exist in the network