aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/util.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-31 13:24:14 -0400
committerDeterminant <[email protected]>2018-07-31 13:24:14 -0400
commit6131c5e5cc1e83fdbfbc8fc4ce419765ba3d180a (patch)
treef49440a55b84391029516ebd4de28cb266880c8b /include/hotstuff/util.h
parentec6a1f84324faf8e7c92f32137464db57410f58a (diff)
add cmake options
Diffstat (limited to 'include/hotstuff/util.h')
-rw-r--r--include/hotstuff/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hotstuff/util.h b/include/hotstuff/util.h
index 2b02cfd..99b5ea4 100644
--- a/include/hotstuff/util.h
+++ b/include/hotstuff/util.h
@@ -13,12 +13,12 @@ class Logger: public salticidae::Logger {
extern Logger logger;
-#ifdef HOTSTUFF_ENABLE_DEBUG_LOG
+#ifdef HOTSTUFF_DEBUG_LOG
#define HOTSTUFF_NORMAL_LOG
#define HOTSTUFF_ENABLE_LOG_DEBUG
#endif
-#ifdef HOTSTUFF_ENABLE_NORMAL_LOG
+#ifdef HOTSTUFF_NORMAL_LOG
#define HOTSTUFF_ENABLE_LOG_INFO
#define HOTSTUFF_ENABLE_LOG_WARN
#endif
@@ -43,7 +43,7 @@ extern Logger logger;
#define HOTSTUFF_LOG_ERROR(...) hotstuff::logger.error(__VA_ARGS__)
-#ifdef HOTSTUFF_ENABLE_BLK_PROFILE
+#ifdef HOTSTUFF_BLK_PROFILE
class BlockProfiler {
enum BlockState {
BLK_SEEN,