From aab78b73138092e113bce8c5d84addaf1467babf Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 28 Feb 2024 23:43:49 +0000 Subject: [PATCH] remove thin-client from net/ --- net/net.sh | 4 ++-- net/remote/remote-client.sh | 12 +----------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/net/net.sh b/net/net.sh index 14b639a26dc1ea..a2d16cef20f417 100755 --- a/net/net.sh +++ b/net/net.sh @@ -118,7 +118,7 @@ Operate a configured testnet - Enable UDP for tpu transactions --client-type - - Specify backend client type for bench-tps. Valid options are (thin-client|rpc-client|tpu-client), tpu-client is default + - Specify backend client type for bench-tps. Valid options are (rpc-client|tpu-client), tpu-client is default sanity/start-specific options: -F - Discard validator nodes that didn't bootup successfully @@ -972,7 +972,7 @@ while [[ -n $1 ]]; do elif [[ $1 = --client-type ]]; then clientType=$2 case "$clientType" in - thin-client|tpu-client|rpc-client) + tpu-client|rpc-client) ;; *) echo "Unexpected client type: \"$clientType\"" diff --git a/net/remote/remote-client.sh b/net/remote/remote-client.sh index 8042bd19618083..c66f3c783885c0 100755 --- a/net/remote/remote-client.sh +++ b/net/remote/remote-client.sh @@ -43,19 +43,12 @@ skip) exit 1 esac -THIN_CLIENT=false RPC_CLIENT=false case "$clientType" in - thin-client) - THIN_CLIENT=true - RPC_CLIENT=false - ;; tpu-client) - THIN_CLIENT=false RPC_CLIENT=false ;; rpc-client) - THIN_CLIENT=false RPC_CLIENT=true ;; *) @@ -74,10 +67,7 @@ solana-bench-tps) args=() - if ${THIN_CLIENT}; then - args+=(--entrypoint "$entrypointIp:8001") - args+=(--use-thin-client) - elif ${RPC_CLIENT}; then + if ${RPC_CLIENT}; then args+=(--use-rpc-client) fi