aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/verification_context.h
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/verification_context.h
parent965adff6bce0f911a2c219ac4b39c294667c8740 (diff)
parent3455efafa812d646f2eea42db14b761f34975147 (diff)
downloadmonzero-core-dc48cdc998fde44dc744711e6e5920be73f74a36.tar.gz
monzero-core-dc48cdc998fde44dc744711e6e5920be73f74a36.tar.xz
monzero-core-dc48cdc998fde44dc744711e6e5920be73f74a36.zip
Merge pull request #5933
3455efa ban peers sending bad pow outright (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic/verification_context.h')
-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
};
}