From 45676e4f7fb06aed85235ed8d00deea9a622596f Mon Sep 17 00:00:00 2001 From: MarkPfennig Date: Wed, 18 Feb 2015 14:20:45 +0000 Subject: [PATCH] set MAX_ADDR_TO_SEND to 1000 --- src/net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net.h b/src/net.h index 54a073519b..684ccba829 100644 --- a/src/net.h +++ b/src/net.h @@ -41,6 +41,8 @@ namespace boost { static const unsigned int MAX_INV_SZ = 50000; /** The maximum number of entries in mapAskFor */ static const size_t MAPASKFOR_MAX_SZ = MAX_INV_SZ; +/** The maximum number of new addresses to accumulate before announcing. */ +static const unsigned int MAX_ADDR_TO_SEND = 1000; inline unsigned int ReceiveFloodSize() { return 1000*GetArg("-maxreceivebuffer", 5*1000); } inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 1*1000); }