mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
net: make GetReceiveFloodSize public
This will be needed so that the message processor can cork incoming messages
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user