aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/consensus.h
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-10 20:50:26 -0400
committerDeterminant <[email protected]>2018-09-10 20:50:26 -0400
commit570f335740f152e8042d717b0bf39f2e6cc5effa (patch)
treed21fffc5209fad03bc5ac81f4fee3d3e887dac22 /include/hotstuff/consensus.h
parent8d5449339d3dacc31c614e27669ce6eb9eb11960 (diff)
parentc4d3e5fe66568ccd0732edf7cf80d37959d6abda (diff)
Merge branch 'master' of /home/ymf/lwork/hot-stuff/code
Diffstat (limited to 'include/hotstuff/consensus.h')
-rw-r--r--include/hotstuff/consensus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hotstuff/consensus.h b/include/hotstuff/consensus.h
index 9e2558c..e8f9765 100644
--- a/include/hotstuff/consensus.h
+++ b/include/hotstuff/consensus.h
@@ -84,7 +84,7 @@ class HotStuffCore {
/** Call to submit new commands to be decided (executed). "Parents" must
* contain at least one block, and the first block is the actual parent,
* while the others are uncles/aunts */
- void on_propose(const std::vector<command_t> &cmds,
+ void on_propose(const std::vector<uint256_t> &cmds,
const std::vector<block_t> &parents,
bytearray_t &&extra = bytearray_t());
@@ -118,7 +118,7 @@ class HotStuffCore {
/** Create a quorum certificate from its serialized form. */
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;
+ //virtual command_t parse_cmd(DataStream &s) = 0;
public:
/** Add a replica to the current configuration. This should only be called