aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/hotstuff.h
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-04-17 14:54:24 -0400
committerDeterminant <ted.sybil@gmail.com>2019-04-17 14:54:24 -0400
commitcbfda8ccc88789cd3c83c63b6e18693e7dea718d (patch)
tree98e114ecc4f923f7e435c7ab94524e512e94fc14 /include/hotstuff/hotstuff.h
parentd859aa2cd2db03ef66f305a265ae908ef41d6a72 (diff)
support auto client command for evaluation
Diffstat (limited to 'include/hotstuff/hotstuff.h')
-rw-r--r--include/hotstuff/hotstuff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h
index 10dcb84..03e5528 100644
--- a/include/hotstuff/hotstuff.h
+++ b/include/hotstuff/hotstuff.h
@@ -217,6 +217,9 @@ class HotStuffBase: public HotStuffCore {
size_t size() const { return peers.size(); }
PaceMaker &get_pace_maker() { return *pmaker; }
void print_stat() const;
+#ifdef HOTSTUFF_AUTOCLI
+ virtual void do_demand_commands(size_t) {}
+#endif
/* Helper functions */
/** Returns a promise resolved (with command_t cmd) when Command is fetched. */