Can any expert help me understand the need for the following members of CNode
in src/net.h
std::deque<CSerializeData> vSendMsg;
std::deque<CInv> vRecvGetData;
std::deque<CNetMessage> vRecvMsg;
If I understand the source code correct, vRecvMsg is for storing the input messages and vSendMsg is a queue for output messages.
- Why do we have different form of queues [i.e.
CNetMessage
andCSerializeData
] for input and output? - What is the purpose of
vRevGetData
? Can you please help me understand also the concept behind the usage of this ?