From 88f2ebc8ab988d29c892661367e200e41a0c2723 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 11 Jan 2021 21:09:12 -0500 Subject: WIP: try always forwad vote to the next proposer --- scripts/run_demo.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') 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 & -- cgit v1.2.3-70-g09d2