diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-04-18 21:33:54 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-09-08 12:24:06 -0400 |
commit | ee44fa95761724a83a76dd862a36bd9af0fc021f (patch) | |
tree | ea026cedd0635c5d424041536c83f84a3b12ec8a /src/net.h | |
parent | 960cf2e4058a9c195bf64e1aecb46024f9ef022a (diff) |
net: move messageHandlerCondition to CConnman
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -228,6 +228,7 @@ private: std::vector<CNode*> vNodes; mutable CCriticalSection cs_vNodes; std::atomic<NodeId> nLastNodeId; + boost::condition_variable messageHandlerCondition; }; extern std::unique_ptr<CConnman> g_connman; void MapPort(bool fUseUPnP); @@ -550,7 +551,7 @@ public: } // requires LOCK(cs_vRecvMsg) - bool ReceiveMsgBytes(const char *pch, unsigned int nBytes); + bool ReceiveMsgBytes(const char *pch, unsigned int nBytes, bool& complete); // requires LOCK(cs_vRecvMsg) void SetRecvVersion(int nVersionIn) |