aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2021-01-11 21:09:12 -0500
committerDeterminant <[email protected]>2021-01-11 21:09:12 -0500
commit88f2ebc8ab988d29c892661367e200e41a0c2723 (patch)
tree72780c1ab3a54f05fa89499a29e4dbe189ca8dba /scripts
parentab664de430604433703fc77fb0bba10f475a1248 (diff)
WIP: try always forwad vote to the next proposer
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run_demo.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_demo.sh b/scripts/run_demo.sh
index 0ad462e..bda33cf 100755
--- a/scripts/run_demo.sh
+++ b/scripts/run_demo.sh
@@ -3,6 +3,11 @@ rep=({0..3})
if [[ $# -gt 0 ]]; then
rep=($@)
fi
+
+# avoid stack overflow as in our simple demo the bootstrapping replica will
+# potentially have a long chain of promise resolution
+ulimit -s unlimited
+
for i in "${rep[@]}"; do
echo "starting replica $i"
#valgrind --leak-check=full ./examples/hotstuff-app --conf hotstuff-sec${i}.conf > log${i} 2>&1 &