diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-11-07 14:59:33 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-07 14:59:35 -0500 |
commit | 11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1 (patch) | |
tree | c9f0a8d3a2c862b8b2d1a86fa8244eedbd5da45d /src/Makefile.qt.include | |
parent | d26d15c6c89ad02c0a951d5242bcdd3f29096a31 (diff) | |
parent | b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a (diff) | |
download | bitcoin-11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1.tar.xz |
Merge #14436: doc: add comment explaining recentRejects-DoS behavior
b191c7dfb7 doc: add comment explaining recentRejects-DoS behavior (James O'Beirne)
Pull request description:
When we receive invalid txs for the first time, we mark the sender as
misbehaving. If we receive the same tx before a new block is seen, we *don't*
punish the second sender (in the same way we do the original sender). It wasn't
initially clear to me that this is intentional, so add a clarifying comment.
Tree-SHA512: d12c674db137ed3ad83e0b941bffe6ddcd2982238048742afa574a4235881f0e58cfc0a4a576a0503e74c5c5240c270b9520fa30221e8b43a371fb3e0b37066b
Diffstat (limited to 'src/Makefile.qt.include')
0 files changed, 0 insertions, 0 deletions