code: func handleGetCurrentNet(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) (interface{}, error) {
  	return s.cfg.ChainParams.Net, nil
  }
docs: // handleGetCurrentNet implements the getcurrentnet command.