diff options
Diffstat (limited to 'include/hotstuff/consensus.h')
-rw-r--r-- | include/hotstuff/consensus.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hotstuff/consensus.h b/include/hotstuff/consensus.h index 85c1e8c..a99e6af 100644 --- a/include/hotstuff/consensus.h +++ b/include/hotstuff/consensus.h @@ -81,7 +81,7 @@ class HotStuffCore { * while the others are uncles/aunts */ void on_propose(const std::vector<command_t> &cmds, const std::vector<block_t> &parents, - serializable_bt &&extra = nullptr); + bytearray_t &&extra = bytearray_t()); /* Functions required to construct concrete instances for abstract classes. * */ @@ -114,8 +114,6 @@ class HotStuffCore { virtual quorum_cert_bt parse_quorum_cert(DataStream &s) = 0; /** Create a command object from its serialized form. */ virtual command_t parse_cmd(DataStream &s) = 0; - /** Create the extra data from its serialized form. */ - virtual serializable_bt parse_extra_block_data(DataStream &) { return nullptr; } public: /** Add a replica to the current configuration. This should only be called |