mirror of
https://github.com/monero-project/monero.git
synced 2026-01-09 03:41:14 -08:00
ban peers sending bad pow outright
PoW is expensive to verify, so be strict
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user