aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/net.h b/src/net.h
index 21864e73d1..0eb430a8bf 100644
--- a/src/net.h
+++ b/src/net.h
@@ -610,6 +610,7 @@ public:
CCriticalSection cs_vProcessMsg;
std::list<CNetMessage> vProcessMsg;
+ size_t nProcessQueueSize;
std::deque<CInv> vRecvGetData;
std::list<CNetMessage> vRecvMsg;
@@ -650,6 +651,7 @@ public:
const NodeId id;
const uint64_t nKeyedNetGroup;
+ std::atomic_bool fPauseRecv;
protected:
mapMsgCmdSize mapSendBytesPerMsgCmd;
@@ -744,15 +746,6 @@ public:
}
// requires LOCK(cs_vRecvMsg)
- unsigned int GetTotalRecvSize()
- {
- unsigned int total = 0;
- BOOST_FOREACH(const CNetMessage &msg, vRecvMsg)
- total += msg.vRecv.size() + 24;
- return total;
- }
-
- // requires LOCK(cs_vRecvMsg)
bool ReceiveMsgBytes(const char *pch, unsigned int nBytes, bool& complete);
void SetRecvVersion(int nVersionIn)