aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/hotstuff.h
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-08-03 16:58:55 -0400
committerDeterminant <tederminant@gmail.com>2018-08-03 16:58:55 -0400
commit745cb7a88baec540386f57edac7c84db889d63eb (patch)
tree4ac7a2f23859f73719ab7ae748a27cd94644e017 /include/hotstuff/hotstuff.h
parent7d5b607f5e4efc4ab12a5cce49bd8198d8d03fe6 (diff)
add pace maker option
Diffstat (limited to 'include/hotstuff/hotstuff.h')
-rw-r--r--include/hotstuff/hotstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h
index 41c83b4..b0a6827 100644
--- a/include/hotstuff/hotstuff.h
+++ b/include/hotstuff/hotstuff.h
@@ -128,7 +128,6 @@ class HotStuffBase: public HotStuffCore {
size_t blk_size;
/** libevent handle */
EventContext eb;
- pacemaker_bt pmaker;
private:
/** whether libevent handle is owned by itself */
@@ -138,6 +137,7 @@ class HotStuffBase: public HotStuffCore {
#ifdef HOTSTUFF_BLK_PROFILE
BlockProfiler blk_profiler;
#endif
+ pacemaker_bt pmaker;
/* queues for async tasks */
std::unordered_map<const uint256_t, BlockFetchContext> blk_fetch_waiting;
std::unordered_map<const uint256_t, BlockDeliveryContext> blk_delivery_waiting;