From a95e4362fa197b44138616c8e1c8a05d192b0a82 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 15 Aug 2018 13:52:48 -0400 Subject: ... --- README.rst | 5 +++++ src/hotstuff_app.cpp | 2 ++ 2 files changed, 7 insertions(+) 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: -- cgit v1.2.3-70-g09d2