diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-13 18:08:17 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-13 18:08:17 +0200 |
commit | 1b6bcdd3aa379a50c960e23d7c55db8294e76f7f (patch) | |
tree | 2916f0c5cc5ab3ef6edb5e3c47e99826a6950a33 /src | |
parent | fa7caf6d9116c35433a2069174f4c66f051d52ba (diff) |
Remove maxuploadtargets recommended minimum
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() |