Skip to content

Commit 5b4a8ac

Browse files
committed
net: make GetReceiveFloodSize public
This will be needed so that the message processor can cork incoming messages
1 parent e5bcd9c commit 5b4a8ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/net.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ class CConnman
324324
/** Get a unique deterministic randomizer. */
325325
CSipHasher GetDeterministicRandomizer(uint64_t id);
326326

327+
unsigned int GetReceiveFloodSize() const;
327328
private:
328329
struct ListenSocket {
329330
SOCKET socket;
@@ -365,8 +366,6 @@ class CConnman
365366
void DumpData();
366367
void DumpBanlist();
367368

368-
unsigned int GetReceiveFloodSize() const;
369-
370369
// Network stats
371370
void RecordBytesRecv(uint64_t bytes);
372371
void RecordBytesSent(uint64_t bytes);

0 commit comments

Comments
 (0)