diff options
| author | Jonas Schnelli <[email protected]> | 2016-09-14 08:32:12 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-09-14 08:32:35 +0200 |
| commit | 57b34599b2deb179ff1bd97ffeab91ec9f904d85 (patch) | |
| tree | 2916f0c5cc5ab3ef6edb5e3c47e99826a6950a33 /src/net.cpp | |
| parent | Merge #8693: add witness address to address book (diff) | |
| parent | Remove maxuploadtargets recommended minimum (diff) | |
| download | discoin-57b34599b2deb179ff1bd97ffeab91ec9f904d85.tar.xz discoin-57b34599b2deb179ff1bd97ffeab91ec9f904d85.zip | |
Merge #8712: Remove maxuploadtargets recommended minimum
1b6bcdd Remove maxuploadtargets recommended minimum (Jonas Schnelli)
Diffstat (limited to 'src/net.cpp')
| -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 b39ef9f54..888ed4437 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() |