aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-11 09:23:54 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-11 09:23:57 +0100
commitfaea4c9d2b7162422d1598a7f489ba4cdf9c6919 (patch)
tree0272fdbadda3fe53ca19f64ea45126201364e141
parent7d746bdd1829584d7640a9afbacfe9cf76eeb293 (diff)
parent2f97c1180b7eba2c48683a553ca166eba84e14c6 (diff)
Merge bitcoin/bitcoin#23128: doc: Remove TODO 'exclude peers with download permission'
2f97c1180b7eba2c48683a553ca166eba84e14c6 doc: Remove TODO 'exclude peers with download permission' (Douglas Chimento) Pull request description: Following from PR https://github.com/bitcoin/bitcoin/pull/23109 The [TODO](https://github.com/bitcoin/bitcoin/blob/master/src/net.cpp#L2872) is no longer necessary. Removing it to prevent future confusion. Top commit has no ACKs. Tree-SHA512: c2f4c3eae951d13d623e1b4bd9315804ec33473e501367f89edae80fa446674edc71549e145f058fe7126b8588790dc895d6ea3dfb4347ceeca61f5e5f2f95cc
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 2adccce11e..2e2aa9dcef 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -2899,7 +2899,6 @@ void CConnman::RecordBytesSent(uint64_t bytes)
nMaxOutboundTotalBytesSentInCycle = 0;
}
- // TODO, exclude peers with download permission
nMaxOutboundTotalBytesSentInCycle += bytes;
}