func (cl *BenchClient) SetupBenchClient(server string, port uint16) (err error) {
	cl.RPCClient = new(cxrpc.OpencxRPCClient)
	cl.hostname = server
	cl.port = port

	// we set the privkey here because we aren't using a command line to send orders
	if err = cl.RPCClient.SetupConnection(server, port); err != nil {
		return
	}

	return
}
// SetupBenchClient creates a new BenchClient for use as an RPC Client
SetupBenchClient creates a new BenchClient for use as an RPC Client
// SetupBenchClient creates a new BenchClient for use as an RPC Client
func (cl *BenchClient) SetupBenchClient(server string, port uint16) (err error) {
	cl.RPCClient = new(cxrpc.OpencxRPCClient)
	cl.hostname = server
	cl.port = port
	if err = cl.RPCClient.SetupConnection(server, port); err != nil {
		return
	}
	return
}
func ( cl * BenchClient ) SetupBenchClient ( server string , port uint16 ) ( err error ) { cl . RPCClient = new ( cxrpc . OpencxRPCClient ) cl . hostname = server cl . port = port if err = cl . RPCClient . SetupConnection ( server , port ) ; err != nil { return } return }
SetupBenchClient creates a new BenchClient for use as an RPC Client
SetupBenchClient creates a new BenchClient for use as an RPC Client
// we set the privkey here because we aren't using a command line to send orders