aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/consensus.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-08-03 20:14:42 -0400
committerDeterminant <[email protected]>2018-08-03 20:14:42 -0400
commit086e37788e16ddf62c0676a223002a3ea1b6d2e0 (patch)
treeee222cc3f81ac2f1bb6539d33111f70b62bbbaa9 /include/hotstuff/consensus.h
parentedcadfb47b736e6c9dd6b078689114aecf5c1add (diff)
...
Diffstat (limited to 'include/hotstuff/consensus.h')
-rw-r--r--include/hotstuff/consensus.h4
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