From c4d3e5fe66568ccd0732edf7cf80d37959d6abda Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 10 Sep 2018 20:49:34 -0400 Subject: let client send cmd data, the replicas should only work on the hash --- include/hotstuff/consensus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/hotstuff/consensus.h') 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 &cmds, + void on_propose(const std::vector &cmds, const std::vector &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 -- cgit v1.2.3