Skip to content

Commit

Permalink
remove thin-client from net/
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcusack committed Mar 1, 2024
1 parent c42cbf9 commit aab78b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions net/net.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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\""
Expand Down
12 changes: 1 addition & 11 deletions net/remote/remote-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
*)
Expand All @@ -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

Expand Down

0 comments on commit aab78b7

Please sign in to comment.