code: func (net *Network) Reset() {
  	net.lock.Lock()
  	defer net.lock.Unlock()
  
  	//re-initialize the maps
  	net.connMap = make(map[string]int)
  	net.nodeMap = make(map[enode.ID]int)
  
  	net.Nodes = nil
  	net.Conns = nil
  }
docs: // Reset resets all network properties:
  // empties the nodes and the connection list