committed by
GitHub
parent
c78132417f
commit
77c9e801aa
@ -1,11 +1,15 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "usage: $0 [network path to solana repo on leader machine]"
|
||||
echo "usage: $0 [network path to solana repo on leader machine] [number of nodes in the network if greater then 1]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LEADER="$1"
|
||||
COUNT="$2"
|
||||
if [[ -z "$2" ]]; then
|
||||
COUNT=1
|
||||
fi
|
||||
|
||||
set -x
|
||||
export RUST_LOG=solana=info
|
||||
@ -13,4 +17,4 @@ rsync -v -e ssh "$LEADER/leader.json" .
|
||||
rsync -v -e ssh "$LEADER/mint-demo.json" .
|
||||
|
||||
cargo run --release --bin solana-client-demo -- \
|
||||
-l leader.json < mint-demo.json 2>&1 | tee client.log
|
||||
-l leader.json -n $COUNT -d < mint-demo.json 2>&1 | tee client.log
|
||||
|
Reference in New Issue
Block a user