aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-05-09 22:08:54 -0400
committerDeterminant <[email protected]>2019-05-09 22:08:54 -0400
commita32f1af24dbc7e5d3da51d174532eaa923cd4f26 (patch)
tree6581a1fb54fe3d274c76dddc59fb845273b16945 /include/hotstuff
parent0ec28b0d659836a5fb32702cdee8c3433727f48f (diff)
support both two-step and three-step HotStuff
Diffstat (limited to 'include/hotstuff')
-rw-r--r--include/hotstuff/consensus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hotstuff/consensus.h b/include/hotstuff/consensus.h
index a59c02f..2752912 100644
--- a/include/hotstuff/consensus.h
+++ b/include/hotstuff/consensus.h
@@ -39,6 +39,7 @@ class HotStuffCore {
/* === state variables === */
/** block containing the QC for the highest block having one */
std::pair<block_t, quorum_cert_bt> hqc;
+ block_t block; /**< locked block */
block_t bexec; /**< last executed block */
uint32_t vheight; /**< height of the block last voted for */
/* === auxilliary variables === */