diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-14 08:32:12 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-14 08:32:35 +0200 |
commit | 57b34599b2deb179ff1bd97ffeab91ec9f904d85 (patch) | |
tree | 2916f0c5cc5ab3ef6edb5e3c47e99826a6950a33 /src | |
parent | fa7caf6d9116c35433a2069174f4c66f051d52ba (diff) | |
parent | 1b6bcdd3aa379a50c960e23d7c55db8294e76f7f (diff) | |
download | bitcoin-57b34599b2deb179ff1bd97ffeab91ec9f904d85.tar.xz |
Merge #8712: Remove maxuploadtargets recommended minimum
1b6bcdd Remove maxuploadtargets recommended minimum (Jonas Schnelli)
Diffstat (limited to 'src')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net.cpp b/src/net.cpp index b39ef9f54a..888ed44377 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2362,11 +2362,7 @@ void CConnman::RecordBytesSent(uint64_t bytes) void CConnman::SetMaxOutboundTarget(uint64_t limit) { LOCK(cs_totalBytesSent); - uint64_t recommendedMinimum = (nMaxOutboundTimeframe / 600) * MAX_BLOCK_SERIALIZED_SIZE; nMaxOutboundLimit = limit; - - if (limit > 0 && limit < recommendedMinimum) - LogPrintf("Max outbound target is very small (%s bytes) and will be overshot. Recommended minimum is %s bytes.\n", nMaxOutboundLimit, recommendedMinimum); } uint64_t CConnman::GetMaxOutboundTarget() |