diff options
author | Determinant <ted.sybil@gmail.com> | 2019-07-06 19:01:33 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-07-06 19:01:33 -0400 |
commit | 7a52e54b14eed096acce1c224ab46626f7c8cbaf (patch) | |
tree | fac3fd58092cc50fc7168ff5febbdd688015c6c8 /include/hotstuff/hotstuff.h | |
parent | 24b6cea7be8b78eaa3681d6274d671057ed112b5 (diff) |
...
Diffstat (limited to 'include/hotstuff/hotstuff.h')
-rw-r--r-- | include/hotstuff/hotstuff.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h index 291f9a7..07f69d9 100644 --- a/include/hotstuff/hotstuff.h +++ b/include/hotstuff/hotstuff.h @@ -224,10 +224,11 @@ class HotStuffBase: public HotStuffCore { bool ec_loop = false); size_t size() const { return peers.size(); } - auto get_decision_waiting() const { return decision_waiting; } + const auto &get_decision_waiting() const { return decision_waiting; } + ThreadCall &get_tcall() { return tcall; } PaceMaker *get_pace_maker() { return pmaker.get(); } void print_stat() const; - virtual void do_elected(); + virtual void do_elected() {} //#ifdef HOTSTUFF_AUTOCLI // virtual void do_demand_commands(size_t) {} //#endif |