diff options
author | Determinant <ted.sybil@gmail.com> | 2019-05-08 15:23:47 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-05-08 15:23:47 -0400 |
commit | 4661ecc2ae1684cc02bde22215200e05b15ed4d7 (patch) | |
tree | ecdf720754f4cf2d8081203bb3a2ad2484c433e6 /include/hotstuff/client.h | |
parent | 8e0a449961a7d78546dd09deb20f3b16bb460988 (diff) |
reintroduce client confirms
Diffstat (limited to 'include/hotstuff/client.h')
-rw-r--r-- | include/hotstuff/client.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/hotstuff/client.h b/include/hotstuff/client.h index 37a3a17..1c15ee9 100644 --- a/include/hotstuff/client.h +++ b/include/hotstuff/client.h @@ -50,15 +50,15 @@ struct MsgRespCmd { } }; -#ifdef HOTSTUFF_AUTOCLI -struct MsgDemandCmd { - static const opcode_t opcode = 0x6; - DataStream serialized; - size_t ncmd; - MsgDemandCmd(size_t ncmd) { serialized << ncmd; } - MsgDemandCmd(DataStream &&s) { s >> ncmd; } -}; -#endif +//#ifdef HOTSTUFF_AUTOCLI +//struct MsgDemandCmd { +// static const opcode_t opcode = 0x6; +// DataStream serialized; +// size_t ncmd; +// MsgDemandCmd(size_t ncmd) { serialized << ncmd; } +// MsgDemandCmd(DataStream &&s) { s >> ncmd; } +//}; +//#endif class CommandDummy: public Command { uint32_t cid; |