From e71c51b27d420fbd6cc0a36f62e63e190e13473a Mon Sep 17 00:00:00 2001 From: Shashwat Date: Sat, 29 Jan 2022 18:58:07 +0530 Subject: refactor: rename command -> message type in comments in the src/net* files Co-authored-by: Sebastian Falbesoner --- src/net.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index b5b1e82f79..88efa4a248 100644 --- a/src/net.h +++ b/src/net.h @@ -234,7 +234,7 @@ extern Mutex g_maplocalhost_mutex; extern std::map mapLocalHost GUARDED_BY(g_maplocalhost_mutex); extern const std::string NET_MESSAGE_TYPE_OTHER; -typedef std::map mapMsgTypeSize; //command, total bytes +using mapMsgTypeSize = std::map; class CNodeStats { @@ -298,7 +298,7 @@ public: /** The TransportDeserializer takes care of holding and deserializing the * network receive buffer. It can deserialize the network buffer into a - * transport protocol agnostic CNetMessage (command & payload) + * transport protocol agnostic CNetMessage (message type & payload) */ class TransportDeserializer { public: -- cgit v1.2.3