diff options
| author | MarcoFalke <[email protected]> | 2018-11-07 14:59:33 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-11-07 14:59:35 -0500 |
| commit | 11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1 (patch) | |
| tree | c9f0a8d3a2c862b8b2d1a86fa8244eedbd5da45d /src/httpserver.cpp | |
| parent | Merge #14365: tests: Add Python dead code linter (vulture) to Travis (diff) | |
| parent | doc: add comment explaining recentRejects-DoS behavior (diff) | |
| download | discoin-11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1.tar.xz discoin-11e1ac3ae08535cefbd8235a8deb6cd100bcb2b1.zip | |
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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions