github.com/aergoio/aergo@v1.3.1/consensus/impl/raftv2/test/run_tx.sh (about) 1 #!/usr/bin/env bash 2 source set_test_env.sh 3 4 pushd $TEST_RAFT_INSTANCE_CLIENT 5 6 port=$1 7 if [ "$port" == "" ]; then 8 port=10001 9 fi 10 11 txPerAcc=$2 12 if [ "$txPerAcc" == "" ]; then 13 txPerAcc=10 14 fi 15 16 generate_tx.sh $port $txPerAcc 17 18 commit_tx.sh 19 20 popd