Remove unused exchange program and bench client (#18463)

This commit is contained in:
Justin Starry
2021-07-12 21:59:11 -05:00
committed by GitHub
parent 8ad4ffdee5
commit cfece66403
24 changed files with 11 additions and 3544 deletions

View File

@ -10,8 +10,7 @@ if [[ -n $4 ]]; then
export RUST_LOG="$4"
fi
benchTpsExtraArgs="$5"
benchExchangeExtraArgs="$6"
clientIndex="$7"
clientIndex="$6"
missing() {
echo "Error: $1 not specified"
@ -57,23 +56,6 @@ solana-bench-tps)
--read-client-keys ./client-accounts.yml \
"
;;
solana-bench-exchange)
solana-keygen new --no-passphrase -fso bench.keypair
net/scripts/rsync-retry.sh -vPrc \
"$entrypointIp":~/solana/config/bench-exchange"$clientIndex".yml ./client-accounts.yml
clientCommand="\
solana-bench-exchange \
--entrypoint $entrypointIp:8001 \
--faucet $entrypointIp:9900 \
--threads $threadCount \
--batch-size 1000 \
--fund-amount 20000 \
--duration 7500 \
--identity bench.keypair \
$benchExchangeExtraArgs \
--read-client-keys ./client-accounts.yml \
"
;;
idle)
# Add the faucet keypair to idle clients for convenience
net/scripts/rsync-retry.sh -vPrc \