aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2018-08-15 13:52:48 -0400
committerDeterminant <ted.sybil@gmail.com>2018-08-15 13:52:48 -0400
commita95e4362fa197b44138616c8e1c8a05d192b0a82 (patch)
tree6b821a53dbc9c51fc2dff62b11607c3d4c0d42a7
parente41eef9d19fe3a3ab9b158c985b180a3f76f93f7 (diff)
...
-rw-r--r--README.rst5
-rw-r--r--src/hotstuff_app.cpp2
2 files changed, 7 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 4eaffdf..57db10e 100644
--- a/README.rst
+++ b/README.rst
@@ -38,6 +38,11 @@ section may be incomplete and subject to changes.
::
+ # clone from the repo
+ git clone https://github.com/Determinant/hot-stuff.git
+ cd hot-stuff/
+ git submodule update --recursive
+
# ensure openssl and libevent are installed on your machine
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DHOTSTUFF_PROTO_LOG=ON
make
diff --git a/src/hotstuff_app.cpp b/src/hotstuff_app.cpp
index 3b65649..622cd0b 100644
--- a/src/hotstuff_app.cpp
+++ b/src/hotstuff_app.cpp
@@ -75,7 +75,9 @@ class HotStuffApp: public HotStuff {
}
void state_machine_execute(const Finality &fin) override {
+#ifndef HOTSTUFF_ENABLE_BENCHMARK
LOG_INFO("replicated %s", std::string(fin).c_str());
+#endif
}
public: