aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2016-05-27 00:00:02 -0400
committerCory Fields <[email protected]>2016-09-08 13:06:00 -0400
commitfa2f8bc47fa17deccb281b750ff6c48402c5b1ce (patch)
tree1d46e25e4ceb8401d6b373f40fea839de2980fa9 /src/net.h
parentnet: Introduce CConnection::Options to avoid passing so many params (diff)
downloaddiscoin-fa2f8bc47fa17deccb281b750ff6c48402c5b1ce.tar.xz
discoin-fa2f8bc47fa17deccb281b750ff6c48402c5b1ce.zip
net: add nSendBufferMaxSize/nReceiveFloodSize to CConnection::Options
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 8067ee68a..a50066da9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -117,6 +117,8 @@ public:
int nMaxOutbound = 0;
int nBestHeight = 0;
CClientUIInterface* uiInterface = nullptr;
+ unsigned int nSendBufferMaxSize = 0;
+ unsigned int nReceiveFloodSize = 0;
};
CConnman();
~CConnman();