diff options
author | Suhas Daftuar <sdaftuar@chaincode.com> | 2016-07-26 16:50:48 -0400 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-07-29 08:27:57 +0200 |
commit | b7e201181bcc0f6328e0a499803f1dbb2c2dbd28 (patch) | |
tree | bc8796f62d43cf296cd9ca651dee5f26e999043e /src/test/blockencodings_tests.cpp | |
parent | 8360d5b37dd4d8248da0552de40e5ea1d17f51eb (diff) |
Prevent fingerprinting, disk-DoS with compact blocks
- Ignore GETBLOCKTXN requests for unknown blocks
Don't disconnect peers, or else we leak information that could be
used for fingerprinting.
- Ignore CMPCTBLOCK messages for pruned blocks
Also ignores CMPCTBLOCK announcements that have too little work. This is to
prevent disk-exhaustion DoS.
Github-Pull: #8408
Rebased-From: 1de2a46632946990a7863020b61172232f8c5796 1d06e49834814eed45e07393dcffd7b6683311b2
Diffstat (limited to 'src/test/blockencodings_tests.cpp')
0 files changed, 0 insertions, 0 deletions