diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-09-13 18:08:17 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-26 16:43:28 +0200 |
commit | 23feab1f38cd63f55631a1b5125ef1bd5ce049df (patch) | |
tree | e2e66bc2a81e50888469566559246f9f6477be22 /src/net.cpp | |
parent | a5ec2483235d5585e985715a5f66d41dbe1c424e (diff) | |
download | bitcoin-23feab1f38cd63f55631a1b5125ef1bd5ce049df.tar.xz |
Remove maxuploadtargets recommended minimum
Github-Pull: #8712
Rebased-From: 1b6bcdd3aa379a50c960e23d7c55db8294e76f7f
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 a0ab544f5f..5e38ec0779 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2226,11 +2226,7 @@ void CNode::RecordBytesSent(uint64_t bytes) void CNode::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 CNode::GetMaxOutboundTarget() |