mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 14:22:16 +00:00
* Switch ports 466xx to be 266xx This is done so the default ports aren't in the linux kernel's default ephemeral port range. * Update ABCI import * Bump cache on circleci * Get more verbose output for debugging * Bump abci dependency * Fix accidental change of a block header's hash * pin abci release
24 lines
482 B
Bash
24 lines
482 B
Bash
#! /bin/bash
|
|
set -u
|
|
|
|
# wait till node is up, send txs
|
|
ADDR=$1 #="127.0.0.1:26657"
|
|
curl -s $ADDR/status > /dev/null
|
|
ERR=$?
|
|
while [ "$ERR" != 0 ]; do
|
|
sleep 1
|
|
curl -s $ADDR/status > /dev/null
|
|
ERR=$?
|
|
done
|
|
|
|
# send a bunch of txs over a few blocks
|
|
echo "Node is up, sending txs"
|
|
for i in $(seq 1 5); do
|
|
for _ in $(seq 1 100); do
|
|
tx=$(head -c 8 /dev/urandom | hexdump -ve '1/1 "%.2X"')
|
|
curl -s "$ADDR/broadcast_tx_async?tx=0x$tx" &> /dev/null
|
|
done
|
|
echo "sent 100"
|
|
sleep 1
|
|
done
|