From 56a5a5570055208b5b791d0e11a49cf43a4a332e Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 1 Aug 2018 13:31:02 -0400 Subject: ... --- include/hotstuff/hotstuff.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/hotstuff') 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; using CmdFetchContext = FetchContext; - using conn_t = PeerNetwork::conn_t; + using Conn = PeerNetwork::Conn; friend BlockFetchContext; friend CmdFetchContext; @@ -166,13 +166,13 @@ class HotStuffBase: public HotStuffCore { void on_deliver_blk(const block_t &blk); /** deliver consensus message: */ - inline void propose_handler(MsgPropose &&, conn_t); + inline void propose_handler(MsgPropose &&, Conn &); /** deliver consensus message: */ - 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; -- cgit v1.2.3