func SetupNoiseBenchmarkClient() (client *benchclient.BenchClient, err error) {

	logging.SetLogLevel(3)

	var clientPrivKey *koblitz.PrivateKey
	if clientPrivKey, err = koblitz.NewPrivateKey(koblitz.S256()); err != nil {
		err = fmt.Errorf("Error setting key for client: \n%s", err)
		return
	}

	client = &benchclient.BenchClient{
		PrivKey: clientPrivKey,
	}

	if err = client.SetupBenchNoiseClient(defaultServer, defaultPort); err != nil {
		err = fmt.Errorf("Error setting up OpenCX RPC Client: \n%s", err)
		return
	}

	return
}
// SetupNoiseBenchmarkClient sets up the benchmark and returns the client
SetupNoiseBenchmarkClient sets up the benchmark and returns the client
// SetupNoiseBenchmarkClient sets up the benchmark and returns the client
func SetupNoiseBenchmarkClient() (client *benchclient.BenchClient, err error) {
	logging.SetLogLevel(3)
	var clientPrivKey *koblitz.PrivateKey
	if clientPrivKey, err = koblitz.NewPrivateKey(koblitz.S256()); err != nil {
		err = fmt.Errorf("Error setting key for client: \n%s", err)
		return
	}
	client = &benchclient.BenchClient{
		PrivKey: clientPrivKey,
	}
	if err = client.SetupBenchNoiseClient(defaultServer, defaultPort); err != nil {
		err = fmt.Errorf("Error setting up OpenCX RPC Client: \n%s", err)
		return
	}
	return
}
func SetupNoiseBenchmarkClient ( ) ( client * benchclient . BenchClient , err error ) { logging . SetLogLevel ( 3 ) var clientPrivKey * koblitz . PrivateKey if clientPrivKey , err = koblitz . NewPrivateKey ( koblitz . S256 ( ) ) ; err != nil { err = fmt . Errorf ( " \n " , err ) return } client = & benchclient . BenchClient { PrivKey : clientPrivKey , } if err = client . SetupBenchNoiseClient ( defaultServer , defaultPort ) ; err != nil { err = fmt . Errorf ( " \n " , err ) return } return }
SetupNoiseBenchmarkClient sets up the benchmark and returns the client
SetupNoiseBenchmarkClient sets up the benchmark and returns the client