diff options
author | Adam Weiss <adam@signal11.com> | 2014-12-18 18:28:29 -0500 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-12-23 12:36:26 +0100 |
commit | d10a9015ad324d03664ccbccfd23953733c6dc59 (patch) | |
tree | 78c8c7bf39de95c191a891c657898068f73d2ec5 /src/bloom.cpp | |
parent | 15ad0b54fab09d31ab7171b83ef58fa4c5f4aea9 (diff) |
DOS: Respect max per-peer blocks in flight limit
Don't allow immediate inv driven block downloads if
a peer already has MAX_BLOCKS_IN_TRANSIT_PER_PEER
active downloads. Prevents bogus inv spam from
blowing up block transfer tracking data structures.
Rebased-From: c90770430d7c1eb7ece2d4ddb987b0f2210fd86f
Github-Pull: #5507
Diffstat (limited to 'src/bloom.cpp')
0 files changed, 0 insertions, 0 deletions