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 --- src/client.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 7827b7c..368f746 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -3,13 +3,6 @@ namespace hotstuff { const opcode_t MsgReqCmd::opcode; -MsgReqCmd::MsgReqCmd(const Command &cmd) { serialized << cmd; } -void MsgReqCmd::postponed_parse(HotStuffCore *hsc) { - cmd = hsc->parse_cmd(serialized); -} - const opcode_t MsgRespCmd::opcode; -MsgRespCmd::MsgRespCmd(const Finality &fin) { serialized << fin; } -MsgRespCmd::MsgRespCmd(DataStream &&s) { s >> fin; } } -- cgit v1.2.3-70-g09d2