aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJames O'Beirne <[email protected]>2018-10-08 22:19:56 -0400
committerJames O'Beirne <[email protected]>2018-10-16 13:04:42 -0400
commitb191c7dfb7ede3f74edb3a32b8ac6fa2f4d6b78a (patch)
tree9b90d65e9d3586d0aca2743c40449b66320f8b84 /src/httpserver.cpp
parentMerge #14385: depends: qt: avoid system harfbuzz and bz2 (diff)
downloaddiscoin-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