diff options
author | Determinant <ted.sybil@gmail.com> | 2020-02-25 16:53:27 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2020-02-25 16:53:27 -0500 |
commit | ab5b9793e80c7235707eb33c67c92d55d8d18cca (patch) | |
tree | eb1117f58eee02adc5dc6fef2c7ec05e90e6ce10 /README.rst | |
parent | 601fe38247a8232694a3c9af282c179e6ad1720d (diff) |
add a faulty leader example
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -58,7 +58,16 @@ section may be incomplete and subject to changes. cd libhotstuff/ git submodule update --init --recursive - # ensure openssl and libevent are installed on your machine + # ensure openssl and libevent are installed on your machine, more + # specifically, you need: + # + # CMake >= 3.9 (cmake) + # C++14 (g++) + # libuv >= 1.10.0 (libuv1-dev) + # openssl >= 1.1.0 (libssl-dev) + # + # on Ubuntu: sudo apt-get install libssl-dev libuv1-dev cmake make + cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DHOTSTUFF_PROTO_LOG=ON make @@ -67,10 +76,12 @@ section may be incomplete and subject to changes. # Fault tolerance: - # Try to run run_demo.sh first and then run_demo_client.sh, then use Ctrl-C - # to terminate the proposing replica (e.g. replica 0). Leader rotation will - # be scheduled. Try to kill and run run_demo_client.sh again, new commands - # should still get through (be replicated) once the new leader becomes stable. + # Try to run the replicas as in run_demo.sh first and then run_demo_client.sh. + # Use Ctrl-C to terminate the proposing replica (e.g. replica 0). Leader + # rotation will be scheduled. Try to kill and run run_demo_client.sh again, new + # commands should still get through (be replicated) once the new leader becomes + # stable. Or try the following script: + # scripts/faulty_leader_demo.sh TODO ==== |