The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/deploy.sh

15 lines
380 B

timestamp() {
date +"%Y%m%d-%H%M%S"
}
t=`timestamp`
./kill_node.sh
config=$1
while IFS='' read -r line || [[ -n "$line" ]]; do
IFS=' ' read ip port mode <<< $line
#echo $ip $port $mode $config
go run ./benchmark_main.go -ip $ip -port $port -config_file $config -timestamp $t&
done < $config
go run ./aws-code/transaction_generator.go -config_file $config -timestamp $t