aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-10-24 16:24:07 +0800
committerfanquake <fanquake@gmail.com>2020-12-13 10:38:24 +0800
commit2f3f1aec1f8aadd4a6fb08ca5da7eeda31eb388f (patch)
tree7e38a6f0e52b8a325cdafbc1aec91589bf60fbb5 /src/net.cpp
parentade38b6ee8f91e441507c0ee7ffe6ca020748991 (diff)
net: remove SetMaxOutboundTarget
This has been unused since f3552da81393a8e78ce3e2afed0b9c9d1ff5cee0.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 7cb91f1388..519717e46c 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2859,12 +2859,6 @@ void CConnman::RecordBytesSent(uint64_t bytes)
nMaxOutboundTotalBytesSentInCycle += bytes;
}
-void CConnman::SetMaxOutboundTarget(uint64_t limit)
-{
- LOCK(cs_totalBytesSent);
- nMaxOutboundLimit = limit;
-}
-
uint64_t CConnman::GetMaxOutboundTarget()
{
LOCK(cs_totalBytesSent);