aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-12-31 02:05:09 -0500
committerCory Fields <cory-nospam-@coryfields.com>2017-01-04 09:29:14 -0500
commit5b4a8ac6d6b4d8e17b448f2b4927025fb352f7af (patch)
tree604fcf4cf30779e23783c3e57fe19754226af0e0 /src/net.h
parente5bcd9c84fd3107321ff6dbdef067ba03f2b43cb (diff)
net: make GetReceiveFloodSize public
This will be needed so that the message processor can cork incoming messages
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index f346b07357..a11165c7e3 100644
--- a/src/net.h
+++ b/src/net.h
@@ -324,6 +324,7 @@ public:
/** Get a unique deterministic randomizer. */
CSipHasher GetDeterministicRandomizer(uint64_t id);
+ unsigned int GetReceiveFloodSize() const;
private:
struct ListenSocket {
SOCKET socket;
@@ -365,8 +366,6 @@ private:
void DumpData();
void DumpBanlist();
- unsigned int GetReceiveFloodSize() const;
-
// Network stats
void RecordBytesRecv(uint64_t bytes);
void RecordBytesSent(uint64_t bytes);