From a32f1af24dbc7e5d3da51d174532eaa923cd4f26 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 9 May 2019 22:08:54 -0400 Subject: support both two-step and three-step HotStuff --- include/hotstuff/consensus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 hqc; + block_t block; /**< locked block */ block_t bexec; /**< last executed block */ uint32_t vheight; /**< height of the block last voted for */ /* === auxilliary variables === */ -- cgit v1.2.3-70-g09d2