diff options
author | Determinant <[email protected]> | 2019-05-09 22:08:54 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-05-09 22:08:54 -0400 |
commit | a32f1af24dbc7e5d3da51d174532eaa923cd4f26 (patch) | |
tree | 6581a1fb54fe3d274c76dddc59fb845273b16945 /include | |
parent | 0ec28b0d659836a5fb32702cdee8c3433727f48f (diff) |
support both two-step and three-step HotStuff
Diffstat (limited to 'include')
-rw-r--r-- | include/hotstuff/consensus.h | 1 |
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 === */ |