aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2018-10-08 22:19:56 -0400
committerJames O'Beirne <james.obeirne@gmail.com>2018-10-16 13:04:42 -0400
commitb191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a (patch)
tree9b90d65e9d3586d0aca2743c40449b66320f8b84 /share
parent4de0b5f39cc35636d499ad29ee3c63384b13fc76 (diff)
downloadbitcoin-b191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a.tar.xz
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 'share')
0 files changed, 0 insertions, 0 deletions