diff options
| author | James O'Beirne <[email protected]> | 2018-10-08 22:19:56 -0400 |
|---|---|---|
| committer | James O'Beirne <[email protected]> | 2018-10-16 13:04:42 -0400 |
| commit | b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a (patch) | |
| tree | 9b90d65e9d3586d0aca2743c40449b66320f8b84 /src/httpserver.cpp | |
| parent | Merge #14385: depends: qt: avoid system harfbuzz and bz2 (diff) | |
| download | discoin-b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a.tar.xz discoin-b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a.zip | |
doc: add comment explaining recentRejects-DoS behavior
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.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions