No longer spin up accounts for client-demo
Now that the Bank is single-threaded again, we can spin up new accounts on the fly without concern of thread contention. Likewise, we can send all transactions from a single account, which was also problematic in the multi-threaded bank. Sending from one account will also make client-demo straightforward to port to solana-drone.
This commit is contained in:
@ -16,9 +16,9 @@ rsync_leader_url=$(rsync_url "$leader")
|
||||
set -ex
|
||||
mkdir -p $SOLANA_CONFIG_DIR
|
||||
rsync -vPz "$rsync_leader_url"/config/leader.json $SOLANA_CONFIG_DIR/
|
||||
rsync -vPz "$rsync_leader_url"/config/mint-demo.json $SOLANA_CONFIG_DIR/
|
||||
rsync -vPz "$rsync_leader_url"/config/mint.json $SOLANA_CONFIG_DIR/
|
||||
|
||||
# shellcheck disable=SC2086 # $solana_client_demo should not be quoted
|
||||
exec $solana_client_demo \
|
||||
-n "$count" -l $SOLANA_CONFIG_DIR/leader.json -d \
|
||||
< $SOLANA_CONFIG_DIR/mint-demo.json
|
||||
< $SOLANA_CONFIG_DIR/mint.json
|
||||
|
Reference in New Issue
Block a user