Introduce SendBufferSize() and ReceiveBufferSize(), and limit the blocks sent as response to the "getblocks" message to half of the active send buffer size.
Limit size of response to getblocks #369
pull sipa wants to merge 1 commits into bitcoin:master from sipa:limitblocksend changing 3 files +11 −5-
sipa commented at 7:45 AM on July 1, 2011: member
-
4973174534
Limit response to getblocks to half of output buffer size
Introduce SendBufferSize() and ReceiveBufferSize(), and limit the blocks sent as response to the "getblocks" message to half of the active send buffer size.
- jgarzik referenced this in commit 7fbeca05c9 on Jul 1, 2011
- jgarzik merged this on Jul 1, 2011
- jgarzik closed this on Jul 1, 2011
- classesjack referenced this in commit b8f3837dac on Jan 2, 2018
- lateminer referenced this in commit c28af41752 on Oct 16, 2019
- troygiorshev cross-referenced this on Aug 14, 2020 from issue p2p: Move all header verification into the network layer, extend logging by troygiorshev
- rajarshimaitra referenced this in commit 5492d5006a on Aug 5, 2021
- bitcoin locked this on Sep 8, 2021