aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-12-31 02:05:21 -0500
committerCory Fields <[email protected]>2017-01-12 23:05:09 -0500
commitef7b5ecbb73e9fd3670494c99cfc13ccf3574170 (patch)
tree9976c03d3c259e0b24a1313453b806c674049655 /src/net.h
parentnet: record bytes written before notifying the message processor (diff)
downloaddiscoin-ef7b5ecbb73e9fd3670494c99cfc13ccf3574170.tar.xz
discoin-ef7b5ecbb73e9fd3670494c99cfc13ccf3574170.zip
net: Add a simple function for waking the message handler
This may be used publicly in the future
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 6c12171bf..cc79cce85 100644
--- a/src/net.h
+++ b/src/net.h
@@ -341,6 +341,8 @@ private:
void ThreadSocketHandler();
void ThreadDNSAddressSeed();
+ void WakeMessageHandler();
+
uint64_t CalculateKeyedNetGroup(const CAddress& ad);
CNode* FindNode(const CNetAddr& ip);