diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2018-10-08 22:19:56 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2018-10-16 13:04:42 -0400 |
commit | b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a (patch) | |
tree | 9b90d65e9d3586d0aca2743c40449b66320f8b84 /src/script | |
parent | 4de0b5f39cc35636d499ad29ee3c63384b13fc76 (diff) |
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/script')
0 files changed, 0 insertions, 0 deletions