From 5b4a8ac6d6b4d8e17b448f2b4927025fb352f7af Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Sat, 31 Dec 2016 02:05:09 -0500 Subject: [PATCH] net: make GetReceiveFloodSize public This will be needed so that the message processor can cork incoming messages --- src/net.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net.h b/src/net.h index f346b0735..a11165c7e 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);