From 15483fa361ce8a90573a4dce877090e3c16e47ed Mon Sep 17 00:00:00 2001 From: Greg Cusack Date: Wed, 28 Feb 2024 12:30:24 -0800 Subject: [PATCH] change default `bench-tps` client to `tpu-client` (#35335) * change default bench-tps client to tpu-client * remote client default to tpu-client * add --use-tpu-client back in. hide --use-thin-client * address nit, inform of future thinclient deprecation --- bench-tps/src/cli.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bench-tps/src/cli.rs b/bench-tps/src/cli.rs index d2c8939e8260d8..942f0dc6728bfe 100644 --- a/bench-tps/src/cli.rs +++ b/bench-tps/src/cli.rs @@ -329,9 +329,20 @@ pub fn build_args<'a>(version: &'_ str) -> App<'a, '_> { Arg::with_name("thin_client") .long("use-thin-client") .conflicts_with("rpc_client") + .conflicts_with("thin_client") .takes_value(false) .help("Submit transactions with a ThinClient") ) + .arg( + Arg::with_name("thin_client") + .long("use-thin-client") + .conflicts_with("rpc_client") + .conflicts_with("tpu_client") + .takes_value(false) + .hidden(hidden_unless_forced()) + .help("Submit transactions with a ThinClient. Note: usage is discouraged. \ + ThinClient will be deprecated.") + ) .arg( Arg::with_name("tpu_disable_quic") .long("tpu-disable-quic")