aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-14 18:07:54 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-14 18:07:54 -0500
commitdc48cdc998fde44dc744711e6e5920be73f74a36 (patch)
tree3b8f6085b93e060ad2d75cbc8b8deedff581910e /src/cryptonote_basic
parentMerge pull request #5834 (diff)
parentban peers sending bad pow outright (diff)
downloadmonero-dc48cdc998fde44dc744711e6e5920be73f74a36.tar.xz
Merge pull request #5933
3455efa ban peers sending bad pow outright (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/verification_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_basic/verification_context.h b/src/cryptonote_basic/verification_context.h
index 3d7200fae..f5f663464 100644
--- a/src/cryptonote_basic/verification_context.h
+++ b/src/cryptonote_basic/verification_context.h
@@ -58,5 +58,6 @@ namespace cryptonote
bool m_marked_as_orphaned;
bool m_already_exists;
bool m_partial_block_reward;
+ bool m_bad_pow; // if bad pow, bad peer outright for DoS protection
};
}