diff options
author | Determinant <[email protected]> | 2018-08-01 13:31:02 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-08-01 13:31:02 -0400 |
commit | 56a5a5570055208b5b791d0e11a49cf43a4a332e (patch) | |
tree | db5dff2b41ab72dd69a188943f551b3fb331c75c /include/hotstuff/hotstuff.h | |
parent | 207f82c78270ab7d3dbdd84c0b90aed1d5060b00 (diff) |
...
Diffstat (limited to 'include/hotstuff/hotstuff.h')
-rw-r--r-- | include/hotstuff/hotstuff.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h index 287cbac..41c83b4 100644 --- a/include/hotstuff/hotstuff.h +++ b/include/hotstuff/hotstuff.h @@ -116,7 +116,7 @@ class BlockDeliveryContext: public promise_t { class HotStuffBase: public HotStuffCore { using BlockFetchContext = FetchContext<ENT_TYPE_BLK>; using CmdFetchContext = FetchContext<ENT_TYPE_CMD>; - using conn_t = PeerNetwork<opcode_t>::conn_t; + using Conn = PeerNetwork<opcode_t>::Conn; friend BlockFetchContext; friend CmdFetchContext; @@ -166,13 +166,13 @@ class HotStuffBase: public HotStuffCore { void on_deliver_blk(const block_t &blk); /** deliver consensus message: <propose> */ - inline void propose_handler(MsgPropose &&, conn_t); + inline void propose_handler(MsgPropose &&, Conn &); /** deliver consensus message: <vote> */ - inline void vote_handler(MsgVote &&, conn_t); + inline void vote_handler(MsgVote &&, Conn &); /** fetches full block data */ - inline void req_blk_handler(MsgReqBlock &&, conn_t); + inline void req_blk_handler(MsgReqBlock &&, Conn &); /** receives a block */ - inline void resp_blk_handler(MsgRespBlock &&, conn_t); + inline void resp_blk_handler(MsgRespBlock &&, Conn &); void do_broadcast_proposal(const Proposal &) override; void do_vote(ReplicaID, const Vote &) override; |